GET api/v1/WorkEnvironmentTypes

Returns a list of WorkEnvironmentType that the API token has rights to view.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of WorkEnvironmentTypeViewModel
NameDescriptionTypeAdditional information
WorkEnvironmentTypeId

Represents the PK of the WorkEnvironmentType

globally unique identifier

None.

Description

Represents the name of the Exnum

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "WorkEnvironmentTypeId": "de06c840-ac01-41b5-b714-fc40bf0bcdb0",
    "Description": "sample string 2"
  },
  {
    "WorkEnvironmentTypeId": "de06c840-ac01-41b5-b714-fc40bf0bcdb0",
    "Description": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfWorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIWebRole.Controllers">
  <WorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel>
    <Description>sample string 2</Description>
    <WorkEnvironmentTypeId>de06c840-ac01-41b5-b714-fc40bf0bcdb0</WorkEnvironmentTypeId>
  </WorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel>
  <WorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel>
    <Description>sample string 2</Description>
    <WorkEnvironmentTypeId>de06c840-ac01-41b5-b714-fc40bf0bcdb0</WorkEnvironmentTypeId>
  </WorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel>
</ArrayOfWorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel>