POST api/bifrost/Azure/GetAirport

Request Information

URI Parameters

None.

Body Parameters

AirportRequest
NameDescriptionTypeAdditional information
Airport

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Airport": "sample string 1"
}

application/xml, text/xml

Sample:
<AirportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">
  <Airport>sample string 1</Airport>
</AirportRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AirportResponse
NameDescriptionTypeAdditional information
Authenticated

boolean

None.

Message

string

None.

ListOfAirport

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Authenticated": true,
  "Message": "sample string 2",
  "ListOfAirport": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<AirportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GT.AzrTravelApi.Model">
  <Authenticated>true</Authenticated>
  <ListOfAirport xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ListOfAirport>
  <Message>sample string 2</Message>
</AirportResponse>