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": "667e6f42-c4a2-4891-80f7-9e030a98f550",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"f7fce193-cb08-4608-9f0a-4db606c7cf54",
"350c3af9-f576-4b83-ba13-e5ff90370a7b"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"6d884c0d-491f-4bc3-9087-0a2b32aa04d1",
"1a518ea4-d6f5-48ed-9b91-88753cc511f6"
]
},
{
"Id": "667e6f42-c4a2-4891-80f7-9e030a98f550",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"f7fce193-cb08-4608-9f0a-4db606c7cf54",
"350c3af9-f576-4b83-ba13-e5ff90370a7b"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"6d884c0d-491f-4bc3-9087-0a2b32aa04d1",
"1a518ea4-d6f5-48ed-9b91-88753cc511f6"
]
}
]