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": "9cf03843-84fe-47c6-ac88-3d57effe9b25", "Description": "sample string 2" }, { "WorkEnvironmentTypeId": "9cf03843-84fe-47c6-ac88-3d57effe9b25", "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>9cf03843-84fe-47c6-ac88-3d57effe9b25</WorkEnvironmentTypeId> </WorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel> <WorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel> <Description>sample string 2</Description> <WorkEnvironmentTypeId>9cf03843-84fe-47c6-ac88-3d57effe9b25</WorkEnvironmentTypeId> </WorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel> </ArrayOfWorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel>