Get representative image of the auction
GET/truckers/auctions/image/:code
Returns a dynamically generated PNG image that visually represents the auction.
The image includes key information such as:
- Auction code and status
- Loading/unloading dates and locations
- Pallet type and quantity
- Cargo weight and dimensions
- Current price and minimum bid
- Visual indicator if it's refrigerated cargo
Features:
- Image generated in real-time with the latest data
- PNG format optimized for the web
- Responsive design that adapts to different sizes
- Cached to improve performance
Typical use:
- Display a visual preview in auction listings
- Share on social media or messaging apps
- Embed in mobile applications
Request
Responses
- 200
- 400
- 401
- 403
- 404
Dynamically Generated PNG Image
Request error. Possible causes:
- Invalid auction code
- Unsupported format
Unauthorized
Access denied. Possible causes:
- User not authenticated
- No permission to view this auction
Not found. Possible causes:
- Auction does not exist
- Image not available