post https://api.aerocrs.com/v5/createSSR
This method will allow to add SSRs for specific booking
Request parameters
Parameter | Type | Description |
---|---|---|
firstname | String* | Passenger first name |
lastname | String* | Passenger last name |
paxtitle | String* | Passenger title |
code | String* | SSR code (from getSSRs method) |
bookingid | Number* | Bookingid number |
flights | Element | Includes the flightcodes (mandatory if applyToAllFlights is not defined) |
flightid | Array | Array of flight internal codes (mandatory if applyToAllFlights is not defined) |
applyToAllFlights | Boolean | True if SSR should apply to all flights in booking (default False) |
- Mandatory parameters
Response
success key will be true of all SSRs that were sent returned a true result, False otherwise
Parameter | Type | Description |
---|---|---|
ssrItem | element | Include the SSR item information as it was sent in request |
success | Boolean | True if the SSR was added without errors, False otherwise |