User Tools

Site Tools


ors-soap-api:public:offers_method

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
Next revision Both sides next revision
ors-soap-api:public:offers_method [2015/11/10 17:18]
admin [Return Values]
ors-soap-api:public:offers_method [2019/07/15 09:56]
admin [Return Values]
Line 198: Line 198:
  
                 )                 )
- +        ) 
-            [ppc] => Array +         
-                ( +    [rfilters] => Array 
-                    ​[selected] => 0 +        
-                    [val] => Array +          [ppc] => "56-112"
-                        +
-                            [00] => 00 +
-                            [112] => 112 +
-                        ) +
- +
-                ) +
         )         )
  
Line 549: Line 542:
 </​code>​ </​code>​
  
 +===== JSON Examples =====
 +
 +@see [[ors-soap-api:​public:​json_api]] how to post request.
 +
 +<code php>
 +{
 +  "​requestType"​ : "​search",​
 +  "​action":​ "​offers",​
 +  "​search":​ {
 +    "​typ":​ "​hotel",​
 +    "​vnd":​ "​2018-01-10",​
 +    "​bsd":​ "​2018-03-10",​
 +    "​tdc":​ "​1-5",​
 +    "​rgcs":​ "​100023",​
 +    "​epc":​ "​2"​
 +  },
 +  "​top" ​ : {
 +    "​toc"​ : "​FTI",​
 +    "​stc"​ : "​3" ​
 +  },
 +  "​header":​ {
 +    "​lang":​ "​[lang]",​
 +    "​usr"​ : "​[usr]",​
 +    "​pass":​ "​[pass]",​
 +    "​agid":​ "​[agid]"​
 +  }
 +}
 +</​code>​
 ===== Examples (Extras) ===== ===== Examples (Extras) =====
  
ors-soap-api/public/offers_method.txt · Last modified: 2019/07/15 09:58 by admin