Partners API hub
  • Api customs
  • Api dangerous
  • Api equipment
  • Api referential list
  • Api referential unitary
  • Api tracing code
  • Api tracing code in mass
  • Api tracing libelle
  • Api tracing libelle in mass
  • Api tracking code
  • Api tracking code in mass
  • Smouv
Back to hub page
API changelog
Download source
  • JSON OpenAPI specification
  • YAML OpenAPI specification
Api tracing libelle in mass

Topics

  • Introduction
  • Get Started
  • Authentication

Endpoints

  • Handling units
    • Filter the list of handling-units linked to a shipment. GET
Powered by Bump.sh
Partners API hub
  • Api customs
  • Api dangerous
  • Api equipment
  • Api referential list
  • Api referential unitary
  • Api tracing code
  • Api tracing code in mass
  • Api tracing libelle
  • Api tracing libelle in mass
  • Api tracking code
  • Api tracking code in mass
  • Smouv
Back to hub page
API changelog
Download source
  • JSON OpenAPI specification
  • YAML OpenAPI specification
Api tracing libelle in mass

Filter the list of handling-units linked to a shipment.

GET /handling-units/search

Sample request :

GET /handling-units/search?documentReference=3714238101

Query parameters

  • documentReference string Required

    Announcement document reference.

  • customsFlag string

    Type of flow.

    Values are Unknown, Import, Export, Transhipment, or Transit.

  • freightAgent string

    Agent code of shipping company.

    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.

  • limit integer(int32)

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

    Default value is 5.

  • offset integer(int32)

    Index of the first returned result.

    Default value is 0.

