Accessing the API from your Application
For security reasons, all your requests must contain a specific QUERY
parameter with the API Key as value.
If not, the request will be refused by the Lineberty server.
Specify the Query parameter as follows:
static generateRequest ( url, apiKey ) {
return url + '?key=' + apiKey
}
tip
We recommend using API Key caching to optimize the number of requests per day and resend the request once a day.
Interaction Diagram
Below is a diagram of the interactions between your booking application and the Lineberty API.
User Authentication
In order to be able to perform authenticated requests from your booking application, you need to previously authenticate a user:
- With a JSON Web Token to connect to the Booking application.
- With a classical login or a SSO pre-login for the Validation application