POST api/v1/inoutboundpoints
Inserts the specified InOutboundPoint details.
Request Information
URI Parameters
None.
Body Parameters
The InOutboundPoint details.
InOutboundPointDetails| Name | Description | Type | Additional 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": "1b5c17a8-6f68-4edc-94e0-82e01b51271d",
"LocationId": "4e80eb54-816e-43fe-a490-caf7a3558b09",
"InOutboundPointName": "sample string 3",
"IsInboundPoint": true,
"IsOutboundPoint": true,
"Id": "1b5c17a8-6f68-4edc-94e0-82e01b51271d",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"InOutboundPointId":"1b5c17a8-6f68-4edc-94e0-82e01b51271d","LocationId":"4e80eb54-816e-43fe-a490-caf7a3558b09","InOutboundPointName":"sample string 3","IsInboundPoint":true,"IsOutboundPoint":true,"Id":"1b5c17a8-6f68-4edc-94e0-82e01b51271d","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">1b5c17a8-6f68-4edc-94e0-82e01b51271d</Id> <InOutboundPointId>1b5c17a8-6f68-4edc-94e0-82e01b51271d</InOutboundPointId> <InOutboundPointName>sample string 3</InOutboundPointName> <IsInboundPoint>true</IsInboundPoint> <IsOutboundPoint>true</IsOutboundPoint> <LocationId>4e80eb54-816e-43fe-a490-caf7a3558b09</LocationId> </InOutboundPointDetails>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
LocationDetails| Name | 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
Sample:
{
"LocationId": "4b61dab3-3e08-41ba-b89a-59aa72764357",
"AirportFrequency": "sample string 2",
"CountryId": "3db606c9-2eb4-478c-8bbb-34720e467e75",
"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": "b4091888-6854-42f0-9ad1-6be515300a2f",
"Longitude": "sample string 10",
"RunwayDirection": "sample string 11",
"RunwayLength": 1,
"RunwayLengthUnitType": 1,
"IsInboundRouteRequired": true,
"IsOutboundRouteRequired": true,
"Id": "4b61dab3-3e08-41ba-b89a-59aa72764357",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"LocationId":"4b61dab3-3e08-41ba-b89a-59aa72764357","AirportFrequency":"sample string 2","CountryId":"3db606c9-2eb4-478c-8bbb-34720e467e75","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":"b4091888-6854-42f0-9ad1-6be515300a2f","Longitude":"sample string 10","RunwayDirection":"sample string 11","RunwayLength":1,"RunwayLengthUnitType":1,"IsInboundRouteRequired":true,"IsOutboundRouteRequired":true,"Id":"4b61dab3-3e08-41ba-b89a-59aa72764357","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">4b61dab3-3e08-41ba-b89a-59aa72764357</Id> <AirportFrequency>sample string 2</AirportFrequency> <CountryId>3db606c9-2eb4-478c-8bbb-34720e467e75</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>4b61dab3-3e08-41ba-b89a-59aa72764357</LocationId> <LocationName>sample string 7</LocationName> <LocationShortName>sample string 8</LocationShortName> <LocationTypeId>b4091888-6854-42f0-9ad1-6be515300a2f</LocationTypeId> <Longitude>sample string 10</Longitude> <RunwayDirection>sample string 11</RunwayDirection> <RunwayLength>1</RunwayLength> <RunwayLengthUnitType>1</RunwayLengthUnitType> </LocationDetails>