User Tools

Site Tools


ors-soap-api:public:info

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ors-soap-api:public:info [2016/08/24 14:49]
admin [Parameters]
ors-soap-api:public:info [2017/12/13 16:02] (current)
admin [Examples]
Line 25: Line 25:
   * ''​headerData (array)''​ : [[soap_header|SOAP Header Information]]   * ''​headerData (array)''​ : [[soap_header|SOAP Header Information]]
  
 +<WRAP center round tip 90%>
 +Always use ''​vnd''​ attribute when searching for a description of specific offer! This will ensure, that customer will receive a correct catalog description.
 +</​WRAP>​
  
 ===== Return Values ===== ===== Return Values =====
Line 51: 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 681: 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 758: 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 766: Line 773:
   '​toc'​ => '​PALM', ​        // touroperator code   '​toc'​ => '​PALM', ​        // touroperator code
   '​gid'​ => '​3264',​   '​gid'​ => '​3264',​
 +  '​vnd'​ => '​2016-01-17',​
 ); );
  
Line 791: 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>​
 +
  
ors-soap-api/public/info.1472042967.txt.gz ยท Last modified: 2016/08/24 14:49 by admin