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": "087cecac-b3ce-48c5-91c1-1af39f41b81d",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"daa96074-c93e-44b4-8505-68c2a306d8ff",
"b3bfefc4-c762-49db-a940-f6bc36501537"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"e379f41d-3a2b-4aa7-a906-84e8582599ca",
"2b4a5722-a678-43e1-913c-417d3b31c51e"
]
},
{
"Id": "087cecac-b3ce-48c5-91c1-1af39f41b81d",
"Name": "sample string 2",
"Description": "sample string 3",
"ListType": 0,
"AllowedParents": [
"daa96074-c93e-44b4-8505-68c2a306d8ff",
"b3bfefc4-c762-49db-a940-f6bc36501537"
],
"AutoNumberPrefix": "sample string 4",
"AutoNumberStart": 5,
"PlanTypes": [
"e379f41d-3a2b-4aa7-a906-84e8582599ca",
"2b4a5722-a678-43e1-913c-417d3b31c51e"
]
}
]