To call the webservice is really easy, because of the uniformed interface access.
A request is always compose by:
To begin, choose the HTTP methods that correspond to the action you will make :
As you can see, HTTP methods are self-explicit and plenty to make all the actions we need.
Second step, choose a service and a domain, and build the corresponding URL.
URL formation :
Show/Hidden html5 code
Where :
Example of URL :
At this step, the request is ready to be sent, but maybe you have to make an advanced availability request which is explained in the next section and will show you how to add parameters.
For each services you can specify some parameters. Depending on the HTTP method, the way to add parameters is different.
For a GET Method, just add parameters in the query string of the URL :
Show/Hidden html5 code
On this request, we interrogate the service availability of the domain example. In addition, we said that the type is region, and that the regions that we are interested in are EU and ASIA.
Where:
Show/Hidden html5 code
On this request, we interrogate the service availability of the domain example. In addition, we said that the type is region, and that the regions that we are interested in are EU and ASIA.
With this information you can interrogate every services.
However, please read the section appropriate to each services, and use specific parameters.