GET v1/{Client}/BodyTypes

Gets all Body Types.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GranicusBodyType
NameDescriptionTypeAdditional 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": "2020-11-26T14:00:52.4850202-05:00",
    "BodyTypeRowVersion": "QEA=",
    "BodyTypeName": "sample string 4"
  },
  {
    "BodyTypeId": 1,
    "BodyTypeGuid": "sample string 2",
    "BodyTypeLastModifiedUtc": "2020-11-26T14:00:52.4850202-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>2020-11-26T14:00:52.4850202-05:00</BodyTypeLastModifiedUtc>
    <BodyTypeName>sample string 4</BodyTypeName>
    <BodyTypeRowVersion>QEA=</BodyTypeRowVersion>
  </GranicusBodyType>
  <GranicusBodyType>
    <BodyTypeGuid>sample string 2</BodyTypeGuid>
    <BodyTypeId>1</BodyTypeId>
    <BodyTypeLastModifiedUtc>2020-11-26T14:00:52.4850202-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":"2020-11-26T14:00:52.4850202-05:00","BodyTypeRowVersion":"QEA=","BodyTypeName":"sample string 4"},{"BodyTypeId":1,"BodyTypeGuid":"sample string 2","BodyTypeLastModifiedUtc":"2020-11-26T14:00:52.4850202-05:00","BodyTypeRowVersion":"QEA=","BodyTypeName":"sample string 4"}]);