PUT api/v1/locations/{locationId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
locationId | globally unique identifier |
Required |
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": "b04d2a8c-2eb3-407a-9e45-90e540a19e7d", "AirportFrequency": "sample string 2", "CountryId": "1d5f90bf-9f27-4c9c-b25e-b04ea4aeddfb", "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": "43edfb94-3416-45a3-b05b-e0a2076ab35c", "Longitude": "sample string 10", "RunwayDirection": "sample string 11", "RunwayLength": 1, "RunwayLengthUnitType": 1, "IsInboundRouteRequired": true, "IsOutboundRouteRequired": true, "Id": "b04d2a8c-2eb3-407a-9e45-90e540a19e7d", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"LocationId":"b04d2a8c-2eb3-407a-9e45-90e540a19e7d","AirportFrequency":"sample string 2","CountryId":"1d5f90bf-9f27-4c9c-b25e-b04ea4aeddfb","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":"43edfb94-3416-45a3-b05b-e0a2076ab35c","Longitude":"sample string 10","RunwayDirection":"sample string 11","RunwayLength":1,"RunwayLengthUnitType":1,"IsInboundRouteRequired":true,"IsOutboundRouteRequired":true,"Id":"b04d2a8c-2eb3-407a-9e45-90e540a19e7d","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">b04d2a8c-2eb3-407a-9e45-90e540a19e7d</Id> <AirportFrequency>sample string 2</AirportFrequency> <CountryId>1d5f90bf-9f27-4c9c-b25e-b04ea4aeddfb</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>b04d2a8c-2eb3-407a-9e45-90e540a19e7d</LocationId> <LocationName>sample string 7</LocationName> <LocationShortName>sample string 8</LocationShortName> <LocationTypeId>43edfb94-3416-45a3-b05b-e0a2076ab35c</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": "6fb7ef39-c347-44a3-94ee-2341b54515ed", "AirportFrequency": "sample string 2", "CountryId": "5f5fd8f5-3ad5-4d1d-b594-42e94ce31ab6", "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": "55761130-bdf3-49b8-a6f0-9c677643fec6", "Longitude": "sample string 10", "RunwayDirection": "sample string 11", "RunwayLength": 1, "RunwayLengthUnitType": 1, "IsInboundRouteRequired": true, "IsOutboundRouteRequired": true, "Id": "6fb7ef39-c347-44a3-94ee-2341b54515ed", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"LocationId":"6fb7ef39-c347-44a3-94ee-2341b54515ed","AirportFrequency":"sample string 2","CountryId":"5f5fd8f5-3ad5-4d1d-b594-42e94ce31ab6","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":"55761130-bdf3-49b8-a6f0-9c677643fec6","Longitude":"sample string 10","RunwayDirection":"sample string 11","RunwayLength":1,"RunwayLengthUnitType":1,"IsInboundRouteRequired":true,"IsOutboundRouteRequired":true,"Id":"6fb7ef39-c347-44a3-94ee-2341b54515ed","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">6fb7ef39-c347-44a3-94ee-2341b54515ed</Id> <AirportFrequency>sample string 2</AirportFrequency> <CountryId>5f5fd8f5-3ad5-4d1d-b594-42e94ce31ab6</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>6fb7ef39-c347-44a3-94ee-2341b54515ed</LocationId> <LocationName>sample string 7</LocationName> <LocationShortName>sample string 8</LocationShortName> <LocationTypeId>55761130-bdf3-49b8-a6f0-9c677643fec6</LocationTypeId> <Longitude>sample string 10</Longitude> <RunwayDirection>sample string 11</RunwayDirection> <RunwayLength>1</RunwayLength> <RunwayLengthUnitType>1</RunwayLengthUnitType> </LocationDetails>