Get Dangerous Goods Document PDF File Info
machship_get_dangerous_goods_pdf_file_infoRetrieve a consignment's dangerous goods declaration PDF as JSON, including base64 content, file name, and content type.
Instructions
Returns the dangerous goods declaration PDF as JSON. object.content holds the file as base64, with object.fileName and object.contentType.
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 |