API Documentation How to make calls

How to make calls

Unless otherwise specified on the documentation of the specific function, all API calls are made via the HTTP protocol with the POST method at this address:

https://[API URL]/[API Function]/[API Key]

The input and response parameters are objects serialized in strings: the serialization used must be in JSON format.
The string of input parameters must be sent, in the POST request, via raw.

To select the serialization mode you will use, the following headers must be inserted on the headers of the HTTP request:

JSON or XML

Content-Type: application/json

or

Content-Type: application/xml

API URL

The API URL is linked to your backend URL. For example if your backend URL is https://backend.inlemarche.nl, the API URL will be https://api.inlemarche.nl

Alternately if the backend URL is https://backend.longtailvakanties.nl, the API URL will be https://api.longtailvakanties.nl.

API Functions

The following API Functions are available:

API Key

You will receive your API Key from the backend administrator. The API Key will be in the format:

XXXXX-XXXXX-XXXXX-XXXXX

Where the X can be any alphabetical letter or number. All characters must be in uppercase.