User Tools

Site Tools


ors-soap-api:public:json_api

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 Both sides next revision
ors-soap-api:public:json_api [2017/12/13 15:52]
admin [Requests]
ors-soap-api:public:json_api [2017/12/13 15:52]
admin [Requests]
Line 62: Line 62:
 ^ Name ^ Description ^ Example ^ ^ Name ^ Description ^ Example ^
 | requestType | a type of request | search | | requestType | a type of request | search |
-| action | which action to take | regions |+| action | which action to take (same name as SOAP methods) ​| regions |
 | search | search parameters | "​epc":"​2",​ "​typ":"​hotel",​ ...| | search | search parameters | "​epc":"​2",​ "​typ":"​hotel",​ ...|
 | header | [[soap_header]] | check example below | | header | [[soap_header]] | check example below |
Line 68: Line 68:
  
  
-There are 4 types of **requestType**available:+There are 4 types of **requestType** available:
  
   * search : for searching regions, offers and trips   * search : for searching regions, offers and trips
Line 74: Line 74:
   * check  : for availability request,   * check  : for availability request,
   * book   : to create registrations,​ booking, cancellations   * book   : to create registrations,​ booking, cancellations
- 
-Each request must also have an ''​action''​ which is named the same as SOAP api call methods. 
  
 So fo example if you wich to search for hotels in a selected region, you create request like so: So fo example if you wich to search for hotels in a selected region, you create request like so:
ors-soap-api/public/json_api.txt ยท Last modified: 2023/03/08 12:42 by admin