Actions
This page includes all endpoints available for the actions(bookings) module of Logiciel Actif.
List all actions
GET
https://app.gem-books.com/api/actions
This endpoint allows you to get the list of your actions. The actions are returned sorted by date and time, with the most recent appearing first.
Headers
Authentification
string
Bearer token.
Accept
string
Should be application/json
.
Retrieve an action
GET
https://app.gem-books.com/api/actions/:id
This endpoint allows you to retrieve a specific action.
Path Parameters
id
integer
Action ID.
Headers
Authentification
string
Bearer token.
Accept
string
Should be application/json
.
Create an action
POST
https://app.gem-books.com/api/actions
This endpoint allows you to create an action. Returns the created action.
Headers
Authentication
string
Bearer token.
Content-Type
string
Should be application/json
.
Accept
string
Should be application/json
.
Request Body
value
string
Amount charged to the client.
cost
string
Amount paid to the driver.
user_id
integer
User ID linked to the action.
action_id
integer
Action ID.
date
string
Date of the action.
bookingID
integer
Booking ID linked to the action.
Last updated