Responses

  • 200 application/json

    Success

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

      Total amount of objects matching given parameters.

    • returned integer(int32)

      Amount of objects returned by the paginated query.

    • first integer(int32)

      Index of the first returned object.

    • items array[object] | null

      Handling unit information
      An handling unit corresponds to a container or a good.

      Handling unit information
      An handling unit corresponds to a container or a good.

      Hide items attributes Show items attributes object
      • freightFamily string

        The freight family handled by this service is only Container and Breakbulk.
        - Container : Toys, televisions, DVDs, clothing, meat and computers; containers are the best way to transport these and many similar products. By efficiently loading the goods, they can be transported simultaneously in large quantities. The standard sizes mean containers fit on sea-going vessels, lorries, inland barges and train wagons.
        - BreakBulk : Paper, wood, bags of cocoa, rolls of steel, parts of wind turbines; these are all products that can be transported in a container or simply put on a vessel.

        Values are Container, BreakBulk, SolidBulk, LiquidBulk, or MobileUnits.

      • customsFlag string

        List of possible customs flag information :
        - Unknown (undefined flag - default value)
        - Import
        - Export
        - Transhipment
        - Transit

        Values are Unknown, Import, Export, Transhipment, or Transit.

      • reference string | null

        Handling unit reference.
        e.g. if the handling unit is an an equipment, this reference should follow the BIC ISO Container Identification Number where possible.

      • pswId string | null

        Internal identifier of the handling unit.
        This unique identifier is composed of a prefix(3 characters) and a number(10 digits).

      • sizeType object

        Size type information.

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

          A 4 digit Alpha Numeric Code uniquely describing the container.

        • description string | null

          Description of the Container Type.

        • Additional properties are NOT allowed
      • packagingCode object

        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 packagingCode attributes Show packagingCode attributes object
        • code string | null

          Code of packaging

        • description string | null

          Description of packaging

        • Additional properties are NOT allowed
      • measures object

        Handling unit measures.

        Hide measures attributes Show measures attributes object
        • quantity integer(int32) | null

          Number of packages.

        • weight object

          Weight (the default unit is KGM) :
          - GrossWeight
          - Tare : applicable for container only
          - NetWeight

          Hide weight attributes Show weight attributes object
          • tare object

            This object concerns the following fields :
            - GrossWeight (the default unit is KGM)
            - Tare (the default unit is KGM)
            - NetWeight (the default unit is KGM)
            - Volume (the default unit is DMQ)

            Hide tare attributes Show tare attributes object
            • value number(double) | null

              Measure value.

            • unit string | null

              Value which comes from the international system of units.

            • Additional properties are NOT allowed
          • grossWeight object

            This object concerns the following fields :
            - GrossWeight (the default unit is KGM)
            - Tare (the default unit is KGM)
            - NetWeight (the default unit is KGM)
            - Volume (the default unit is DMQ)

            Hide grossWeight attributes Show grossWeight attributes object
            • value number(double) | null

              Measure value.

            • unit string | null

              Value which comes from the international system of units.

            • Additional properties are NOT allowed
          • netWeight object

            This object concerns the following fields :
            - GrossWeight (the default unit is KGM)
            - Tare (the default unit is KGM)
            - NetWeight (the default unit is KGM)
            - Volume (the default unit is DMQ)

            Hide netWeight attributes Show netWeight attributes object
            • value number(double) | null

              Measure value.

            • unit string | null

              Value which comes from the international system of units.

            • Additional properties are NOT allowed
          • Additional properties are NOT allowed
        • volume object

          This object concerns the following fields :
          - GrossWeight (the default unit is KGM)
          - Tare (the default unit is KGM)
          - NetWeight (the default unit is KGM)
          - Volume (the default unit is DMQ)

          Hide volume attributes Show volume attributes object
          • value number(double) | null

            Measure value.

          • unit string | null

            Value which comes from the international system of units.

          • Additional properties are NOT allowed
        • remainingQuantity integer(int32) | null

          Number of packages remaining at current location.
          This field is used in the context of partial reports.
          Applicable for breakbulk only.

        • availableQuantity integer(int32) | null

          Number of packages available at current location.
          This field is used in the context of partial reports.
          Applicable for breakbulk only.

        • reportedQuantity integer(int32) | null

          Number of package reported reported at current location.
          This field is used in the context of partial reports.
          Applicable for breakbulk only.

        • remainingWeight object

          This object concerns the following fields :
          - GrossWeight (the default unit is KGM)
          - Tare (the default unit is KGM)
          - NetWeight (the default unit is KGM)
          - Volume (the default unit is DMQ)

          Hide remainingWeight attributes Show remainingWeight attributes object
          • value number(double) | null

            Measure value.

          • unit string | null

            Value which comes from the international system of units.

          • Additional properties are NOT allowed
        • Additional properties are NOT allowed
      • indicators object

        Handling unit indicators.

        Hide indicators attributes Show indicators attributes object
        • hazardous boolean

          Hazardous indicator.

        • empty boolean

          Indicator to denote whether the equipment is empty or laden.
          Applicable for the container only.

        • reefer boolean

          Reefer indicator.

        • pollutant boolean

          Pollutant indicator.

        • fumigation boolean

          Fumigation indicator.

        • quarantine boolean

          Quarantine indicator.

        • outOfGauge boolean

          Out of Gauge indicator.

        • Additional properties are NOT allowed
      • references array[object] | null

        References linked to the handling unit
        e.g. for process export, the equipment can be identified by the sequence number.

        References linked to the handling unit
        e.g. for process export, the equipment can be identified by the sequence number.

        Hide references attributes Show references attributes object
        • type string

          Type of references which identified the handling unit. The possible values are :
          - Rank and SequenceNumber for export procedure

          Values are Rank or SequenceNumber.

        • value string | null

          Value of reference.

        • Additional properties are NOT allowed
      • huLocation object

        Current location information

        Hide huLocation attributes Show huLocation attributes object
        • place object

          Locations represented ports, airports, warehouse, berth, ... referenced in the S)ONE application.

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

            Code of location.

          • name string | null

            Name of location.

          • Additional properties are NOT allowed
        • location object

          Locations represented ports, airports, warehouse, berth, ... referenced in the S)ONE application.

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

            Code of location.

          • name string | null

            Name of location.

          • Additional properties are NOT allowed
        • Additional properties are NOT allowed
      • actors object

        Actors

        Hide actors attributes Show actors attributes object
        • freightAgent object

          Actor referenced in the S)ONE application

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

            Code of actor.

          • name string | null

            Name of actor.

          • Additional properties are NOT allowed
        • freightForwarder object

          Actor referenced in the S)ONE application

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

            Code of actor.

          • name string | null

            Name of actor.

          • Additional properties are NOT allowed
        • Additional properties are NOT allowed
      • temperatures object

        Temperature information.

        Hide temperatures attributes Show temperatures attributes object
        • setPoint number(double) | null

          Set point temperature.
          The default unit is C.

        • rangeMin number(double) | null

          Min temperature.
          The default unit is C.

        • rangeMax number(double) | null

          Max temperature.
          The default unit is C.

        • Additional properties are NOT allowed
      • shipments array[object] | null

        Shipment item.

        Shipment item.

        Hide shipments attributes Show shipments attributes object
        • processingIndicator string

          List of possible processing indicator :
          - Unknown (undefined flag - default value)
          - Import
          - Export
          - Transhipment
          - Transit

          Values are Unknown, Transit, Transhipment, Import, or Export.

        • documentReference string | null

          Reference of document that links to a shipment.
          e.g. the reference should be a bill of lading number

        • documentId string | null

          S)ONE ID of document.
          This unique identifier is composed of a prefix (3 characters) and a number (10 digits).>

        • documentType object

          Actor referenced in the S)ONE application

          Hide documentType attributes Show documentType attributes object
          • code number(double)

            Code of the type of document.

          • name string | null

            Name of the type of document

          • Additional properties are NOT allowed
        • documentDate string(date-time) | null

          Date of document.
          ISO 8601 Extended Format

        • originLocation object

          UN/LOCODE information is based on recommendation 16 UN/LOCODE.

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

            UN/LOCODE have length of 5 - combination of Country code (length of 2) and Location code (length of 3)

          • name string | null

            Name of location.

          • Additional properties are NOT allowed
        • destinationLocation object

          UN/LOCODE information is based on recommendation 16 UN/LOCODE.

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

            UN/LOCODE have length of 5 - combination of Country code (length of 2) and Location code (length of 3)

          • name string | null

            Name of location.

          • Additional properties are NOT allowed
        • merchantHaulage boolean | null

          Indicator specifying that the freight forwarder may modify the shipment.

        • Additional properties are NOT allowed
      • transport object

        Transport information.

        Hide transport attributes Show transport attributes object
        • meansName string | null

          Transport means name.

        • voyageId string | null

          S)ONE ID of the voyage.
          This unique identifier is composed of a prefix (3 characters) and a number (10 digits).

        • mode object

          TransportMode

          Hide mode attributes Show mode attributes object
          • code number(double) | null

            Transport mode code.

          • name string | null

            Transport mode name.

          • Additional properties are NOT allowed
        • meansNationality object

          Country information base on ISO 3166 standard.

          Hide meansNationality attributes Show meansNationality attributes object
          • name string | null

            Name of country.

          • alphaCode3 string | null

            Three letter code of country.

          • Additional properties are NOT allowed
        • voyageDates object

          Transport dates

          Hide voyageDates attributes Show voyageDates attributes object
          • eta string(date-time) | null

            Estimated Time of Arrival is the time when a ship, vehicle, aircraft, cargo, emergency service or person is expected to arrive at its destination.
            ISO 8601 Extended Format

          • etd string(date-time) | null

            Estimated Time of Departure is the time when a ship, vehicle, aircraft, cargo, emergency service or person is expected to depart from its point of origin.
            ISO 8601 Extended Format

          • ata string(date-time) | null

            Actual Time of Arrival is the time that a vessel or any other mode of transportation is determined to arrive at its destination.
            ISO 8601 Extended Format

          • atd string(date-time) | null

            Actual Time of Departure is the time that a vessel or any other mode of transportation is determined to depart from its point of origin.
            ISO 8601 Extended Format

          • Additional properties are NOT allowed
        • schedulePlace object

          UN/LOCODE information is based on recommendation 16 UN/LOCODE.

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

            UN/LOCODE have length of 5 - combination of Country code (length of 2) and Location code (length of 3)

          • name string | null

            Name of location.

          • Additional properties are NOT allowed
        • transportMeansType object

          Transport means type

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

            Code of means type.

          • name string | null

            Name of the means type.

          • Additional properties are NOT allowed
        • meansId array[object] | null

          The mean identifier for the transport,
          e.g. when the mode of transport is a vessel, the transport mean identifier would be the vessel IMO number.

          The mean identifier for the transport,
          e.g. when the mode of transport is a vessel, the transport mean identifier would be the vessel IMO number.

          Hide meansId attributes Show meansId attributes object
          • type string

            Means identifier type. The possible values are :
            - IMONumber for maritime transport
            - CallSign for maritime transport

            Values are IMONumber, CallSign, IATA, or ICAO.

          • name string | null

            Name of means id

          • Additional properties are NOT allowed
        • arrivalScheduleReference string | null

          Arrival reference.

        • departureScheduleReference string | null

          Departure reference.

        • Additional properties are NOT allowed
      • events array[object] | null

        An event corresponds to a movement or an authorization on the handling unit, occured on a location.

        An event corresponds to a movement or an authorization on the handling unit, occured on a location.

        Hide events attributes Show events attributes object
        • eventWay string

          Way of the movement on the location

          Values are In, Out, or Undefined.

        • eventType object

          Type of events defined in the S)ONE application.

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

            Code of event.

          • name string | null

            Name of event.

          • Additional properties are NOT allowed
        • eventDate string(date-time) | null

          Event date.
          ISO 8601 Extended Format

        • eventPlace object

          Locations represented ports, airports, warehouse, berth, ... referenced in the S)ONE application.

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

            Code of location.

          • name string | null

            Name of location.

          • Additional properties are NOT allowed
        • eventLocation object

          Locations represented ports, airports, warehouse, berth, ... referenced in the S)ONE application.

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

            Code of location.

          • name string | null

            Name of location.

          • Additional properties are NOT allowed
        • eventTransportMode object

          TransportMode

          Hide eventTransportMode attributes Show eventTransportMode attributes object
          • code number(double) | null

            Transport mode code.

          • name string | null

            Transport mode name.

          • Additional properties are NOT allowed
        • Additional properties are NOT allowed
      • hazardousItems array[object] | null

        Hazardous item.

        Hazardous item.

        Hide hazardousItems attributes Show hazardousItems attributes object
        • imoClass object

          Dangerous Code which is based on Dangerous Goods List of UNECE

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

            Dangerous code

          • description string | null

            Description of dangerous code

          • Additional properties are NOT allowed
        • limitedQuantity boolean | null

          Limited quantity

        • Additional properties are NOT allowed
      • emptyReturn object

        Empty return information.

        Hide emptyReturn attributes Show emptyReturn attributes object
        • dueDate string(date-time) | null

          Due date
          ISO 8601 Extended Format

        • finishDateEarliest string(date-time) | null

          Finish date earliest
          ISO 8601 Extended Format

        • finishDateLatest string(date-time) | null

          Finish date latest
          ISO 8601 Extended Format

        • Additional properties are NOT allowed
      • Additional properties are NOT allowed
    • Additional properties are NOT allowed
  • 400 application/json

    Bad Request

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

      Http error status.

    • timestamp string(date-time)

      Error date.
      ISO 8601 Extended Format

    • code string | null

      Business error code.
      The possible values are :
      - R001 : No handling unit was found
      - R002 : The handling unit is null
      - R003 : The handling unit is not correctly formated

    • message string | null

      Error message.

    • Additional properties are NOT allowed
  • 404 application/json

    Not Found

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

      Http error status.

    • timestamp string(date-time)

      Error date.
      ISO 8601 Extended Format

    • code string | null

      Business error code.
      The possible values are :
      - R001 : No handling unit was found
      - R002 : The handling unit is null
      - R003 : The handling unit is not correctly formated

    • message string | null

      Error message.

    • Additional properties are NOT allowed
