POST v1/{Client}/MatterStatuses

Adds one Matter Status.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

Body Parameters

GranicusMatterStatus object to be inserted. Note that MatterStatusID is not required to be set.

GranicusMatterStatus
NameDescriptionTypeAdditional information
MatterStatusId

integer

None.

MatterStatusGuid

string

None.

MatterStatusLastModifiedUtc

date

None.

MatterStatusRowVersion

Collection of byte

None.

MatterStatusName

string

Required

MatterStatusSort

integer

None.

MatterStatusActiveFlag

integer

None.

MatterStatusDescription

string

None.

MatterStatusUsedFlag

integer

None.

MatterStatusPublicFlag

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MatterStatusId": 1,
  "MatterStatusGuid": "sample string 2",
  "MatterStatusLastModifiedUtc": "2024-11-21T03:39:27.6599325-05:00",
  "MatterStatusRowVersion": "QEA=",
  "MatterStatusName": "sample string 4",
  "MatterStatusSort": 5,
  "MatterStatusActiveFlag": 6,
  "MatterStatusDescription": "sample string 7",
  "MatterStatusUsedFlag": 8,
  "MatterStatusPublicFlag": 9
}

application/xml, text/xml

Sample:
<GranicusMatterStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1">
  <MatterStatusActiveFlag>6</MatterStatusActiveFlag>
  <MatterStatusDescription>sample string 7</MatterStatusDescription>
  <MatterStatusGuid>sample string 2</MatterStatusGuid>
  <MatterStatusId>1</MatterStatusId>
  <MatterStatusLastModifiedUtc>2024-11-21T03:39:27.6599325-05:00</MatterStatusLastModifiedUtc>
  <MatterStatusName>sample string 4</MatterStatusName>
  <MatterStatusPublicFlag>9</MatterStatusPublicFlag>
  <MatterStatusRowVersion>QEA=</MatterStatusRowVersion>
  <MatterStatusSort>5</MatterStatusSort>
  <MatterStatusUsedFlag>8</MatterStatusUsedFlag>
</GranicusMatterStatus>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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