FreightPostResponse
Response returned after creating or updating a freight
externalIdstringrequired
Unique freight id in source system
Possible values: non-empty
Example:
a62f7d2b-2ddf-4c1c-9a93-98c39f05f382externalShipmentIdstringnullable
Unique shipment id in source system
Example:
a62f7d2b-2ddf-4c1c-9a93-98c39f05f382idinteger<int32>
A unique id in Swipload
Example:
8923421shipmentIdinteger<int32>
Shipment id in Swipload
Example:
53430964referencestringnullable
The Swipref, a unique id in Swipload
Example:
DPOS4972shipmentReferencestringnullable
Shipment reference, a unique id in Swipload
Example:
FERS2794statusIdFreightStatusCode (string)
Freight status id enum.
Possible values: [Draft, PendingApproval, Open, InTransit, Delivered, Deleted, PendingDetails, PendingPickup, Cancelled]
shippersReferencestringnullable
Literal reference id shown in system and invoice.
Example:
MySysRef#405documentBase64Results object[]nullable
Results of any document uploads included with the freight
Array [
fileNamestringnullable
Name of the uploaded file
Example:
delivery_note.pdfsuccessboolean
Whether the upload was successful
Example:
trueerrorMessagestringnullable
Error message if the upload failed, null on success
]
FreightPostResponse
{
"externalId": "a62f7d2b-2ddf-4c1c-9a93-98c39f05f382",
"externalShipmentId": "a62f7d2b-2ddf-4c1c-9a93-98c39f05f382",
"id": 8923421,
"shipmentId": 53430964,
"reference": "DPOS4972",
"shipmentReference": "FERS2794",
"statusId": "Draft",
"shippersReference": "MySysRef#405",
"documentBase64Results": [
{
"fileName": "delivery_note.pdf",
"success": true,
"errorMessage": "string"
}
]
}