operator_quote_messages

Get list of Quote Message records

Changed on

Get list of Quote Message records. All parameters are optional

get/v3/operator_quote_messages/

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/operator_quote_messages/
  • Auth
    API key in header Authorization

Query parameters

arrival_airport_icao_instring[]

Quote arrival airport ICAO in filter

departure_airport_icao_instring[]

Quote departure airport ICAO in filter

from_departure_date_utcstring date-time

first leg departure_datetime filter in format "yyyy-mm-ddThh:mm"

from_email_instring[]

Quote Account email in filter

id_ininteger[]

QuoteMessage ID in filter

is_actualboolean

Search by actual only(first leg departure_datetime>now)

is_unansweredboolean

Search unanswered

orderingstring[]

Which field to use when ordering the results.

  • id - id
  • -id - id (descending)
  • flight_request_id - flight_request_id
  • -flight_request_id - flight_request_id (descending)
  • created_at - created_at
  • -created_at - created_at (descending)
  • channel - Channel
  • -channel - Channel (descending)
  • flight_request_comment - flight_request_comment
  • -flight_request_comment - flight_request_comment (descending)
pageinteger

A page number within the paginated result set.

quote_request_idnumber

Quote ID filter

searchstring

Search by departure or arrival airport name, ICAO / IATA codes, city or country name; requester's first and last name, email or company name; requested aircraft type, aircraft class or tail number; Quote or QuoteMessage ids

state_filterstring[]

Choice filter for flight request state. For every state need to use query param with state_filter name and value from choices. Example: state_filter=Delivered&state_filter=Sending

  • Created - Created
  • Sending - Sending
  • Sent - Sent
  • Delivered - Delivered
  • Resending - Resending
  • Error - Error
  • Partially delivered - Partially delivered
  • Open - Open
  • Spam - Spam
  • Unsubscribe - Unsubscribe
  • Test message - Test message
  • Blocked - Blocked
  • Other - Other
to_departure_date_utcstring date-time

first leg departure_datetime filter in format "yyyy-mm-ddThh:mm"

Response

countinteger required
nextstring uri nullable
previousstring uri nullable
next_blocked_reason'authentication_required'
per_pageinteger

Example response

{
  "count": 123,
  "previous": "http://api.example.org/accounts/?page=2",
  "per_page": 20
}

Changes

    • breaking

      the /////// response property's maxLength was unset from 100 for the response status

    • breaking

      added subschema #1 subschema #2 to the /////// response property oneOf list for the response status

    • breaking

      the /////// response's property type changed from string to no type, and format from email to no format for status

    • info

      added the optional property to the response with the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status