POST v1/{Client}/EventItems/{EventItemId}/RollCalls
Adds one Roll Call Item.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Client |
The code of the Client database to connect to. |
string |
Required |
EventItemId |
The Id of the Event Item. |
integer |
Required |
Body Parameters
GranicusRollCall object to be inserted. Note that RollCallId is not required to be set.
GranicusRollCallName | Description | Type | Additional 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-11-21T03:41:24.0563448-05: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-11-21T03:41:24.0563448-05: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 a created Roll Call item as a string value when Accept header is "text/plain"; otherwise returns created Roll Call item as an object.
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |