POST api/v1/locations
Request Information
URI Parameters
None.
Body Parameters
LocationDetailsName | Description | Type | Additional information |
---|---|---|---|
LocationId | globally unique identifier |
None. |
|
AirportFrequency | string |
String length: inclusive between 0 and 50 |
|
CountryId | globally unique identifier |
Required |
|
Description | string |
None. |
|
Elevation | integer |
None. |
|
ElevationUnitType | integer |
None. |
|
IcaoCode | string |
String length: inclusive between 0 and 10 |
|
Latitude | string |
String length: inclusive between 0 and 10 |
|
LocationName | string |
Required String length: inclusive between 0 and 100 |
|
LocationShortName | string |
String length: inclusive between 0 and 50 |
|
LocationTypeId | globally unique identifier |
Required |
|
Longitude | string |
String length: inclusive between 0 and 10 |
|
RunwayDirection | string |
String length: inclusive between 0 and 50 |
|
RunwayLength | integer |
None. |
|
RunwayLengthUnitType | integer |
None. |
|
IsInboundRouteRequired | boolean |
None. |
|
IsOutboundRouteRequired | boolean |
None. |
|
Id | globally unique identifier |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Request Formats
application/json, text/json
{ "LocationId": "4cc4f912-6b3a-4c96-92ac-6b4cc2a83f63", "AirportFrequency": "sample string 2", "CountryId": "2eb728c3-eff5-4e59-be03-de8758284276", "Description": "sample string 4", "Elevation": 1, "ElevationUnitType": 1, "IcaoCode": "sample string 5", "Latitude": "sample string 6", "LocationName": "sample string 7", "LocationShortName": "sample string 8", "LocationTypeId": "0c715462-ee8b-4f3b-8bec-43a04a640c88", "Longitude": "sample string 10", "RunwayDirection": "sample string 11", "RunwayLength": 1, "RunwayLengthUnitType": 1, "IsInboundRouteRequired": true, "IsOutboundRouteRequired": true, "Id": "4cc4f912-6b3a-4c96-92ac-6b4cc2a83f63", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"LocationId":"4cc4f912-6b3a-4c96-92ac-6b4cc2a83f63","AirportFrequency":"sample string 2","CountryId":"2eb728c3-eff5-4e59-be03-de8758284276","Description":"sample string 4","Elevation":1,"ElevationUnitType":1,"IcaoCode":"sample string 5","Latitude":"sample string 6","LocationName":"sample string 7","LocationShortName":"sample string 8","LocationTypeId":"0c715462-ee8b-4f3b-8bec-43a04a640c88","Longitude":"sample string 10","RunwayDirection":"sample string 11","RunwayLength":1,"RunwayLengthUnitType":1,"IsInboundRouteRequired":true,"IsOutboundRouteRequired":true,"Id":"4cc4f912-6b3a-4c96-92ac-6b4cc2a83f63","CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
<LocationDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Location"> <CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord> <CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord> <Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">4cc4f912-6b3a-4c96-92ac-6b4cc2a83f63</Id> <AirportFrequency>sample string 2</AirportFrequency> <CountryId>2eb728c3-eff5-4e59-be03-de8758284276</CountryId> <Description>sample string 4</Description> <Elevation>1</Elevation> <ElevationUnitType>1</ElevationUnitType> <IcaoCode>sample string 5</IcaoCode> <IsInboundRouteRequired>true</IsInboundRouteRequired> <IsOutboundRouteRequired>true</IsOutboundRouteRequired> <Latitude>sample string 6</Latitude> <LocationId>4cc4f912-6b3a-4c96-92ac-6b4cc2a83f63</LocationId> <LocationName>sample string 7</LocationName> <LocationShortName>sample string 8</LocationShortName> <LocationTypeId>0c715462-ee8b-4f3b-8bec-43a04a640c88</LocationTypeId> <Longitude>sample string 10</Longitude> <RunwayDirection>sample string 11</RunwayDirection> <RunwayLength>1</RunwayLength> <RunwayLengthUnitType>1</RunwayLengthUnitType> </LocationDetails>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
LocationDetailsName | Description | Type | Additional information |
---|---|---|---|
LocationId | globally unique identifier |
None. |
|
AirportFrequency | string |
String length: inclusive between 0 and 50 |
|
CountryId | globally unique identifier |
Required |
|
Description | string |
None. |
|
Elevation | integer |
None. |
|
ElevationUnitType | integer |
None. |
|
IcaoCode | string |
String length: inclusive between 0 and 10 |
|
Latitude | string |
String length: inclusive between 0 and 10 |
|
LocationName | string |
Required String length: inclusive between 0 and 100 |
|
LocationShortName | string |
String length: inclusive between 0 and 50 |
|
LocationTypeId | globally unique identifier |
Required |
|
Longitude | string |
String length: inclusive between 0 and 10 |
|
RunwayDirection | string |
String length: inclusive between 0 and 50 |
|
RunwayLength | integer |
None. |
|
RunwayLengthUnitType | integer |
None. |
|
IsInboundRouteRequired | boolean |
None. |
|
IsOutboundRouteRequired | boolean |
None. |
|
Id | globally unique identifier |
None. |
|
CanUpdateRecord | boolean |
None. |
|
CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
{ "LocationId": "ac6ee39b-3a51-4dff-a372-36a904c594a5", "AirportFrequency": "sample string 2", "CountryId": "26e58d5d-dbd1-4314-ab19-e634025309e9", "Description": "sample string 4", "Elevation": 1, "ElevationUnitType": 1, "IcaoCode": "sample string 5", "Latitude": "sample string 6", "LocationName": "sample string 7", "LocationShortName": "sample string 8", "LocationTypeId": "5794f228-5138-4601-8b79-c901b6b800ee", "Longitude": "sample string 10", "RunwayDirection": "sample string 11", "RunwayLength": 1, "RunwayLengthUnitType": 1, "IsInboundRouteRequired": true, "IsOutboundRouteRequired": true, "Id": "ac6ee39b-3a51-4dff-a372-36a904c594a5", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"LocationId":"ac6ee39b-3a51-4dff-a372-36a904c594a5","AirportFrequency":"sample string 2","CountryId":"26e58d5d-dbd1-4314-ab19-e634025309e9","Description":"sample string 4","Elevation":1,"ElevationUnitType":1,"IcaoCode":"sample string 5","Latitude":"sample string 6","LocationName":"sample string 7","LocationShortName":"sample string 8","LocationTypeId":"5794f228-5138-4601-8b79-c901b6b800ee","Longitude":"sample string 10","RunwayDirection":"sample string 11","RunwayLength":1,"RunwayLengthUnitType":1,"IsInboundRouteRequired":true,"IsOutboundRouteRequired":true,"Id":"ac6ee39b-3a51-4dff-a372-36a904c594a5","CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
<LocationDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.Location"> <CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord> <CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord> <Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">ac6ee39b-3a51-4dff-a372-36a904c594a5</Id> <AirportFrequency>sample string 2</AirportFrequency> <CountryId>26e58d5d-dbd1-4314-ab19-e634025309e9</CountryId> <Description>sample string 4</Description> <Elevation>1</Elevation> <ElevationUnitType>1</ElevationUnitType> <IcaoCode>sample string 5</IcaoCode> <IsInboundRouteRequired>true</IsInboundRouteRequired> <IsOutboundRouteRequired>true</IsOutboundRouteRequired> <Latitude>sample string 6</Latitude> <LocationId>ac6ee39b-3a51-4dff-a372-36a904c594a5</LocationId> <LocationName>sample string 7</LocationName> <LocationShortName>sample string 8</LocationShortName> <LocationTypeId>5794f228-5138-4601-8b79-c901b6b800ee</LocationTypeId> <Longitude>sample string 10</Longitude> <RunwayDirection>sample string 11</RunwayDirection> <RunwayLength>1</RunwayLength> <RunwayLengthUnitType>1</RunwayLengthUnitType> </LocationDetails>