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| Name | 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": "74d03877-903a-4baa-a1a0-ed5b2527bb32",
"Description": "sample string 2"
},
{
"WorkEnvironmentTypeId": "74d03877-903a-4baa-a1a0-ed5b2527bb32",
"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>74d03877-903a-4baa-a1a0-ed5b2527bb32</WorkEnvironmentTypeId>
</WorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel>
<WorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel>
<Description>sample string 2</Description>
<WorkEnvironmentTypeId>74d03877-903a-4baa-a1a0-ed5b2527bb32</WorkEnvironmentTypeId>
</WorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel>
</ArrayOfWorkEnvironmentTypesV1Controller.WorkEnvironmentTypeViewModel>