Create a container type
Authorizations
Body
typestring · max: 100Required
descriptionstring · max: 500Required
volumenumber | nullableRequired
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 /container-type HTTP/1.1
Host: api.one-record.fr
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"type": "text",
"description": "text",
"volume": 1
}
{
"type": "text",
"description": "text",
"volume": 1,
"createdAt": null,
"updatedAt": null
}
Last updated