Table of contents
-
- Search methods
- Check methods
- Booking methods
- Info methods
Data export
- Methods
Table of contents
Data export
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|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|SOAP Header Information]] ===== Return Values ===== Check [[book_info|book_info]]. ===== JSON Examples ===== @see [[ors-soap-api:public:json_api]] how to post request. <code php> { "requestType" : "book", "action": "cancel", "search": { "prc": "5527588", "toc": "ODP" }, "header": { "lang": "[lang]", "usr" : "[usr]", "pass": "[pass]", "agid": "[agid]" } } </code>