PUT v1/{Client}/Actions/{Id}

Updates one Action.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

Id

The Id of the Action.

integer

Required

Body Parameters

GranicusAction object to be updated. Note that ActionID is required to be set.

GranicusAction
NameDescriptionTypeAdditional information
ActionId

integer

None.

ActionGuid

string

None.

ActionLastModifiedUtc

date

None.

ActionRowVersion

Collection of byte

None.

ActionName

string

Required

String length: inclusive between 1 and 255

ActionActiveFlag

integer

None.

ActionUsedFlag

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ActionId": 1,
  "ActionGuid": "sample string 2",
  "ActionLastModifiedUtc": "2024-12-21T10:56:51.0466038-05:00",
  "ActionRowVersion": "QEA=",
  "ActionName": "sample string 4",
  "ActionActiveFlag": 5,
  "ActionUsedFlag": 6
}

application/xml, text/xml

Sample:
<GranicusAction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1">
  <ActionActiveFlag>5</ActionActiveFlag>
  <ActionGuid>sample string 2</ActionGuid>
  <ActionId>1</ActionId>
  <ActionLastModifiedUtc>2024-12-21T10:56:51.0466038-05:00</ActionLastModifiedUtc>
  <ActionName>sample string 4</ActionName>
  <ActionRowVersion>QEA=</ActionRowVersion>
  <ActionUsedFlag>6</ActionUsedFlag>
</GranicusAction>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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