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": "38e0250e-8a1a-4892-a994-acbe8e26964a", "AirportFrequency": "sample string 2", "CountryId": "88609d07-c013-4480-b87c-1da43cc68ead", "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": "8f93a4a9-66f8-407b-86af-2eea08cca71f", "Longitude": "sample string 10", "RunwayDirection": "sample string 11", "RunwayLength": 1, "RunwayLengthUnitType": 1, "IsInboundRouteRequired": true, "IsOutboundRouteRequired": true, "Id": "38e0250e-8a1a-4892-a994-acbe8e26964a", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"LocationId":"38e0250e-8a1a-4892-a994-acbe8e26964a","AirportFrequency":"sample string 2","CountryId":"88609d07-c013-4480-b87c-1da43cc68ead","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":"8f93a4a9-66f8-407b-86af-2eea08cca71f","Longitude":"sample string 10","RunwayDirection":"sample string 11","RunwayLength":1,"RunwayLengthUnitType":1,"IsInboundRouteRequired":true,"IsOutboundRouteRequired":true,"Id":"38e0250e-8a1a-4892-a994-acbe8e26964a","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">38e0250e-8a1a-4892-a994-acbe8e26964a</Id> <AirportFrequency>sample string 2</AirportFrequency> <CountryId>88609d07-c013-4480-b87c-1da43cc68ead</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>38e0250e-8a1a-4892-a994-acbe8e26964a</LocationId> <LocationName>sample string 7</LocationName> <LocationShortName>sample string 8</LocationShortName> <LocationTypeId>8f93a4a9-66f8-407b-86af-2eea08cca71f</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": "a9e9c988-d74e-442b-9678-8142ae95a15e", "AirportFrequency": "sample string 2", "CountryId": "7051af49-665b-4b52-9872-af2c50f5bd2b", "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": "1beb5f8f-3210-44f0-8fae-71e8853dc9d8", "Longitude": "sample string 10", "RunwayDirection": "sample string 11", "RunwayLength": 1, "RunwayLengthUnitType": 1, "IsInboundRouteRequired": true, "IsOutboundRouteRequired": true, "Id": "a9e9c988-d74e-442b-9678-8142ae95a15e", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"LocationId":"a9e9c988-d74e-442b-9678-8142ae95a15e","AirportFrequency":"sample string 2","CountryId":"7051af49-665b-4b52-9872-af2c50f5bd2b","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":"1beb5f8f-3210-44f0-8fae-71e8853dc9d8","Longitude":"sample string 10","RunwayDirection":"sample string 11","RunwayLength":1,"RunwayLengthUnitType":1,"IsInboundRouteRequired":true,"IsOutboundRouteRequired":true,"Id":"a9e9c988-d74e-442b-9678-8142ae95a15e","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">a9e9c988-d74e-442b-9678-8142ae95a15e</Id> <AirportFrequency>sample string 2</AirportFrequency> <CountryId>7051af49-665b-4b52-9872-af2c50f5bd2b</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>a9e9c988-d74e-442b-9678-8142ae95a15e</LocationId> <LocationName>sample string 7</LocationName> <LocationShortName>sample string 8</LocationShortName> <LocationTypeId>1beb5f8f-3210-44f0-8fae-71e8853dc9d8</LocationTypeId> <Longitude>sample string 10</Longitude> <RunwayDirection>sample string 11</RunwayDirection> <RunwayLength>1</RunwayLength> <RunwayLengthUnitType>1</RunwayLengthUnitType> </LocationDetails>