GET api/v2/Users/WorkerTypes

Returns a list of all Worker Types used in BluSKY

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of WorkerTypeViewModel
NameDescriptionTypeAdditional information
WorkerTypeId

ID of the Worker Type

WorkerType

None.

Description

Worker Type Description

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "WorkerTypeId": 0,
    "Description": "sample string 1"
  },
  {
    "WorkerTypeId": 0,
    "Description": "sample string 1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWorkerTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers">
  <WorkerTypeViewModel>
    <Description>sample string 1</Description>
    <WorkerTypeId>Employee</WorkerTypeId>
  </WorkerTypeViewModel>
  <WorkerTypeViewModel>
    <Description>sample string 1</Description>
    <WorkerTypeId>Employee</WorkerTypeId>
  </WorkerTypeViewModel>
</ArrayOfWorkerTypeViewModel>