Last updated 8 months ago
To understand the groups parameter and the customization of API responses, please refer to the .
shipment - retrieve information about the shipment
shipment
type - retrive information about the type
type
category - retrieve information about the category
category
To understand the filters parameter and the customization of API responses, please refer to the .
id - to filter by the unique identifier.
id
shipment.shipmentId - to filter by the shipment ID.
shipment.shipmentId
type.code - to filter by the type code.
type.code
category.name - to filter by the category name.
category.name
quantity - to filter by the quantity.
quantity
balance - to filter by the balance.
balance
date - to filter by the date.
date
observation - to filter by the observations.
observation
createdAt - to filter by the creation date.
createdAt
Get all shipment anomalies
GET /shipment-anomaly HTTP/1.1 Host: api.one-record.fr Authorization: Bearer JWT Accept: */*
{ "data": [ { "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 } ], "metadata": { "count": 1, "current": "text", "next": "text" } }