post
https://api.aerocrs.com/v5/createFares
Update class or classes quantity
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
ImportantThis API call is not valid for airlines working with Advance Fare Structure
Limited to 1000 new fares per request
Request Parameters
| Parameter | Type | Description |
|---|---|---|
| fromcode | String* | From code |
| tocode | String* | To code |
| classcode | String* | Class code |
| startdate | Date* | Service start date |
| enddate | Date* | Service end date |
| sellstart | Date* | Sell start date |
| sellend | Date* | Sell end date |
| currency | String* | Currency code |
| owadl | Money* | Adult price |
| owchd | Money* | Child price |
| owinf | Money* | Infant price |
| owtax1 | Money* | Tax 1 |
| owtax2 | Money* | Tax 2 |
| owtax3 | Money* | Tax 3 |
| owtax4 | Money* | Tax 4 |
| rtadl | Money* | Round trip Adult price |
| rtchd | Money* | Round trip Child price |
| rtinf | Money* | Round trip Infant price |
| rttax1 | Money* | Round trip Tax 1 |
| rttax2 | Money* | Round Trip Tax 2 |
| rttax3 | Money* | Round Trip Tax 3 |
| rttax4 | Money* | Round Trip Tax 4 |
| showhours | Integer* | Show (H) |
| expirehours | Integer* | Expiry (H) |
| baggageinf | Integer* | Infant baggage allowance |
| baggage | Integer* | Baggage allowance |
| chargetaxonrt | Integer* | Charge TAX on return - Must be 1/2/3 - 1: On both legs, 2: On first leg only, 3: On second leg only |
| vat | Money* | VAT (For 10 percent‚ put 10 without decimal points) |
| chargevatontax | Boolean* | Charge VAT on tax |
| remarks | String* | Rermarks (internal) |
| notifications | String* | Notifications (external) |
| farebasis | String* | Fare basis |
| scheme | String* | Fare scheme |
| faretype | Number | Fare type - must be 1/2/3 - 1: OW/RT combination, 2: OW fare, 3: RT fare (use OW fields) |
| chargetype | String* | Charge type |
| limitcurrency | Boolean* | Limit selling to currency |
| brand | String* | Brand name |
| minstay | Integer* | Minimum stay |
| maxstay | Integer* | Maximum stay |
| yieldshow | Integer* | Yield show (must be between 0 and 100) |
| yieldexpire | Integer* | Yield expire (must be between 0 and 100) |
| yieldtype | String | Yield type (must be Cabin/Class) |
| sunday | Bit* | Sunday (service day) |
| monday | Bit* | Monday (service day) |
| tuesday | Bit* | Tuesday (service day) |
| wednesday | Bit* | Wednesday (service day) |
| thursday | Bit* | Thursday (service day) |
| friday | Bit* | Friday (service day) |
| saturday | Bit* | Saturday (service day) |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| Success | Boolean | true/false |
| Details | String | Additional information in case of failure. (Only when success = false) |

