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

Gets all Matter CodeSections for one Matter record.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

MatterId

The MatterId of the Matter.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of 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.

Response Formats

application/json, text/json

Sample:
[
  {
    "MatterCodeSectionId": 1,
    "MatterCodeSectionGuid": "sample string 2",
    "MatterCodeSectionLastModifiedUtc": "2024-03-28T20:50:43.4473227-04:00",
    "MatterCodeSectionRowVersion": "QEA=",
    "MatterCodeSectionMatterId": 4,
    "MatterCodeSectionCodeSectionId": 5,
    "MatterCodeSectionNumber": "sample string 6",
    "MatterCodeSectionName": "sample string 7"
  },
  {
    "MatterCodeSectionId": 1,
    "MatterCodeSectionGuid": "sample string 2",
    "MatterCodeSectionLastModifiedUtc": "2024-03-28T20:50:43.4473227-04:00",
    "MatterCodeSectionRowVersion": "QEA=",
    "MatterCodeSectionMatterId": 4,
    "MatterCodeSectionCodeSectionId": 5,
    "MatterCodeSectionNumber": "sample string 6",
    "MatterCodeSectionName": "sample string 7"
  }
]

application/xml, text/xml

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

text/javascript, application/javascript, application/json-p

Sample:
([{"MatterCodeSectionId":1,"MatterCodeSectionGuid":"sample string 2","MatterCodeSectionLastModifiedUtc":"2024-03-28T20:50:43.4473227-04:00","MatterCodeSectionRowVersion":"QEA=","MatterCodeSectionMatterId":4,"MatterCodeSectionCodeSectionId":5,"MatterCodeSectionNumber":"sample string 6","MatterCodeSectionName":"sample string 7"},{"MatterCodeSectionId":1,"MatterCodeSectionGuid":"sample string 2","MatterCodeSectionLastModifiedUtc":"2024-03-28T20:50:43.4473227-04:00","MatterCodeSectionRowVersion":"QEA=","MatterCodeSectionMatterId":4,"MatterCodeSectionCodeSectionId":5,"MatterCodeSectionNumber":"sample string 6","MatterCodeSectionName":"sample string 7"}]);