Get signature status
GET/api/auction/sign/:serviceCode
Retrieves the current signature status (company and carrier) for a specific auction.
Requirements:
- The auction must be in the 'closed' state
- It must have an assigned winner (bidWinner)
- The user must belong to the owner company or be the winning carrier
Returned fields:
- signed: Overall signature status (both parties)
- signedAt: Date of the last signature
- signed_by_company: Company signature status (true/false)
- signed_by_trucker: Carrier signature status (true/false)
- company_signature: Company's digital signature (if exists)
- trucker_signature: Carrier's digital signature (if exists)
Usage example:
GET /api/auction/sign/ABC123
The response includes the detailed signature status.
Request
Responses
- 200
- 400
- 401
Detailed signature status
Request error
Unauthorized