Filter packaging codes.

GET /packaging-codes

Sample request:

GET /packaging-codes?code=PK&offset=0&limit=1

or

GET /packaging-codes?code=PK,4A

If you want to search for multiple values for a given parameter, enter :

param=val1,val2

For example, the query shown above would return the packaging codes that have a code of either 1A or 1C.

Query parameters

  • code string

    Search characters.

    Default value is empty.

  • description string

    Packaging code description.

    Default value is empty.

  • desc boolean

    Boolean that indicates the sort order. If it is set to true, results will be sorted by descending order.

    Default value is false.

  • offset integer(int32)

    Index of the first returned result.

    Default value is 0.

  • limit integer(int32)

    Number of results to be returned. Max value is 10.

    Default value is 10.

Responses

  • 200 application/json

    Successful operation

    Hide response attributes Show response attributes object
    • total integer(int32)

      Total number of items found by the query

    • first integer(int32)

      Index of the first returned object

    • items array[object] | null

      Packaging codes which are based on :
      ADR standards for road mode
      RID standards for rail mode
      IMDG/IMO standards for maritime mode
      ADN standards for inland water mode
      IATA/ICAO standards for air mode

      Packaging codes which are based on :
      ADR standards for road mode
      RID standards for rail mode
      IMDG/IMO standards for maritime mode
      ADN standards for inland water mode
      IATA/ICAO standards for air mode

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

        Code of packaging

        Minimum length is 0, maximum length is 2.

      • description string | null

        Name of packaging

        Minimum length is 0, maximum length is 100.

      • Additional properties are NOT allowed
    • 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 /packaging-codes
curl \
 -X GET https://soget-api-integration.azure-api.net/api-referential-list/v1/packaging-codes \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Ocp-Apim-Subscription-Key: $API_KEY"
Response examples (200)
{
  "total": 11,
  "first": 3,
  "items": [
    {
      "code": "PK",
      "description": "Package"
    }
  ]
}
Response examples (400)
{
  "status": "400",
  "timestamp": "2022-10-18T14:53:52.239Z",
  "code": "R001",
  "message": "Information not found."
}