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": "6caa5dd9-0969-4b7f-a1b2-6ae343be1e78",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"c24de86e-a630-45ee-aad0-a15dc9dd4bef",
"361a2b04-05a4-4261-abc8-0f9c11cc51d3"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"39d3ce99-f8b2-4f41-9aff-54fdb5f60e3d",
"d41fae64-5bb6-4807-8c72-a4991b47fed0"
]
},
{
"Id": "6caa5dd9-0969-4b7f-a1b2-6ae343be1e78",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"c24de86e-a630-45ee-aad0-a15dc9dd4bef",
"361a2b04-05a4-4261-abc8-0f9c11cc51d3"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"39d3ce99-f8b2-4f41-9aff-54fdb5f60e3d",
"d41fae64-5bb6-4807-8c72-a4991b47fed0"
]
}
]