PUT v1/{Client}/Matters/{MatterId}/Sponsors/{MatterSponsorId}

Updates one Matter Sponsor.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

MatterSponsorId

The MatterSponsorId of the Matter record.

integer

Required

MatterId

string

None.

Body Parameters

GranicusMatterSponsor object to be updated. Note that MatterSponsorId is not required to be set.

GranicusMatterSponsor
NameDescriptionTypeAdditional information
MatterSponsorId

integer

None.

MatterSponsorGuid

string

None.

MatterSponsorLastModifiedUtc

date

None.

MatterSponsorRowVersion

Collection of byte

None.

MatterSponsorMatterId

integer

Required

MatterSponsorMatterVersion

string

Required

MatterSponsorNameId

integer

None.

MatterSponsorBodyId

integer

None.

MatterSponsorName

string

None.

MatterSponsorSequence

integer

None.

MatterSponsorLinkFlag

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MatterSponsorId": 1,
  "MatterSponsorGuid": "sample string 2",
  "MatterSponsorLastModifiedUtc": "2024-12-21T10:37:06.3068329-05:00",
  "MatterSponsorRowVersion": "QEA=",
  "MatterSponsorMatterId": 4,
  "MatterSponsorMatterVersion": "sample string 5",
  "MatterSponsorNameId": 1,
  "MatterSponsorBodyId": 1,
  "MatterSponsorName": "sample string 6",
  "MatterSponsorSequence": 7,
  "MatterSponsorLinkFlag": 8
}

application/xml, text/xml

Sample:
<GranicusMatterSponsor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1">
  <MatterSponsorBodyId>1</MatterSponsorBodyId>
  <MatterSponsorGuid>sample string 2</MatterSponsorGuid>
  <MatterSponsorId>1</MatterSponsorId>
  <MatterSponsorLastModifiedUtc>2024-12-21T10:37:06.3068329-05:00</MatterSponsorLastModifiedUtc>
  <MatterSponsorLinkFlag>8</MatterSponsorLinkFlag>
  <MatterSponsorMatterId>4</MatterSponsorMatterId>
  <MatterSponsorMatterVersion>sample string 5</MatterSponsorMatterVersion>
  <MatterSponsorName>sample string 6</MatterSponsorName>
  <MatterSponsorNameId>1</MatterSponsorNameId>
  <MatterSponsorRowVersion>QEA=</MatterSponsorRowVersion>
  <MatterSponsorSequence>7</MatterSponsorSequence>
</GranicusMatterSponsor>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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