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": "5ff697fc-4d1e-4d6a-9500-ce29ec551d7d",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"8b71d93b-5e06-4469-a046-33a274ffef87",
"50cfed0b-64cf-4d1f-882e-fb15db3c13fd"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"569ee37f-37d4-437e-a5ed-8d2939f1523c",
"a6610ae8-911d-4daa-82fd-6622440531f0"
]
},
{
"Id": "5ff697fc-4d1e-4d6a-9500-ce29ec551d7d",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"8b71d93b-5e06-4469-a046-33a274ffef87",
"50cfed0b-64cf-4d1f-882e-fb15db3c13fd"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"569ee37f-37d4-437e-a5ed-8d2939f1523c",
"a6610ae8-911d-4daa-82fd-6622440531f0"
]
}
]