Get delivery and auction codes from the user
GET/truckers/tickets/codes
Retrieves the unique service codes for deliveries and auctions related to the carrier. These codes can be used to link tickets to specific operations.
The response includes:
- Codes for deliveries assigned to the carrier or their company
- Codes for auctions where they have participated (bid, won, or assigned)
Example use cases:
- Display a list of available codes when creating a ticket
- Filter tickets by related operation code
- Automatically link tickets to deliveries/auctions
Notes:
- For multi-tenant companies, only delivery codes are included
- Codes are unique per operation within the system
Responses
- 200
- 401
- 404
Service Code List
Unauthorized. The JWT token is invalid or has expired. Valid authentication is required to access this endpoint.
User not found. The user ID provided in the token does not exist in the database.