Create an Empty Leg.

This will create and post an Empty Leg to Avinode Marketplace, based on the provided payload.

Query Params
fields[emptylegs]
array of strings

Sparse fields

fields[emptylegs]
Body Params
string

A unique identifier for this resource

string

The type of resource

string

A URI at which this resource may be read

lift
object
required

The lift for the empty leg

startAirport
object
required

The origin airport.

endAirport
object
required

The destination airport.

string
required

The start date and time for the empty leg.

string
required

The end date and time for the empty leg.

boolean

Is this empty leg published in the marketplace ?

string

Any message from the seller. This will be shown to potential buyers.

boolean

Has the seller verified the correctness of this empty leg ?

string

The price the seller has set for this empty leg.

string

The ISO currency code for the corresponding field 'sellerPrice'

actions
object
links
object
Headers
string

ISO8601 Timestamp

string

API Token

string

Calling product / software (ex: AcmeApp-v10.2)

Response

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json