updateClass

Update class or classes quantity

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
❗️

Important

This API call will NOT work for multileg flights

📘

Operational information

The quantity parameter sets the new number of free seats.
For instance, if you have 4 booked passengers, and you want to set the new class quantity to be 10 (=6 free seats) - you need to send 6.

Request Parameters

ParameterTypeDescription
FlightsElement*Array of flights
FlightElement*Contains flight information
flightnumberString*Flight Number
flightdateDate*Date of flight YYYY/mm/dd
fromcodeString*Flight departure destination
tocodeString*Flight arrival destination
classElement*Array of classes
codeString*Class code
typeString*Open or closed (O/C only)
qtyNumberQuantity of seats.
This field is mandatory when type is O
closedBooleanParameter to close the class (nesting feature)

Response Parameters

ParameterTypeDescription
SuccessBooleantrue/false
DetailsStringAdditional information in case of failure. (Only when success = false)
Body Params
string

The method accepts XML/JSON

Headers
string

ID provided to you by AeroCRS

string

ID provided to you by AeroCRS

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json
application/xml