Create a shipment security
Create a new shipment security
Authorizations
Body
shipmentstring · uuidRequired
agentstring | nullableRequired
quantitynumber | nullableRequired
statusstring | nullableRequired
positionstring | nullableRequired
securedAtany | nullableRequired
typestring · max: 255Required
Responses
201Success
application/json
400
Bad Request
application/json
401
Unauthorized Entity
application/json
409
Conflict
application/json
422
Unprocessable Entity
application/json
post
POST /shipment-security HTTP/1.1
Host: api.one-record.fr
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 144
{
"shipment": "123e4567-e89b-12d3-a456-426614174000",
"agent": "text",
"quantity": 1,
"status": "text",
"position": "text",
"securedAt": null,
"type": "text"
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"shipment": "123e4567-e89b-12d3-a456-426614174000",
"type": "text",
"agent": "text",
"quantity": 1,
"status": "text",
"position": "text",
"securedAt": null,
"createdAt": null,
"updatedAt": null
}
Last updated