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 WorkEnvironmentTypeViewModelName | Description | Type | Additional 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": "e8c3a63b-b7dd-49d0-9e2a-b6c3cc1f7178", "Description": "sample string 2" }, { "WorkEnvironmentTypeId": "e8c3a63b-b7dd-49d0-9e2a-b6c3cc1f7178", "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>e8c3a63b-b7dd-49d0-9e2a-b6c3cc1f7178</WorkEnvironmentTypeId> </WorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel> <WorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel> <Description>sample string 2</Description> <WorkEnvironmentTypeId>e8c3a63b-b7dd-49d0-9e2a-b6c3cc1f7178</WorkEnvironmentTypeId> </WorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel> </ArrayOfWorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel>