Update a shipment security
Update a shipment security by id
Authorizations
Path parameters
idstringRequired
Body
shipmentstring · uuidOptional
agentstring | nullableOptional
quantitynumber | nullableOptional
statusstring | nullableOptional
positionstring | nullableOptional
securedAtany | nullableOptional
typestring · max: 255Optional
Responses
200Success
application/json
400
Bad Request
application/json
401
Unprocessable Entity
application/json
409
Conflict
application/json
422
Unprocessable Entity
application/json
put
PUT /shipment-security/{id} 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