POST v1/{Client}/Matters/{MatterId}/Sponsors
Adds one Matter Sponsor.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Client |
The code of the Client database to connect to. |
string |
Required |
MatterId | string |
None. |
Body Parameters
GranicusMatterSponsor object to be inserted. Note that MatterSponsorId is not required to be set.
GranicusMatterSponsorName | Description | Type | Additional 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-11-21T03:38:37.1308667-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-11-21T03:38:37.1308667-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 a created Matter Sponsor as a string value when Accept header is "text/plain"; otherwise returns created Matter Sponsor 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. |