This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ors-soap-api:public:check [2015/03/17 15:07] admin [Return Values] |
ors-soap-api:public:check [2017/12/13 16:01] (current) admin [Examples] |
||
---|---|---|---|
Line 384: | Line 384: | ||
* ''name'' : extras name | * ''name'' : extras name | ||
* ''price'' : extras price | * ''price'' : extras price | ||
+ | * ''included'' : if value equals 1 then this extras in included in price | ||
* ''operator (array)'' : used action, touroperator info and trip hash code | * ''operator (array)'' : used action, touroperator info and trip hash code | ||
* ''act'' : action | * ''act'' : action | ||
Line 400: | Line 401: | ||
* ''age'' : age / birthday | * ''age'' : age / birthday | ||
* ''tvp'' : price for this person | * ''tvp'' : price for this person | ||
- | * ''included'' (array) : additional informatio about what is included in price | + | * ''included'' (array) : additional information about what is included in price (**currently not supported**) |
* ''group'' (array) : group information | * ''group'' (array) : group information | ||
* ''code'' : group code | * ''code'' : group code | ||
Line 467: | Line 468: | ||
</code> | </code> | ||
+ | ===== JSON Examples ===== | ||
+ | |||
+ | @see [[ors-soap-api:public:json_api]] how to post request. | ||
+ | |||
+ | <code php> | ||
+ | { | ||
+ | "requestType" : "check", | ||
+ | "action": "check", | ||
+ | "search": { | ||
+ | "typ": "hotel", | ||
+ | "hsc": "509fd42d2fe71bc3396830b207d4bb92", | ||
+ | "toc": "PALM", | ||
+ | "epc": "2" | ||
+ | }, | ||
+ | "header": { | ||
+ | "lang": "[lang]", | ||
+ | "usr" : "[usr]", | ||
+ | "pass": "[pass]", | ||
+ | "agid": "[agid]" | ||
+ | } | ||
+ | } | ||
+ | </code> | ||
===== Examples (Extras) ===== | ===== Examples (Extras) ===== |