POST v1/{Client}/Matters/{MatterId}/CodeSections

Adds one Matter Code Section.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

MatterId

string

None.

Body Parameters

GranicusMatterCodeSection object to be inserted. Note that MatterCodeSectionId is not required to be set.

GranicusMatterCodeSection
NameDescriptionTypeAdditional information
MatterCodeSectionId

integer

None.

MatterCodeSectionGuid

string

None.

MatterCodeSectionLastModifiedUtc

date

None.

MatterCodeSectionRowVersion

Collection of byte

None.

MatterCodeSectionMatterId

integer

Required

MatterCodeSectionCodeSectionId

integer

Required

MatterCodeSectionNumber

string

None.

MatterCodeSectionName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MatterCodeSectionId": 1,
  "MatterCodeSectionGuid": "sample string 2",
  "MatterCodeSectionLastModifiedUtc": "2024-04-24T00:59:23.8117201-04:00",
  "MatterCodeSectionRowVersion": "QEA=",
  "MatterCodeSectionMatterId": 4,
  "MatterCodeSectionCodeSectionId": 5,
  "MatterCodeSectionNumber": "sample string 6",
  "MatterCodeSectionName": "sample string 7"
}

application/xml, text/xml

Sample:
<GranicusMatterCodeSection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1">
  <MatterCodeSectionCodeSectionId>5</MatterCodeSectionCodeSectionId>
  <MatterCodeSectionGuid>sample string 2</MatterCodeSectionGuid>
  <MatterCodeSectionId>1</MatterCodeSectionId>
  <MatterCodeSectionLastModifiedUtc>2024-04-24T00:59:23.8117201-04:00</MatterCodeSectionLastModifiedUtc>
  <MatterCodeSectionMatterId>4</MatterCodeSectionMatterId>
  <MatterCodeSectionName>sample string 7</MatterCodeSectionName>
  <MatterCodeSectionNumber>sample string 6</MatterCodeSectionNumber>
  <MatterCodeSectionRowVersion>QEA=</MatterCodeSectionRowVersion>
</GranicusMatterCodeSection>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns Id of a created Matter Code Section as a string value when Accept header is "text/plain"; otherwise returns created Matter Code Section as an object.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.