User Tools

Site Tools


ors-soap-api:public:cancel

This is an old revision of the document!


Cancel method

Cancel booking. This method cancels booking on TourOperator side. After cancellation there can sometimes be cancellation costs. Most TourOperators supports cancel_info] request, that returns cancellation costs prior to cancellation.

Cancellation costs policies depends on TourOperator.

Parameters

  • search (array) : booking number (`prc`) and touroperator code (`toc`) are required parameters
  • header (array) : SOAP Header Information

Return Values

Check [[book_info|book_info]]].

JSON Examples

@see ORS JSON API how to post request.

{
  "requestType" : "book",
  "action": "cancel",
  "search": {
    "prc": "5527588",
    "toc": "ODP"
  },
  "header": {
    "lang": "[lang]",
    "usr" : "[usr]",
    "pass": "[pass]",
    "agid": "[agid]"
  }
}
ors-soap-api/public/cancel.1573125298.txt.gz · Last modified: 2019/11/07 12:14 by admin