Get all container

Groups

To understand the groups parameter and the customization of API responses, please refer to the groups page.

List of groups
  • type -retrieve information about the type

  • departure - retrieve information about the departure

  • arrival - retrieve information about the arrival

  • departureAgent - retrieve information about the departure agent

  • arrivalAgent - retrieve information about the arrival agent

Filters

To understand the filters parameter and the customization of API responses, please refer to the filters page.

List of filters
  • id - retrieve information about the id

  • type.type - retrieve information about the type.type

  • departure.code - retrieve information about the departure code

  • arrival.code - retrieve information about the arrival code

  • departureAgent.societyId - retrieve information about the society ID of the departure agent

  • arrivalAgent.societyId - retrieve information about the society ID of the arrival agent

  • number - retrieve information about the number

  • plomb - retrieve information about the plomb

  • description - retrieve information about the description

  • tare - retrieve information about the tare

  • verified - retrieve information about whether it has been verified

  • isLocked - retrieve information about whether it is locked

  • dateStuffingExpected - retrieve information about the expected stuffing date

  • dateStuffingReal - retrieve information about the real stuffing date

  • dateLoadingExpected - retrieve information about the expected loading date

  • dateLoadingReal - retrieve information about the real loading date

  • dateUnloadingExpected - retrieve information about the expected unloading date

  • dateUnloadingReal - retrieve information about the real unloading date

  • dateUnstuffingExpected - retrieve information about the expected unstuffing date

  • dateUnstuffingReal - retrieve information about the real unstuffing date

  • createdAt - retrieve information about the creation date


Get all container

get

Retrieve all container

Authorizations
Query parameters
page[cursor]stringOptional
page[limit]any · min: 2 · max: 200Optional
order[column]stringOptionalExample: column_name
order[direction]stringOptionalExample: asc|desc
Responses
200Success
application/json
get
GET /container HTTP/1.1
Host: api.one-record.fr
Authorization: Bearer JWT
Accept: */*
{
  "data": [
    {
      "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
    }
  ],
  "metadata": {
    "count": 1,
    "current": "text",
    "next": "text"
  }
}

Last updated