GET v1/Clients/{clientId}/ProblemCodes
Gets all active Problem Codes that match the query, if provided.
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 ProblemCodeV1| Name | Description | Type | Additional information |
|---|---|---|---|
| ProblemCodeId |
The Problem Code Id. |
integer |
None. |
| Code |
The Code. |
string |
None. |
| ProblemCodeDescription |
The Problem Code Description. |
string |
None. |
| AccountCodeId |
The Account Code Id. |
integer |
None. |
| HasAllSkillSets |
The a value indicating whether the problem code has all skill sets. |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ProblemCodeId": 1,
"Code": "sample string 2",
"ProblemCodeDescription": "sample string 3",
"AccountCodeId": 4,
"HasAllSkillSets": true
},
{
"ProblemCodeId": 1,
"Code": "sample string 2",
"ProblemCodeDescription": "sample string 3",
"AccountCodeId": 4,
"HasAllSkillSets": true
}
]
application/xml, text/xml
Sample:
<ArrayOfProblemCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Core.Models.Maintenance">
<ProblemCode>
<AccountCodeId>4</AccountCodeId>
<Code>sample string 2</Code>
<HasAllSkillSets>true</HasAllSkillSets>
<ProblemCodeDescription>sample string 3</ProblemCodeDescription>
<ProblemCodeId>1</ProblemCodeId>
</ProblemCode>
<ProblemCode>
<AccountCodeId>4</AccountCodeId>
<Code>sample string 2</Code>
<HasAllSkillSets>true</HasAllSkillSets>
<ProblemCodeDescription>sample string 3</ProblemCodeDescription>
<ProblemCodeId>1</ProblemCodeId>
</ProblemCode>
</ArrayOfProblemCode>