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": "0f5796a8-37c2-4229-9ada-d55e8716de30",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"15d283e1-1732-4d0c-8245-11a869095015",
"69a362dc-51cc-4a83-b9a6-729ab1368e3c"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"a71b01ef-c1fd-4848-be31-51dd37ec4265",
"d5866d11-3563-409c-8cb9-bf25aefe3b99"
]
},
{
"Id": "0f5796a8-37c2-4229-9ada-d55e8716de30",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"15d283e1-1732-4d0c-8245-11a869095015",
"69a362dc-51cc-4a83-b9a6-729ab1368e3c"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"a71b01ef-c1fd-4848-be31-51dd37ec4265",
"d5866d11-3563-409c-8cb9-bf25aefe3b99"
]
}
]