GET PlanCare2Api/RootData/Worktypes/{workTypeId}/WorkTypeLevels
Get available worktypelevels by worktypeId
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| workTypeId |
WorkType identifier |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of available worktypelevels
Collection of WorkTypeLevel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The id of the worktypelevel |
integer |
None. |
| Name |
The name of the worktypelevel |
string |
None. |
| Code |
The code of the worktypelevel |
string |
None. |
| Description |
The description of the worktypelevel |
string |
None. |
| ExternalCode |
External code of worktypelevel by connector based on ApiKey |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"Id": 1,
"Name": "sample string 2",
"Code": "sample string 3",
"Description": "sample string 4",
"ExternalCode": "sample string 5"
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfWorkTypeLevel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
<WorkTypeLevel>
<Code>sample string 3</Code>
<Description>sample string 4</Description>
<ExternalCode>sample string 5</ExternalCode>
<Id>1</Id>
<Name>sample string 2</Name>
</WorkTypeLevel>
<WorkTypeLevel>
<Code>sample string 3</Code>
<Description>sample string 4</Description>
<ExternalCode>sample string 5</ExternalCode>
<Id>1</Id>
<Name>sample string 2</Name>
</WorkTypeLevel>
</ArrayOfWorkTypeLevel>