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/08/24 14:50] admin [Parameters] |
ors-soap-api:public:info [2017/12/13 16:02] (current) admin [Examples] |
||
|---|---|---|---|
| Line 54: | Line 54: | ||
| [kn] => MEDITERAN 2013 | [kn] => MEDITERAN 2013 | ||
| [ks] => 0 | [ks] => 0 | ||
| + | [catalog_start] => 2016-06-01 | ||
| + | [catalog_end] => 2016-10-15 | ||
| [kw] => keywords (comma separated) | [kw] => keywords (comma separated) | ||
| [desc] => product description | [desc] => product description | ||
| + | [maps] => url from google maps | ||
| [pics] => Array | [pics] => Array | ||
| ( | ( | ||
| Line 684: | 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 761: | Line 764: | ||
| 'toc' => 'GIATA', // touroperator code ('GIATA' is a general touroperator!) | 'toc' => 'GIATA', // touroperator code ('GIATA' is a general touroperator!) | ||
| 'gid' => '3264', | 'gid' => '3264', | ||
| + | 'vnd' => '2016-01-17', | ||
| ); | ); | ||
| Line 769: | Line 773: | ||
| 'toc' => 'PALM', // touroperator code | 'toc' => 'PALM', // touroperator code | ||
| 'gid' => '3264', | 'gid' => '3264', | ||
| + | 'vnd' => '2016-01-17', | ||
| ); | ); | ||
| Line 794: | 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> | ||
| + | |||