Get full auction details
GET/truckers/auctions/:code
Returns detailed information for a specific auction identified by its unique code.
Includes:
- Basic auction data (dates, locations, cargo type)
- Current status (published, awarded, approved, completed)
- Bid information (including the winning bid if it exists)
- Associated delivery data (if applicable)
- Complete load (ETL) and unload (ETD) addresses
- Information on whether the current user can:
- Place a bid (canBid)
- Sign the contract (canSign)
- View delivery details (canSeeDelivery)
Important fields:
- service_code: Unique auction identifier
- status: Current status (published, awarded, approved, completed)
- bid_current: Current value of the lowest bid
- my_bid: Current user's bid (if it exists)
- amWinner: Indicates if the current user won the auction
Request
Responses
- 200
- 401
- 403
- 404
Complete auction details
Unauthorized
Authorization or validation error.
Occurs when the user lacks permissions or the data is invalid.
Not found