Begoma have today three API’s for our customer
- CreateBooking – create a new booking
- GetBookingList – Get a list of all your bookings
- GetBookingStatus – Get the current status on a specific booking
Two environments
We one production environment and one staging environment. Start to develop your solution against our staging environment and after approval we switch to our production environment. The URL for our staging environment is api-stage.begoma.com.
To assist you in your development we have implemented Swagger on our staging environement so that you can test our API directly without any development on your side.
https://api-stage.begoma.com/swagger/index.html
Access to our API’s
We are using bearer tokens to protect our API’s resources. To get a token, you need to provide your credentilas using the /api/auth/token with both username and password.
{
"username": "string",
"password": "string"
}
The response will be a token that is valied for one (1) hour.
{
"token": "string"
}
If there is something wrong with your credentials you will receive a error message in this format.
{
"message": "string"
}
To get your credentials for our API, contact
Fredrik Malmberg, fredrik.malmberg@begoma.se