PUT v1/{Client}/OfficeRecords/{OfficeRecordId}

Updates one Office Record.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

OfficeRecordId

The Id of the Office Record.

integer

Required

Body Parameters

GranicusOfficeRecord object to be updated. Note that OfficeRecordId is not required to be set.

GranicusOfficeRecord
NameDescriptionTypeAdditional information
OfficeRecordId

integer

None.

OfficeRecordGuid

string

None.

OfficeRecordLastModifiedUtc

date

None.

OfficeRecordRowVersion

Collection of byte

None.

OfficeRecordFirstName

string

None.

OfficeRecordLastName

string

None.

OfficeRecordEmail

string

None.

OfficeRecordFullName

string

None.

OfficeRecordStartDate

date

None.

OfficeRecordEndDate

date

None.

OfficeRecordSort

integer

None.

OfficeRecordPersonId

integer

Required

OfficeRecordBodyId

integer

Required

OfficeRecordBodyName

string

None.

OfficeRecordTitle

string

None.

OfficeRecordVoteDivider

decimal number

Required

OfficeRecordExtendFlag

integer

Required

OfficeRecordMemberTypeId

integer

Required

OfficeRecordMemberType

string

None.

OfficeRecordSupportNameId

integer

None.

OfficeRecordSupportFullName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OfficeRecordId": 1,
  "OfficeRecordGuid": "sample string 2",
  "OfficeRecordLastModifiedUtc": "2020-11-26T13:10:27.3008344-05:00",
  "OfficeRecordRowVersion": "QEA=",
  "OfficeRecordFirstName": "sample string 4",
  "OfficeRecordLastName": "sample string 5",
  "OfficeRecordEmail": "sample string 6",
  "OfficeRecordFullName": "sample string 7",
  "OfficeRecordStartDate": "2020-11-26T13:10:27.3008344-05:00",
  "OfficeRecordEndDate": "2020-11-26T13:10:27.3008344-05:00",
  "OfficeRecordSort": 9,
  "OfficeRecordPersonId": 10,
  "OfficeRecordBodyId": 11,
  "OfficeRecordBodyName": "sample string 12",
  "OfficeRecordTitle": "sample string 13",
  "OfficeRecordVoteDivider": 14.1,
  "OfficeRecordExtendFlag": 15,
  "OfficeRecordMemberTypeId": 16,
  "OfficeRecordMemberType": "sample string 17",
  "OfficeRecordSupportNameId": 1,
  "OfficeRecordSupportFullName": "sample string 18"
}

application/xml, text/xml

Sample:
<GranicusOfficeRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1">
  <OfficeRecordBodyId>11</OfficeRecordBodyId>
  <OfficeRecordBodyName>sample string 12</OfficeRecordBodyName>
  <OfficeRecordEmail>sample string 6</OfficeRecordEmail>
  <OfficeRecordEndDate>2020-11-26T13:10:27.3008344-05:00</OfficeRecordEndDate>
  <OfficeRecordExtendFlag>15</OfficeRecordExtendFlag>
  <OfficeRecordFirstName>sample string 4</OfficeRecordFirstName>
  <OfficeRecordFullName>sample string 7</OfficeRecordFullName>
  <OfficeRecordGuid>sample string 2</OfficeRecordGuid>
  <OfficeRecordId>1</OfficeRecordId>
  <OfficeRecordLastModifiedUtc>2020-11-26T13:10:27.3008344-05:00</OfficeRecordLastModifiedUtc>
  <OfficeRecordLastName>sample string 5</OfficeRecordLastName>
  <OfficeRecordMemberType>sample string 17</OfficeRecordMemberType>
  <OfficeRecordMemberTypeId>16</OfficeRecordMemberTypeId>
  <OfficeRecordPersonId>10</OfficeRecordPersonId>
  <OfficeRecordRowVersion>QEA=</OfficeRecordRowVersion>
  <OfficeRecordSort>9</OfficeRecordSort>
  <OfficeRecordStartDate>2020-11-26T13:10:27.3008344-05:00</OfficeRecordStartDate>
  <OfficeRecordSupportFullName>sample string 18</OfficeRecordSupportFullName>
  <OfficeRecordSupportNameId>1</OfficeRecordSupportNameId>
  <OfficeRecordTitle>sample string 13</OfficeRecordTitle>
  <OfficeRecordVoteDivider>14.1</OfficeRecordVoteDivider>
</GranicusOfficeRecord>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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