User Tools

Site Tools


ors-soap-api:public:check

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:check [2015/02/27 15:00]
admin [Return parameters]
ors-soap-api:public:check [2017/12/13 16:01] (current)
admin [Examples]
Line 174: Line 174:
                             [name] => POLPENZION                             [name] => POLPENZION
                             [price] => 6.00                             [price] => 6.00
 +                            [included] => 0
                         )                         )
  
Line 185: Line 186:
                             [name] => POLNI PENZION                             [name] => POLNI PENZION
                             [price] => 13.00                             [price] => 13.00
 +                            [included] => 0
                         )                         )
  
Line 195: Line 197:
                             [id] => 27104:9:3                             [id] => 27104:9:3
                             [name] => KRAJŠE BIVANJE NA VPRAŠANJE                             [name] => KRAJŠE BIVANJE NA VPRAŠANJE
-                            [price] => 6.80+                            [price] => 
 +                            [included] => 1
                         )                         )
  
Line 381: Line 384:
       * ''​name''​ : extras name       * ''​name''​ : extras name
       * ''​price''​ : extras price       * ''​price''​ : extras price
 +      * ''​included''​ : if value equals 1 then this extras in included in price
   * ''​operator (array)''​ : used action, touroperator info and trip hash code   * ''​operator (array)''​ : used action, touroperator info and trip hash code
     * ''​act''​ : action     * ''​act''​ : action
Line 397: Line 401:
     * ''​age''​ : age / birthday     * ''​age''​ : age / birthday
     * ''​tvp''​ : price for this person     * ''​tvp''​ : price for this person
-  * ''​included''​ (array) : additional ​informatio ​about what is included in price+  * ''​included''​ (array) : additional ​information ​about what is included in price (**currently not supported**)
     * ''​group''​ (array) : group information     * ''​group''​ (array) : group information
       * ''​code''​ : group code       * ''​code''​ : group code
Line 464: Line 468:
 </​code>​ </​code>​
  
 +===== JSON Examples =====
 +
 +@see [[ors-soap-api:​public:​json_api]] how to post request.
 +
 +<code php>
 +{
 +  "​requestType"​ : "​check",​
 +  "​action":​ "​check",​
 +  "​search":​ {
 +    "​typ":​ "​hotel",​
 +    "​hsc":​ "​509fd42d2fe71bc3396830b207d4bb92",​
 +    "​toc":​ "​PALM",​
 +    "​epc":​ "​2"​
 +  },
 +  "​header":​ {
 +    "​lang":​ "​[lang]",​
 +    "​usr"​ : "​[usr]",​
 +    "​pass":​ "​[pass]",​
 +    "​agid":​ "​[agid]"​
 +  }
 +}
 +</​code>​
  
 ===== Examples (Extras) ===== ===== Examples (Extras) =====
ors-soap-api/public/check.1425045617.txt.gz · Last modified: 2015/02/27 15:00 by admin