Action | Method | Resource | Description |
|---|---|---|---|
Get all |
|
| Get all driver groups. |
Get |
|
| Get driver group with id |
Create |
|
| Create a driver group |
Update |
|
| Update driver group with id |
Delete |
|
| Delete driver group with id |
The driver group model is composed of the following attributes:
Attribute | Type | Required | Description | Whereable |
|---|---|---|---|---|
administrator_id | integer | no, required to create. | User ID of administrador. | Yes |
name | string | no, required to create. | The group's name. | Yes |
drivers | json | no, required to create. | Array of driver id (e.g. | No |
enabled | boolean | no | The group's status. | Yes |
Requirement for use Driver group Endpoints.To create, update, delete driver groups user must be user level 0, 2 or 5 (Type: Administrator, business owner or driver manager).
When business owner ask for drivergroupsWhen a business owner ask for drivergroups, just brings the ones associated with his businesses, this will always will response with 200 code if the drivergroup ID is valid, or if there is any will return an empty array.

