Skip to main content

Resources

The Lineberty Booking API allows you to manage the following resources, by using either a GET, a POST or a PUT method.

|--- Companies
| |---- Places
| / \
| / \
| Subplaces Categories of places
| | |
| |--- Queues |--- Queues
| | |--- Endpoints| |--- Endpoints
| |--- Tickets |--- Tickets
| |--- Users |--- Users
|

Read Resources - GET

ResourcesPossible actions
API KeyGet a valid API Key
Users- Login a user
- Refresh the session token
Companies- Get the list of companies
- Get detailed information on the places of a company
Places- Get the list of places
- Get detailed information on a place
- Get the subplaces of a place
- Get the categories of a place
- Get the queues of a place
Subplaces- Get a subplace
- Get the queues of a subplace
- Get the categories of a subplace
Queues- Get all the queues
- Get a queue in particular
- Get the configuration of a queue
- Get the queue availabities
Tickets- Get a user's ticket
- Sort the current or the old tickets
EndpointsGet all the endpoints of a queue

Create Resources - POST

ResourcesPossible actions
UsersCreate a user
Queue Information- Check the eligibility of queues
- Check the state of queues
- Check both queue eligibility and queue state
TicketsBook a ticket

Modify Resources - PUT

ResourcesPossible actions
Tickets- Cancel a ticket
- Postpone a ticket
- Rate a ticket
NotificationSubscribe to the notification service

Delete Resources - DEL

Attention

You cannot remove a resource. The DELETE method is only used to unsubscribe from the Notification service.