GET /handling-units/search
curl \
 -X GET https://soget-api-integration.azure-api.net/api-tracing-libelle-in-mass/v1/handling-units/search?documentReference=string \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Ocp-Apim-Subscription-Key: $API_KEY"
Response examples (200)
{
  "total": 42,
  "returned": 42,
  "first": 42,
  "items": [
    {
      "freightFamily": "Container",
      "customsFlag": "Unknown",
      "reference": "string",
      "pswId": "string",
      "sizeType": {
        "code": "string",
        "description": "string"
      },
      "packagingCode": {
        "code": "string",
        "description": "string"
      },
      "measures": {
        "quantity": 42,
        "weight": {
          "tare": {
            "value": 42.0,
            "unit": "string"
          },
          "grossWeight": {
            "value": 42.0,
            "unit": "string"
          },
          "netWeight": {
            "value": 42.0,
            "unit": "string"
          }
        },
        "volume": {
          "value": 42.0,
          "unit": "string"
        },
        "remainingQuantity": 42,
        "availableQuantity": 42,
        "reportedQuantity": 42,
        "remainingWeight": {
          "value": 42.0,
          "unit": "string"
        }
      },
      "indicators": {
        "hazardous": true,
        "empty": true,
        "reefer": true,
        "pollutant": true,
        "fumigation": true,
        "quarantine": true,
        "outOfGauge": true
      },
      "references": [
        {
          "type": "Rank",
          "value": "string"
        }
      ],
      "huLocation": {
        "place": {
          "code": "string",
          "name": "string"
        },
        "location": {
          "code": "string",
          "name": "string"
        }
      },
      "actors": {
        "freightAgent": {
          "code": "string",
          "name": "string"
        },
        "freightForwarder": {
          "code": "string",
          "name": "string"
        }
      },
      "temperatures": {
        "setPoint": 42.0,
        "rangeMin": 42.0,
        "rangeMax": 42.0
      },
      "shipments": [
        {
          "processingIndicator": "Unknown",
          "documentReference": "string",
          "documentId": "string",
          "documentType": {
            "code": 42.0,
            "name": "string"
          },
          "documentDate": "2024-05-04T09:42:00+00:00",
          "originLocation": {
            "code": "string",
            "name": "string"
          },
          "destinationLocation": {
            "code": "string",
            "name": "string"
          },
          "merchantHaulage": true
        }
      ],
      "transport": {
        "meansName": "string",
        "voyageId": "string",
        "mode": {
          "code": 42.0,
          "name": "string"
        },
        "meansNationality": {
          "name": "string",
          "alphaCode3": "string"
        },
        "voyageDates": {
          "eta": "2024-05-04T09:42:00+00:00",
          "etd": "2024-05-04T09:42:00+00:00",
          "ata": "2024-05-04T09:42:00+00:00",
          "atd": "2024-05-04T09:42:00+00:00"
        },
        "schedulePlace": {
          "code": "string",
          "name": "string"
        },
        "transportMeansType": {
          "code": "string",
          "name": "vehicle carrier"
        },
        "meansId": [
          {
            "type": "IMONumber",
            "name": "string"
          }
        ],
        "arrivalScheduleReference": "string",
        "departureScheduleReference": "string"
      },
      "events": [
        {
          "eventWay": "In",
          "eventType": {
            "code": "string",
            "name": "string"
          },
          "eventDate": "2024-05-04T09:42:00+00:00",
          "eventPlace": {
            "code": "string",
            "name": "string"
          },
          "eventLocation": {
            "code": "string",
            "name": "string"
          },
          "eventTransportMode": {
            "code": 42.0,
            "name": "string"
          }
        }
      ],
      "hazardousItems": [
        {
          "imoClass": {
            "code": "string",
            "description": "string"
          },
          "limitedQuantity": true
        }
      ],
      "emptyReturn": {
        "dueDate": "2024-05-04T09:42:00+00:00",
        "finishDateEarliest": "2024-05-04T09:42:00+00:00",
        "finishDateLatest": "2024-05-04T09:42:00+00:00"
      }
    }
  ]
}
Response examples (400)
{
  "status": "string",
  "timestamp": "2024-05-04T09:42:00+00:00",
  "code": "string",
  "message": "string"
}
Response examples (404)
{
  "status": "string",
  "timestamp": "2024-05-04T09:42:00+00:00",
  "code": "string",
  "message": "string"
}