Download auction PDF contract
GET/truckers/auctions/contract/:service_code
Allows downloading the PDF contract for an awarded auction.
Requirements:
- Authenticated and active user
- Must be the auction winner (amWinner: true)
- The auction must be in 'approved' or 'awarded' status
- The contract must be available (signed_by_trucker: true)
The contract includes:
- Complete auction details
- Party information (shipper and carrier)
- Terms and conditions
- Digital signature of the carrier (if applicable)
- Assigned vehicle data
The PDF is dynamically generated in the user's language (i18n).
Request
Responses
- 200
- 400
- 401
- 403
- 404
Dynamically Generated PDF Contract File
Error in the request. Possible causes:
- Auction not found or invalid
- Auction status does not allow download
Unauthorized
Access denied. Possible causes:
- User is not the auction winner
- Contract not available for download
- Required signatures are missing
Not found. Possible causes:
- Auction does not exist
- Contract not generated