Create a shipment document

Attach a document to a shipment. E.g. when creating an export delivery order (e-AWB shipment), its accompanying documents OR pouch can be uploaded.

Create a shipment document

post

Create a shipment document

Authorizations
Body
idstring · uuidRequired
shipmentstring · uuid | nullableRequired
filePathstring | nullableRequired
signedUrlstring | nullableRequired
namestring · max: 255Required
createdAtanyRequired
updatedAtany | nullableRequired
Responses
201Success
application/json
post
POST /shipment-document HTTP/1.1
Host: api.one-record.fr
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 180

{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "shipment": "123e4567-e89b-12d3-a456-426614174000",
  "filePath": "text",
  "signedUrl": "text",
  "name": "text",
  "createdAt": null,
  "updatedAt": null
}
{
  "shipment": "123e4567-e89b-12d3-a456-426614174000",
  "name": "text"
}

Last updated