POST v1/{Client}/Matters/{MatterId}/Texts
Adds one Matter Text.
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
GranicusMatterText object to be inserted. Note that MatterTextId is not required to be set.
GranicusMatterTextName | Description | Type | Additional information |
---|---|---|---|
MatterTextId | integer |
None. |
|
MatterTextGuid | string |
None. |
|
MatterTextLastModifiedUtc | date |
None. |
|
MatterTextRowVersion | Collection of byte |
None. |
|
MatterTextMatterId | integer |
Required |
|
MatterTextVersion | string |
None. |
|
MatterTextPlain | string |
None. |
|
MatterTextRtf | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MatterTextId": 1, "MatterTextGuid": "sample string 2", "MatterTextLastModifiedUtc": "2024-12-21T11:16:23.3157284-05:00", "MatterTextRowVersion": "QEA=", "MatterTextMatterId": 4, "MatterTextVersion": "sample string 5", "MatterTextPlain": "sample string 6", "MatterTextRtf": "sample string 7" }
application/xml, text/xml
Sample:
<GranicusMatterText xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1"> <MatterTextGuid>sample string 2</MatterTextGuid> <MatterTextId>1</MatterTextId> <MatterTextLastModifiedUtc>2024-12-21T11:16:23.3157284-05:00</MatterTextLastModifiedUtc> <MatterTextMatterId>4</MatterTextMatterId> <MatterTextPlain>sample string 6</MatterTextPlain> <MatterTextRowVersion>QEA=</MatterTextRowVersion> <MatterTextRtf>sample string 7</MatterTextRtf> <MatterTextVersion>sample string 5</MatterTextVersion> </GranicusMatterText>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Returns Id of a created Matter Text as a string value when Accept header is "text/plain"; otherwise returns created Matter Text 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. |