empty_legs

Get a single Empty Leg record

Changed on

Empty legs with a detailed response and backward-compatible aircraft references.

get/v3/empty_legs/{id}/

Request

  • Base URL
    https://api.aviapages.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.aviapages.com/v3/empty_legs/{id}/
  • Auth
    API key in header Authorization

Path parameters

idinteger required

Empty leg ID

Response

idinteger required
registration_numberstring nullable required

Aircraft registration number

aircraft_typestring nullable required
companystring nullable required

Company name

from_date_utcstring date-time required

From date available in format "yyyy-mm-ddThh:mm"

to_date_utcstring date-time required

To date available in format "yyyy-mm-ddThh:mm"

commentstring nullable required

Commentary about availability record

pricenumber double nullable required
currency_codestring nullable required

Price currency (3 digit currency code)

created_atstring date-time required
updated_atstring date-time required

Changes

    • breaking

      the response's property type changed from object to no type for status

    • breaking

      removed the required property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      the response optional property became read-only for the status

    • info

      the response optional property became read-only for the status

    • info

      the response optional property became read-only for the status

    • info

      the response optional property became read-only for the status

    • info

      the response optional property became read-only for the status

    • info

      added to the response property allOf list for the response status

    • info

      added to the response property allOf list for the response status

    • info

      removed from the response property allOf list for the response status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      response property aircraft_type deprecated

    • info

      response property company deprecated

    • info

      response property registration_number deprecated

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      the response required property became read-only for the status

    • info

      the response required property became read-only for the status

    • info

      the response required property became read-only for the status