POST api/v1/inoutboundpoints

Inserts the specified InOutboundPoint details.

Request Information

URI Parameters

None.

Body Parameters

The InOutboundPoint details.

InOutboundPointDetails
NameDescriptionTypeAdditional information
InOutboundPointId

globally unique identifier

None.

LocationId

globally unique identifier

Required

InOutboundPointName

string

String length: inclusive between 0 and 50

IsInboundPoint

boolean

None.

IsOutboundPoint

boolean

None.

Id

globally unique identifier

None.

CanUpdateRecord

boolean

None.

CanDeleteRecord

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "InOutboundPointId": "a35720d3-91e6-4f29-90ec-631b0ec4c89f",
  "LocationId": "39568b56-e676-4a7b-acc3-ea5984be490c",
  "InOutboundPointName": "sample string 3",
  "IsInboundPoint": true,
  "IsOutboundPoint": true,
  "Id": "a35720d3-91e6-4f29-90ec-631b0ec4c89f",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"InOutboundPointId":"a35720d3-91e6-4f29-90ec-631b0ec4c89f","LocationId":"39568b56-e676-4a7b-acc3-ea5984be490c","InOutboundPointName":"sample string 3","IsInboundPoint":true,"IsOutboundPoint":true,"Id":"a35720d3-91e6-4f29-90ec-631b0ec4c89f","CanUpdateRecord":true,"CanDeleteRecord":true}

application/xml, text/xml

Sample:
<InOutboundPointDetails 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">a35720d3-91e6-4f29-90ec-631b0ec4c89f</Id>
  <InOutboundPointId>a35720d3-91e6-4f29-90ec-631b0ec4c89f</InOutboundPointId>
  <InOutboundPointName>sample string 3</InOutboundPointName>
  <IsInboundPoint>true</IsInboundPoint>
  <IsOutboundPoint>true</IsOutboundPoint>
  <LocationId>39568b56-e676-4a7b-acc3-ea5984be490c</LocationId>
</InOutboundPointDetails>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InOutboundPointDetails'.

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": "c862aa4a-8222-4b68-979e-aeeefcef6551",
  "AirportFrequency": "sample string 2",
  "CountryId": "9eeb7b82-7da6-4ba3-b9eb-3ec1dfe80abf",
  "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": "54833115-74ff-4d41-82a2-6207ee847567",
  "Longitude": "sample string 10",
  "RunwayDirection": "sample string 11",
  "RunwayLength": 1,
  "RunwayLengthUnitType": 1,
  "IsInboundRouteRequired": true,
  "IsOutboundRouteRequired": true,
  "Id": "c862aa4a-8222-4b68-979e-aeeefcef6551",
  "CanUpdateRecord": true,
  "CanDeleteRecord": true
}

text/html

Sample:
{"LocationId":"c862aa4a-8222-4b68-979e-aeeefcef6551","AirportFrequency":"sample string 2","CountryId":"9eeb7b82-7da6-4ba3-b9eb-3ec1dfe80abf","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":"54833115-74ff-4d41-82a2-6207ee847567","Longitude":"sample string 10","RunwayDirection":"sample string 11","RunwayLength":1,"RunwayLengthUnitType":1,"IsInboundRouteRequired":true,"IsOutboundRouteRequired":true,"Id":"c862aa4a-8222-4b68-979e-aeeefcef6551","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">c862aa4a-8222-4b68-979e-aeeefcef6551</Id>
  <AirportFrequency>sample string 2</AirportFrequency>
  <CountryId>9eeb7b82-7da6-4ba3-b9eb-3ec1dfe80abf</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>c862aa4a-8222-4b68-979e-aeeefcef6551</LocationId>
  <LocationName>sample string 7</LocationName>
  <LocationShortName>sample string 8</LocationShortName>
  <LocationTypeId>54833115-74ff-4d41-82a2-6207ee847567</LocationTypeId>
  <Longitude>sample string 10</Longitude>
  <RunwayDirection>sample string 11</RunwayDirection>
  <RunwayLength>1</RunwayLength>
  <RunwayLengthUnitType>1</RunwayLengthUnitType>
</LocationDetails>