POST v1/{Client}/Matters/{MatterId}/Relations

Adds one Matter Relation.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

MatterId

integer

Required

Body Parameters

GranicusMatterRelation object to be inserted. 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": "2024-12-21T11:21:50.4127776-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>2024-12-21T11:21:50.4127776-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 a created Matter Relation as a string value when Accept header is "text/plain"; otherwise returns created 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.