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": "f583db42-2ffc-4c01-93a6-c39b0d78cf67",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"ac442b77-c68d-4cf8-a86c-b37207343a39",
"08f957eb-e2f0-440a-99c6-d1f879d66b27"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"55b76191-7b16-457a-825c-4bc4d654fef8",
"a1cf89f3-2b72-489b-a828-967192cce741"
]
},
{
"Id": "f583db42-2ffc-4c01-93a6-c39b0d78cf67",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"ac442b77-c68d-4cf8-a86c-b37207343a39",
"08f957eb-e2f0-440a-99c6-d1f879d66b27"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"55b76191-7b16-457a-825c-4bc4d654fef8",
"a1cf89f3-2b72-489b-a828-967192cce741"
]
}
]