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": "758268f5-a4b0-4437-b663-d68206ac1580", "AirportFrequency": "sample string 2", "CountryId": "8a4c76e7-0676-48fc-a425-f5e2cd90baf8", "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": "8ac7264a-9e5d-4cfa-bfcc-a5f6fe0e6611", "Longitude": "sample string 10", "RunwayDirection": "sample string 11", "RunwayLength": 1, "RunwayLengthUnitType": 1, "IsInboundRouteRequired": true, "IsOutboundRouteRequired": true, "Id": "758268f5-a4b0-4437-b663-d68206ac1580", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"LocationId":"758268f5-a4b0-4437-b663-d68206ac1580","AirportFrequency":"sample string 2","CountryId":"8a4c76e7-0676-48fc-a425-f5e2cd90baf8","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":"8ac7264a-9e5d-4cfa-bfcc-a5f6fe0e6611","Longitude":"sample string 10","RunwayDirection":"sample string 11","RunwayLength":1,"RunwayLengthUnitType":1,"IsInboundRouteRequired":true,"IsOutboundRouteRequired":true,"Id":"758268f5-a4b0-4437-b663-d68206ac1580","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">758268f5-a4b0-4437-b663-d68206ac1580</Id> <AirportFrequency>sample string 2</AirportFrequency> <CountryId>8a4c76e7-0676-48fc-a425-f5e2cd90baf8</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>758268f5-a4b0-4437-b663-d68206ac1580</LocationId> <LocationName>sample string 7</LocationName> <LocationShortName>sample string 8</LocationShortName> <LocationTypeId>8ac7264a-9e5d-4cfa-bfcc-a5f6fe0e6611</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": "a2fbf097-e26c-47c4-8ede-ad7f823dad52", "AirportFrequency": "sample string 2", "CountryId": "61df1fbf-ecd0-4fe1-b289-25823b8566eb", "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": "ca16e15f-70d0-46c0-8e20-e4c0a362b700", "Longitude": "sample string 10", "RunwayDirection": "sample string 11", "RunwayLength": 1, "RunwayLengthUnitType": 1, "IsInboundRouteRequired": true, "IsOutboundRouteRequired": true, "Id": "a2fbf097-e26c-47c4-8ede-ad7f823dad52", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
{"LocationId":"a2fbf097-e26c-47c4-8ede-ad7f823dad52","AirportFrequency":"sample string 2","CountryId":"61df1fbf-ecd0-4fe1-b289-25823b8566eb","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":"ca16e15f-70d0-46c0-8e20-e4c0a362b700","Longitude":"sample string 10","RunwayDirection":"sample string 11","RunwayLength":1,"RunwayLengthUnitType":1,"IsInboundRouteRequired":true,"IsOutboundRouteRequired":true,"Id":"a2fbf097-e26c-47c4-8ede-ad7f823dad52","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">a2fbf097-e26c-47c4-8ede-ad7f823dad52</Id> <AirportFrequency>sample string 2</AirportFrequency> <CountryId>61df1fbf-ecd0-4fe1-b289-25823b8566eb</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>a2fbf097-e26c-47c4-8ede-ad7f823dad52</LocationId> <LocationName>sample string 7</LocationName> <LocationShortName>sample string 8</LocationShortName> <LocationTypeId>ca16e15f-70d0-46c0-8e20-e4c0a362b700</LocationTypeId> <Longitude>sample string 10</Longitude> <RunwayDirection>sample string 11</RunwayDirection> <RunwayLength>1</RunwayLength> <RunwayLengthUnitType>1</RunwayLengthUnitType> </LocationDetails>