Get DGT record details
GET/truckers/dgt/:id
Retrieves detailed information of a specific DGT record, including:
- Basic record data (code, status, dates)
- List of associated delivery IDs
Requirements:
- Valid DGT record ID
- The record must belong to the authenticated carrier
Usage example:
- Verify deliveries associated with a DGT code
- Check the status of a specific record
- Obtain information for audit processes
Notes:
- Only shows deliveries associated at the time of creation
- Requires valid JWT authentication
Request
Responses
- 200
- 401
- 404
- 500
Detail of the DGT record found
Unauthorized - Invalid or missing JWT token
Record not found. Possible causes:
- Incorrect ID
- The record does not belong to the user
Internal server error while processing the request