Create a container

Create a Container

post
Authorizations
Body
numberstring | nullableOptional
plombstring | nullableOptional
descriptionstring | nullableOptional
tarenumber | nullableOptional
verifiedGrossMassnumber | nullableOptional
isLockedbooleanOptional
dateSuffingExpectedany | nullableOptional
dateStuffingRealany | nullableOptional
dateLoadingExpectedany | nullableOptional
dateLoadingRealany | nullableOptional
dateUnloadingExpectedany | nullableOptional
dateUnloadingRealany | nullableOptional
dateUnstuffingExpectedany | nullableOptional
dateUnstuffingRealany | nullableOptional
latitudenumber | nullableOptional
longitudenumber | nullableOptional
typestring | nullableRequired
departurestring | nullableRequired
arrivalstring | nullableRequired
departureAgentstring | nullableRequired
arrivalAgentstring | nullableRequired
Responses
201Success
application/json
post
POST /container HTTP/1.1
Host: api.one-record.fr
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 434

{
  "number": "text",
  "plomb": "text",
  "description": "text",
  "tare": 1,
  "verifiedGrossMass": 1,
  "isLocked": true,
  "dateSuffingExpected": null,
  "dateStuffingReal": null,
  "dateLoadingExpected": null,
  "dateLoadingReal": null,
  "dateUnloadingExpected": null,
  "dateUnloadingReal": null,
  "dateUnstuffingExpected": null,
  "dateUnstuffingReal": null,
  "latitude": 1,
  "longitude": 1,
  "type": "text",
  "departure": "text",
  "arrival": "text",
  "departureAgent": "text",
  "arrivalAgent": "text"
}
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "type": "text",
  "departure": "text",
  "arrival": "text",
  "departureAgent": "text",
  "arrivalAgent": "text",
  "number": "text",
  "plomb": "text",
  "description": "text",
  "tare": 1,
  "verifiedGrossMass": 1,
  "isLocked": true,
  "dateSuffingExpected": null,
  "dateStuffingReal": null,
  "dateLoadingExpected": null,
  "dateLoadingReal": null,
  "dateUnloadingExpected": null,
  "dateUnloadingReal": null,
  "dateUnstuffingExpected": null,
  "dateUnstuffingReal": null,
  "latitude": 1,
  "longitude": 1,
  "createdAt": null,
  "updatedAt": null
}

Last updated