Download CSV template
GET/company/truckers/bulk/template
Downloads a sample CSV template for bulk trucker import.
Template content:
- Headers with all mandatory fields
- 3 sample rows with fictitious data
- Correct format for import
Included fields:
- name, lastname, email, phone, taxid, default_vehicle
Recommended use:
- Download template
- Fill with real data
- Upload via POST /bulk/
Output format:
- Content-Type: text/csv
- File name: template.csv
- Encoding: UTF-8
Content example:
name,lastname,email,phone,taxid,default_vehicle
John,Smith,jsmith@example.com,+34818809171,60262969W,11425LKJ
Mary,Johnson,mjohnson@example.com,936247383,Z3244875V,66541HGF
Peter,Williams,pwilliams@example.com,34668936908,Q6495302I,778987FFD
Responses:
- 200 OK: CSV file download
- 401 Unauthorized: Company not found
- 404 Not Found: User not found
Request
Responses
- 200
- 401
- 404
CSV template downloaded
Company not found
User not found