PUT v1/{Client}/Matters/{MatterId}/Texts/{MatterTextId}

Updates one Matter Text.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

MatterTextId

The MatterTextId of the Matter Text.

integer

Required

MatterId

string

None.

Body Parameters

GranicusMatterText object to be updated. Note that MatterTextId is not required to be set.

GranicusMatterText
NameDescriptionTypeAdditional 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-04-26T13:07:52.7354599-04: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-04-26T13:07:52.7354599-04: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 the updated Matter Text as a string value when Accept header is "text/plain"; otherwise returns updated Matter Text 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.