GET PlanCare2Api/DynamicData/WorkTypes

The list of worktypes valid by contracttype id and product id.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Gets all product work types

Collection of WorkTypesResult
NameDescriptionTypeAdditional information
Productid

integer

None

Contracttypeid

integer

None

Worktypeid

integer

None

Worktypecode

string

None

Worktypename

string

None

Worktypedescription

string

None

Worktypeisdirect

boolean

None

Isworktime

boolean

None

Startdate

date

None

Enddate

date

None

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Productid": 1,
    "Contracttypeid": 1,
    "Worktypeid": 1,
    "Worktypecode": "sample string 1",
    "Worktypename": "sample string 2",
    "Worktypedescription": "sample string 3",
    "Worktypeisdirect": true,
    "Isworktime": true,
    "Startdate": "2026-05-26T23:12:57.7763324+02:00",
    "Enddate": "2026-05-26T23:12:57.7763324+02:00"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDynamicDataController.WorkTypesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Controllers">
  <DynamicDataController.WorkTypesResult>
    <Contracttypeid>1</Contracttypeid>
    <Enddate>2026-05-26T23:12:57.7763324+02:00</Enddate>
    <Isworktime>true</Isworktime>
    <Productid>1</Productid>
    <Startdate>2026-05-26T23:12:57.7763324+02:00</Startdate>
    <Worktypecode>sample string 1</Worktypecode>
    <Worktypedescription>sample string 3</Worktypedescription>
    <Worktypeid>1</Worktypeid>
    <Worktypeisdirect>true</Worktypeisdirect>
    <Worktypename>sample string 2</Worktypename>
  </DynamicDataController.WorkTypesResult>
  <DynamicDataController.WorkTypesResult>
    <Contracttypeid>1</Contracttypeid>
    <Enddate>2026-05-26T23:12:57.7763324+02:00</Enddate>
    <Isworktime>true</Isworktime>
    <Productid>1</Productid>
    <Startdate>2026-05-26T23:12:57.7763324+02:00</Startdate>
    <Worktypecode>sample string 1</Worktypecode>
    <Worktypedescription>sample string 3</Worktypedescription>
    <Worktypeid>1</Worktypeid>
    <Worktypeisdirect>true</Worktypeisdirect>
    <Worktypename>sample string 2</Worktypename>
  </DynamicDataController.WorkTypesResult>
</ArrayOfDynamicDataController.WorkTypesResult>