GET api/v1/locationtypes
Gets the location types.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of LocationTypeListItem| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationTypeId | globally unique identifier |
None. |
|
| LocationTypeName | string |
None. |
|
| IsAirfield | boolean |
None. |
|
| CupWaypointId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"LocationTypeId": "cb1aa04a-5c72-4e79-93e8-eea35b72e953",
"LocationTypeName": "sample string 2",
"IsAirfield": true,
"CupWaypointId": 1
},
{
"LocationTypeId": "cb1aa04a-5c72-4e79-93e8-eea35b72e953",
"LocationTypeName": "sample string 2",
"IsAirfield": true,
"CupWaypointId": 1
}
]
text/html
Sample:
[{"LocationTypeId":"cb1aa04a-5c72-4e79-93e8-eea35b72e953","LocationTypeName":"sample string 2","IsAirfield":true,"CupWaypointId":1},{"LocationTypeId":"cb1aa04a-5c72-4e79-93e8-eea35b72e953","LocationTypeName":"sample string 2","IsAirfield":true,"CupWaypointId":1}]
application/xml, text/xml
Sample:
<ArrayOfLocationTypeListItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Location">
<LocationTypeListItem>
<CupWaypointId>1</CupWaypointId>
<IsAirfield>true</IsAirfield>
<LocationTypeId>cb1aa04a-5c72-4e79-93e8-eea35b72e953</LocationTypeId>
<LocationTypeName>sample string 2</LocationTypeName>
</LocationTypeListItem>
<LocationTypeListItem>
<CupWaypointId>1</CupWaypointId>
<IsAirfield>true</IsAirfield>
<LocationTypeId>cb1aa04a-5c72-4e79-93e8-eea35b72e953</LocationTypeId>
<LocationTypeName>sample string 2</LocationTypeName>
</LocationTypeListItem>
</ArrayOfLocationTypeListItem>