Get container type information.

GET /container-types/{code}

Sample request:

GET /container-types/45G1

Path parameters

  • code string Required

    Container type code

Responses

  • 200 application/json

    Successful operation

    Hide response attributes Show response attributes object
    • code string | null

      A 4 digit Alpha Numeric Code uniquely describing the container

      Minimum length is 0, maximum length is 4.

    • description string | null

      Description of the Container Type

      Minimum length is 0, maximum length is 256.

    • length number(double) Deprecated

      External length in feet of the container
      This field is useless.

    • height number(double) Deprecated

      External height of container in feet
      This field is useless.

    • group string | null Deprecated

      4 Digit describing the group the codes belong to, more regularly used when sending electronic shipping messages
      This field is useless.

      Minimum length is 0, maximum length is 4.

    • Additional properties are NOT allowed
  • 400 application/json

    Unexpected error

    Hide response attributes Show response attributes object
    • status string | null

      Error status

    • timestamp string(date-time)

      Error date

    • code string | null

      Error code
      - R101 : The container size type is unfound.
      - R102 : The country code is unfound.
      - R103 : The document type is unfound.
      - R104 : The location code is unfound.
      - R105 : The location type is unfound.
      - R106 : The packaging code is unfound.
      - R107 : The transport mode is unfound.
      - R108 : The transport mean type is unfound.
      - R109 : The event type is unfound.
      - R110 : The UN/LOCODE is unfound.
      - R111 : The actor is unfound.
      - R112 : The dangerous code is unfound.

    • message string | null

      Error message

    • Additional properties are NOT allowed
GET /container-types/{code}
curl \
 -X GET https://soget-api-integration.azure-api.net/api-referential-unitary/v1/container-types/{code} \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Ocp-Apim-Subscription-Key: $API_KEY"
Response examples (200)
{
  "code": "45G1",
  "description": "GP/AERATION PASSIVE SUPERIEURE",
  "length": 40,
  "height": 9.5,
  "group": "45GP"
}
Response examples (400)
{
  "status": "400",
  "timestamp": "2022-10-18T14:53:52.239Z",
  "code": "R001",
  "message": "Information not found."
}