GET v1/Clients/{clientId}/WorkOrderCauseCodes
Gets all active Work Order Cause Codes.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
clientId |
Client identifier. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
A list.
Collection of CauseCodeV1Name | Description | Type | Additional information |
---|---|---|---|
CauseCodeId |
The cause code id. |
integer |
None. |
CauseCode |
The cause code. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CauseCodeId": 1, "CauseCode": "sample string 2" }, { "CauseCodeId": 1, "CauseCode": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfCauseCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Core.Models.Maintenance"> <CauseCode> <CauseCode>sample string 2</CauseCode> <CauseCodeId>1</CauseCodeId> </CauseCode> <CauseCode> <CauseCode>sample string 2</CauseCode> <CauseCodeId>1</CauseCodeId> </CauseCode> </ArrayOfCauseCode>