PUT api/v1/locations/{locationId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationId

globally unique identifier

Required

Body Parameters

LocationDetails
NameDescriptionTypeAdditional 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

Sample:
{
  "LocationId": "c0c74740-f58b-4a90-8e78-e1eff1d0aafb",
  "AirportFrequency": "sample string 2",
  "CountryId": "3c54b724-b076-4766-a8f2-5a185df691a9",
  "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": "750c66c7-7e83-4552-a47c-4a013dc55a8e",
  "Longitude": "sample string 10",
  "RunwayDirection": "sample string 11",
  "RunwayLength": 1,
  "RunwayLengthUnitType": 1,
  "IsInboundRouteRequired": true,
  "IsOutboundRouteRequired": true,
  "Id": "c0c74740-f58b-4a90-8e78-e1eff1d0aafb",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"LocationId":"c0c74740-f58b-4a90-8e78-e1eff1d0aafb","AirportFrequency":"sample string 2","CountryId":"3c54b724-b076-4766-a8f2-5a185df691a9","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":"750c66c7-7e83-4552-a47c-4a013dc55a8e","Longitude":"sample string 10","RunwayDirection":"sample string 11","RunwayLength":1,"RunwayLengthUnitType":1,"IsInboundRouteRequired":true,"IsOutboundRouteRequired":true,"Id":"c0c74740-f58b-4a90-8e78-e1eff1d0aafb","CanUpdateRecord":true,"CanDeleteRecord":true}

application/xml, text/xml

Sample:
<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">c0c74740-f58b-4a90-8e78-e1eff1d0aafb</Id>
  <AirportFrequency>sample string 2</AirportFrequency>
  <CountryId>3c54b724-b076-4766-a8f2-5a185df691a9</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>c0c74740-f58b-4a90-8e78-e1eff1d0aafb</LocationId>
  <LocationName>sample string 7</LocationName>
  <LocationShortName>sample string 8</LocationShortName>
  <LocationTypeId>750c66c7-7e83-4552-a47c-4a013dc55a8e</LocationTypeId>
  <Longitude>sample string 10</Longitude>
  <RunwayDirection>sample string 11</RunwayDirection>
  <RunwayLength>1</RunwayLength>
  <RunwayLengthUnitType>1</RunwayLengthUnitType>
</LocationDetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

LocationDetails
NameDescriptionTypeAdditional 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

Sample:
{
  "LocationId": "9586adc3-1e82-42e9-9110-41822696ddf3",
  "AirportFrequency": "sample string 2",
  "CountryId": "68ff42b3-9a49-46a0-bd3c-3641c9134372",
  "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": "6302bbdd-168e-4dbe-8e7b-230cfe1ba9b4",
  "Longitude": "sample string 10",
  "RunwayDirection": "sample string 11",
  "RunwayLength": 1,
  "RunwayLengthUnitType": 1,
  "IsInboundRouteRequired": true,
  "IsOutboundRouteRequired": true,
  "Id": "9586adc3-1e82-42e9-9110-41822696ddf3",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"LocationId":"9586adc3-1e82-42e9-9110-41822696ddf3","AirportFrequency":"sample string 2","CountryId":"68ff42b3-9a49-46a0-bd3c-3641c9134372","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":"6302bbdd-168e-4dbe-8e7b-230cfe1ba9b4","Longitude":"sample string 10","RunwayDirection":"sample string 11","RunwayLength":1,"RunwayLengthUnitType":1,"IsInboundRouteRequired":true,"IsOutboundRouteRequired":true,"Id":"9586adc3-1e82-42e9-9110-41822696ddf3","CanUpdateRecord":true,"CanDeleteRecord":true}

application/xml, text/xml

Sample:
<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">9586adc3-1e82-42e9-9110-41822696ddf3</Id>
  <AirportFrequency>sample string 2</AirportFrequency>
  <CountryId>68ff42b3-9a49-46a0-bd3c-3641c9134372</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>9586adc3-1e82-42e9-9110-41822696ddf3</LocationId>
  <LocationName>sample string 7</LocationName>
  <LocationShortName>sample string 8</LocationShortName>
  <LocationTypeId>6302bbdd-168e-4dbe-8e7b-230cfe1ba9b4</LocationTypeId>
  <Longitude>sample string 10</Longitude>
  <RunwayDirection>sample string 11</RunwayDirection>
  <RunwayLength>1</RunwayLength>
  <RunwayLengthUnitType>1</RunwayLengthUnitType>
</LocationDetails>