PUT v1/{Client}/Matters/{MatterId}/Relations/{MatterRelationId}

Updates one Matter Relation.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

MatterRelationId

The MatterRelationId of the Matter Relation.

integer

Required

MatterId

string

None.

Body Parameters

GranicusMatterRelation object to be updated. Note that MatterRelationId is not required to be set.

GranicusMatterRelation
NameDescriptionTypeAdditional information
MatterRelationId

integer

None.

MatterRelationGuid

string

None.

MatterRelationLastModifiedUtc

date

None.

MatterRelationRowVersion

Collection of byte

None.

MatterRelationMatterId

integer

Required

MatterRelationFlag

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MatterRelationId": 1,
  "MatterRelationGuid": "sample string 2",
  "MatterRelationLastModifiedUtc": "2020-11-26T13:40:12.4770657-05:00",
  "MatterRelationRowVersion": "QEA=",
  "MatterRelationMatterId": 3,
  "MatterRelationFlag": 4
}

application/xml, text/xml

Sample:
<GranicusMatterRelation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1">
  <MatterRelationFlag>4</MatterRelationFlag>
  <MatterRelationGuid>sample string 2</MatterRelationGuid>
  <MatterRelationId>1</MatterRelationId>
  <MatterRelationLastModifiedUtc>2020-11-26T13:40:12.4770657-05:00</MatterRelationLastModifiedUtc>
  <MatterRelationMatterId>3</MatterRelationMatterId>
  <MatterRelationRowVersion>QEA=</MatterRelationRowVersion>
</GranicusMatterRelation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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