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:info [2016/09/27 10:24] admin [Examples] |
ors-soap-api:public:info [2017/12/13 16:02] (current) admin [Examples] |
||
---|---|---|---|
Line 58: | Line 58: | ||
[kw] => keywords (comma separated) | [kw] => keywords (comma separated) | ||
[desc] => product description | [desc] => product description | ||
+ | [maps] => url from google maps | ||
[pics] => Array | [pics] => Array | ||
( | ( | ||
Line 686: | Line 686: | ||
* ''kw'' : product keywords (comma separated list of keywords) | * ''kw'' : product keywords (comma separated list of keywords) | ||
* ''desc'' : product description | * ''desc'' : product description | ||
+ | * ''maps'' : url from google maps (or similar) describing a roundtrip tour (only available from some touroperators in trips content type) | ||
* ''included'' : text about what is included in price | * ''included'' : text about what is included in price | ||
* ''add_sur'' : text about additional surcharges | * ''add_sur'' : text about additional surcharges | ||
Line 798: | Line 799: | ||
$info = $soapClient->orsxml_api_call( 'info', $searchParams, $header ); | $info = $soapClient->orsxml_api_call( 'info', $searchParams, $header ); | ||
</code> | </code> | ||
+ | |||
+ | ===== JSON Examples ===== | ||
+ | |||
+ | @see [[ors-soap-api:public:json_api]] how to post request. | ||
+ | |||
+ | <code php> | ||
+ | { | ||
+ | "requestType" : "info", | ||
+ | "action": "info", | ||
+ | "search": { | ||
+ | "vnd": "2018-01-10", | ||
+ | "toc": "PALM", | ||
+ | "gid": "15257" | ||
+ | }, | ||
+ | "header": { | ||
+ | "lang": "[lang]", | ||
+ | "usr" : "[usr]", | ||
+ | "pass": "[pass]", | ||
+ | "agid": "[agid]" | ||
+ | } | ||
+ | } | ||
+ | </code> | ||
+ | |||