GET api/workplan/{PlanId}/worktypes

Get work types associated to this plan

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PlanId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of WorkType
NameDescriptionTypeAdditional 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": "3205f116-998c-450d-9c91-771238df0eec",
    "Name": "sample string 2",
    "Description": "sample string 3",
    "ListType": 0,
    "AllowedParents": [
      "5400dfc8-6a13-4ca1-b7b9-e50da5d04544",
      "0e5d1328-8df1-4f1b-b6b7-9830f92b333f"
    ],
    "AutoNumberPrefix": "sample string 4",
    "AutoNumberStart": 5,
    "PlanTypes": [
      "4d8cc2f2-ab40-4dc2-a607-72d738d04da8",
      "93c27f21-99f3-48c7-9d06-6354f5df2fb5"
    ]
  },
  {
    "Id": "3205f116-998c-450d-9c91-771238df0eec",
    "Name": "sample string 2",
    "Description": "sample string 3",
    "ListType": 0,
    "AllowedParents": [
      "5400dfc8-6a13-4ca1-b7b9-e50da5d04544",
      "0e5d1328-8df1-4f1b-b6b7-9830f92b333f"
    ],
    "AutoNumberPrefix": "sample string 4",
    "AutoNumberStart": 5,
    "PlanTypes": [
      "4d8cc2f2-ab40-4dc2-a607-72d738d04da8",
      "93c27f21-99f3-48c7-9d06-6354f5df2fb5"
    ]
  }
]