GET api/workplan/{PlanId}/worktypes
Get work types associated to this plan
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| PlanId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of WorkType| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| ListType | WorkListType |
None. |
|
| AllowedParents | Collection of globally unique identifier |
None. |
|
| AutoNumberPrefix | string |
None. |
|
| AutoNumberStart | integer |
None. |
|
| PlanTypes | Collection of globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "5357d071-78f1-4c2f-9498-16bddf9b34db",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"08b88a94-dde1-4f24-b58b-c3ea76174908",
"b7e7ed9a-c930-4cbe-810d-af49c1f45b67"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"0b56da3b-c0a5-4b53-bb31-909f007ff0f8",
"f61d025c-06a2-473a-9a7a-d82e0c8ecbdf"
]
},
{
"Id": "5357d071-78f1-4c2f-9498-16bddf9b34db",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"08b88a94-dde1-4f24-b58b-c3ea76174908",
"b7e7ed9a-c930-4cbe-810d-af49c1f45b67"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"0b56da3b-c0a5-4b53-bb31-909f007ff0f8",
"f61d025c-06a2-473a-9a7a-d82e0c8ecbdf"
]
}
]