List all drivers of a carrier
GET/company/my_carriers/driver/:carrierId
Returns a complete list of all drivers associated with a specific carrier. Requires JWT authentication.
Use cases:
- Query a carrier's driver team
- Filter active/inactive drivers
- Obtain basic data for assigning drivers to operations
Notes:
- The carrier must exist beforehand
- The response includes metadata such as the total count
Request
Responses
- 200
- 401
- 404
Driver list obtained successfully.
Unauthorized. Invalid or missing JWT token
Carrier not found. The provided ID does not exist or is not associated with the company.