Get Dangerous Goods Document PDF
machship_get_dangerous_goods_pdfRetrieve a consignment’s dangerous goods declaration PDF by consignment ID, including file data, content type, and size for compliance documentation.
Instructions
Returns the dangerous goods declaration document PDF for a consignment. Returns { fileBase64, contentType, sizeBytes }. contentType comes from the response header.
Args:
consignmentId (number): Consignment ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| consignmentId | Yes | Consignment ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation errors returned by Machship, if any | |
| object | No | Response payload from the Machship API |