PUT v1/{Client}/EventItems/{EventItemId}/RollCalls/{RollCallId}

Updates one Roll Call Item.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

EventItemId

The Id of the Event Item.

integer

Required

RollCallId

The Id of the Roll Call Item.

integer

Required

Body Parameters

GranicusRollCall object to be updated. Note that RollCallId is not required to be set.

GranicusRollCall
NameDescriptionTypeAdditional information
RollCallId

integer

None.

RollCallGuid

string

None.

RollCallLastModifiedUtc

date

None.

RollCallRowVersion

Collection of byte

None.

RollCallPersonId

integer

Required

RollCallPersonName

string

None.

RollCallValueId

integer

Required

RollCallValueName

string

None.

RollCallSort

integer

None.

RollCallResult

integer

None.

RollCallEventItemId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RollCallId": 1,
  "RollCallGuid": "sample string 2",
  "RollCallLastModifiedUtc": "2024-03-28T06:14:01.8858644-04:00",
  "RollCallRowVersion": "QEA=",
  "RollCallPersonId": 4,
  "RollCallPersonName": "sample string 5",
  "RollCallValueId": 1,
  "RollCallValueName": "sample string 6",
  "RollCallSort": 7,
  "RollCallResult": 1,
  "RollCallEventItemId": 8
}

application/xml, text/xml

Sample:
<GranicusRollCall xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1">
  <RollCallEventItemId>8</RollCallEventItemId>
  <RollCallGuid>sample string 2</RollCallGuid>
  <RollCallId>1</RollCallId>
  <RollCallLastModifiedUtc>2024-03-28T06:14:01.8858644-04:00</RollCallLastModifiedUtc>
  <RollCallPersonId>4</RollCallPersonId>
  <RollCallPersonName>sample string 5</RollCallPersonName>
  <RollCallResult>1</RollCallResult>
  <RollCallRowVersion>QEA=</RollCallRowVersion>
  <RollCallSort>7</RollCallSort>
  <RollCallValueId>1</RollCallValueId>
  <RollCallValueName>sample string 6</RollCallValueName>
</GranicusRollCall>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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