PUT v1/{Client}/Matters/{MatterId}/CodeSections/{MatterCodeSectionId}
Updates one Matter Code Section.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Client |
The code of the Client database to connect to. |
string |
Required |
| MatterCodeSectionId |
The MatterCodeSectionId of the Matter Code Section. |
integer |
Required |
| MatterId | string |
None. |
Body Parameters
GranicusMatterCodeSection object to be updated. Note that MatterCodeSectionId is not required to be set.
GranicusMatterCodeSection| Name | Description | Type | Additional 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": "2025-11-17T05:59:02.7670275-05: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>2025-11-17T05:59:02.7670275-05: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 the updated Matter Code Section as a string value when Accept header is "text/plain"; otherwise returns updated Matter Code Section as an object.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |