GET v1/{Client}/BodyTypes
Gets all Body Types.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Client |
The code of the Client database to connect to. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GranicusBodyTypeName | Description | Type | Additional information |
---|---|---|---|
BodyTypeId | integer |
None. |
|
BodyTypeGuid | string |
None. |
|
BodyTypeLastModifiedUtc | date |
None. |
|
BodyTypeRowVersion | Collection of byte |
None. |
|
BodyTypeName | string |
Required |
Response Formats
application/json, text/json
Sample:
[ { "BodyTypeId": 1, "BodyTypeGuid": "sample string 2", "BodyTypeLastModifiedUtc": "2024-11-21T03:39:08.3167846-05:00", "BodyTypeRowVersion": "QEA=", "BodyTypeName": "sample string 4" }, { "BodyTypeId": 1, "BodyTypeGuid": "sample string 2", "BodyTypeLastModifiedUtc": "2024-11-21T03:39:08.3167846-05:00", "BodyTypeRowVersion": "QEA=", "BodyTypeName": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfGranicusBodyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1"> <GranicusBodyType> <BodyTypeGuid>sample string 2</BodyTypeGuid> <BodyTypeId>1</BodyTypeId> <BodyTypeLastModifiedUtc>2024-11-21T03:39:08.3167846-05:00</BodyTypeLastModifiedUtc> <BodyTypeName>sample string 4</BodyTypeName> <BodyTypeRowVersion>QEA=</BodyTypeRowVersion> </GranicusBodyType> <GranicusBodyType> <BodyTypeGuid>sample string 2</BodyTypeGuid> <BodyTypeId>1</BodyTypeId> <BodyTypeLastModifiedUtc>2024-11-21T03:39:08.3167846-05:00</BodyTypeLastModifiedUtc> <BodyTypeName>sample string 4</BodyTypeName> <BodyTypeRowVersion>QEA=</BodyTypeRowVersion> </GranicusBodyType> </ArrayOfGranicusBodyType>
text/javascript, application/javascript, application/json-p
Sample:
([{"BodyTypeId":1,"BodyTypeGuid":"sample string 2","BodyTypeLastModifiedUtc":"2024-11-21T03:39:08.3167846-05:00","BodyTypeRowVersion":"QEA=","BodyTypeName":"sample string 4"},{"BodyTypeId":1,"BodyTypeGuid":"sample string 2","BodyTypeLastModifiedUtc":"2024-11-21T03:39:08.3167846-05:00","BodyTypeRowVersion":"QEA=","BodyTypeName":"sample string 4"}]);