This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ors-soap-api:public:option_info [2015/01/24 18:42] admin created |
ors-soap-api:public:option_info [2017/12/13 16:01] (current) admin [Examples] |
||
---|---|---|---|
Line 10: | Line 10: | ||
<code php> | <code php> | ||
- | public array option_check( array $searchData, array $trip, array $headerData ) | + | public array option_info( array $searchData, array $trip, array $headerData ) |
</code> | </code> | ||
Line 360: | Line 360: | ||
</code> | </code> | ||
+ | ===== JSON Examples ===== | ||
+ | |||
+ | @see [[ors-soap-api:public:json_api]] how to post request. | ||
+ | |||
+ | <code php> | ||
+ | { | ||
+ | "requestType" : "check", | ||
+ | "action": "option_info", | ||
+ | "search": { | ||
+ | "typ": "hotel", | ||
+ | "hsc": "509fd42d2fe71bc3396830b207d4bb92", | ||
+ | "toc": "PALM", | ||
+ | "epc": "2" | ||
+ | }, | ||
+ | "header": { | ||
+ | "lang": "[lang]", | ||
+ | "usr" : "[usr]", | ||
+ | "pass": "[pass]", | ||
+ | "agid": "[agid]" | ||
+ | } | ||
+ | } | ||
+ | </code> | ||