post https://api.aerocrs.com/v5/updateFares
This method will change the fare details
Important
With this method you can not update information from other airlines.
Request parameters
Parameter | Type | Description |
---|---|---|
Fare Structure | ||
fares | Element* | The following elements are within <fare> which represents a <fare> within <fares> |
fare | Element* | The Element hold the fare details |
Fare Identification | ||
fareDetails | Element* | The Element hold the fare details in AeroCRS system |
fromcode | String* | Departure airport code |
tocode | String* | Arrival airport code |
classcode | String* | Class code |
fromdate | Date* | From date YYYY/MM/DD |
todate | Date* | To date YYYY/MM/DD |
currency | String* | Currency ISO format (Example - USD) |
New Fare Details | ||
newDetails | Element* | The Element hold the new details to update |
fromcode | String* | Departure airport code |
tocode | String* | Arrival airport code |
classcode | String* | Class code |
fromdate | Date* | From date YYYY/MM/DD |
todate | Date* | To date YYYY/MM/DD |
Fare Configuration | ||
baggage | Number | Set kg/lb (according to company settings) of baggage allowed for this route |
brand | String | Brand name (according the company), In order to change to default settings, Set zero value |
scheme | String | Scheme name (according the company), In order to change to default settings, Set zero value |
terminal | String | Departure terminal |
Fare Availability Rules | ||
showhours | Number | Set the number of hours before the flight the fare should show if set to zero, will show always |
expirehours | Number | Set the number of hours before the flight this fare should expire |
minstay | Number | Set the number of days for return bookings, if a booking is done for less than the stated days, the system will not show the fare |
maxstay | Number | Set the number of days for return bookings, if a booking is done for more than the stated days, the system will not show the fare |
sellstart | Date | Fare sell start date |
sellend | Date | Fare sell end date |
Fare Restrictions | ||
limitcurrency | Boolean | Limit the fare to be sold only for this currency |
chargevatontax | Boolean | Charge VAT on tax |
One Way Pricing | ||
owadl | Money | One way fare adult ticket price amount |
owchd | Money | One way fare child ticket price amount |
owinf | Money | One way fare infant ticket price amount |
owtax1 | Money | One way fare ticket tax 1 amount |
owtax2 | Money | One way fare ticket tax 2 amount |
owtax3 | Money | One way fare ticket tax 3 amount |
owtax4 | Money | One way fare ticket tax 4 amount |
Round Trip Pricing | ||
rtadl | Money | Round trip fare adult ticket price amount |
rtchd | Money | Round trip fare child ticket price amount |
rtinf | Money | Round trip fare infant ticket price amount |
rttax1 | Money | Round trip fare ticket tax 1 amount |
rttax2 | Money | Round trip fare ticket tax 2 amount |
rttax3 | Money | Round trip fare ticket tax 3 amount |
rttax4 | Money | Round trip fare ticket tax 4 amount |
Yield Management | ||
yieldtype | String | Cabin/Class |
yieldshow | Number | Percentage to show fare |
yieldexpire | Number | Percentage to expire fare |
Days of Week Settings | ||
sunday | Boolean | Selling day (Sunday) |
monday | Boolean | Selling day (Monday) |
tuesday | Boolean | Selling day (Tuesday) |
wednesday | Boolean | Selling day (Wednesday) |
thursday | Boolean | Selling day (Thursday) |
friday | Boolean | Selling day (Friday) |
saturday | Boolean | Selling day (Saturday) |
* Mandatory parameters
Notice!
The request can contain optional parameters. In case some parameters are skipped - those fields data in AeroCRS system will not be changed.
Optional
Request can contain multiple fares
Response parameters
Parameter | Type | Description |
---|---|---|
Response Structure | ||
fares | Element | The following elements are within <fare> which represents a <fare> within <fares> |
fare | Element | The following parameters are within fare |
Updated Fare Information | ||
fromcode | String | The departure airport code which been updated |
tocode | String | The arrival airport code which been updated |
classcode | String | The class code which been updated |
fromdate | Date | From date YYYY/MM/DD which been updated |
todate | Date | To date YYYY/MM/DD which been updated |
currency | String | Currency ISO format which been updated |
Operation Result | ||
success | Boolean | true/false |
error | String | Error information |