PUT v1/{Client}/MatterTypes/{MatterTypeId}

Updates one Matter Type.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Client

The code of the Client database to connect to.

string

Required

MatterTypeId

The Id of the Matter Type.

integer

Required

Body Parameters

GranicusMatterType object to be updated. Note that MatterTypeID is not required to be set.

GranicusMatterType
NameDescriptionTypeAdditional information
MatterTypeId

integer

None.

MatterTypeGuid

string

None.

MatterTypeLastModifiedUtc

date

None.

MatterTypeRowVersion

Collection of byte

None.

MatterTypeName

string

Required

MatterTypeSort

integer

None.

MatterTypeActiveFlag

integer

None.

MatterTypeDescription

string

None.

MatterTypeUsedFlag

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MatterTypeId": 1,
  "MatterTypeGuid": "sample string 2",
  "MatterTypeLastModifiedUtc": "2024-12-21T10:48:09.4473989-05:00",
  "MatterTypeRowVersion": "QEA=",
  "MatterTypeName": "sample string 4",
  "MatterTypeSort": 5,
  "MatterTypeActiveFlag": 6,
  "MatterTypeDescription": "sample string 7",
  "MatterTypeUsedFlag": 8
}

application/xml, text/xml

Sample:
<GranicusMatterType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LegistarWebAPI.Models.v1">
  <MatterTypeActiveFlag>6</MatterTypeActiveFlag>
  <MatterTypeDescription>sample string 7</MatterTypeDescription>
  <MatterTypeGuid>sample string 2</MatterTypeGuid>
  <MatterTypeId>1</MatterTypeId>
  <MatterTypeLastModifiedUtc>2024-12-21T10:48:09.4473989-05:00</MatterTypeLastModifiedUtc>
  <MatterTypeName>sample string 4</MatterTypeName>
  <MatterTypeRowVersion>QEA=</MatterTypeRowVersion>
  <MatterTypeSort>5</MatterTypeSort>
  <MatterTypeUsedFlag>8</MatterTypeUsedFlag>
</GranicusMatterType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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