Create a shipment anomaly

📄 Technical specifications

The Consignee is not allowed to create this resource.

Create shipment anomaly

post

Create shipment anomaly

Authorizations
Body
shipmentstring · uuidRequired
typestring | nullableRequired
categorystring · max: 255Required
quantitynumber | nullableRequired
balancenumber | nullableRequired
dateany | nullableRequired
observationstring | nullableRequired
Responses
201Success
application/json
post
POST /shipment-anomaly HTTP/1.1
Host: api.one-record.fr
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 141

{
  "shipment": "123e4567-e89b-12d3-a456-426614174000",
  "type": "text",
  "category": "text",
  "quantity": 1,
  "balance": 1,
  "date": null,
  "observation": "text"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "shipment": "123e4567-e89b-12d3-a456-426614174000",
  "type": "text",
  "category": "text",
  "quantity": 1,
  "balance": 1,
  "date": null,
  "observation": "text",
  "createdAt": null,
  "updatedAt": null
}

Last updated