User Tools

Site Tools


ors-soap-api:public:cancel

This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== 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>

ors-soap-api/public/cancel.1573125388.txt.gz · Last modified: 2019/11/07 12:16 by admin