PUT v1/{Client}/BodyTypes/{Id}

Updates one Body Type.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

Id

The Id of the Body Type.

integer

Required

Body Parameters

GranicusBodyType object to be updated. Note that BodyTypeId is not required to be set.

GranicusBodyType
NameDescriptionTypeAdditional information
BodyTypeId

integer

None.

BodyTypeGuid

string

None.

BodyTypeLastModifiedUtc

date

None.

BodyTypeRowVersion

Collection of byte

None.

BodyTypeName

string

Required

Request Formats

application/json, text/json

Sample:
{
  "BodyTypeId": 1,
  "BodyTypeGuid": "sample string 2",
  "BodyTypeLastModifiedUtc": "2024-11-21T03:49:48.8262777-05:00",
  "BodyTypeRowVersion": "QEA=",
  "BodyTypeName": "sample string 4"
}

application/xml, text/xml

Sample:
<GranicusBodyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1">
  <BodyTypeGuid>sample string 2</BodyTypeGuid>
  <BodyTypeId>1</BodyTypeId>
  <BodyTypeLastModifiedUtc>2024-11-21T03:49:48.8262777-05:00</BodyTypeLastModifiedUtc>
  <BodyTypeName>sample string 4</BodyTypeName>
  <BodyTypeRowVersion>QEA=</BodyTypeRowVersion>
</GranicusBodyType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns Id of the updated Body Type as a string value when Accept header is "text/plain"; otherwise returns updated Body Type 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.