MPET
  1. Operator - Handlings
MPET
  • HNA-API
    • Operator - Handlings
      • cancelHandling
        POST
      • createDetachedHandling
        POST
      • createHandling
        POST
      • detachHandling
        POST
      • getDetachedHandling
        POST
      • moveHandling
        POST
      • updateDetachedHandling
        POST
      • updateHandling
        POST
    • Operator - Visits
      • cancelVisit
      • createVisit
      • finalizeLoadDischargeList
      • moveVisit
      • sendLoadDischargeList
      • updateVisit
    • Operator - Voyages
      • cancelVoyage
      • createVoyage
      • getVoyage
      • updateCargoDeclarations
      • updateVoyage
      • updateVoyageRestrictions
    • Listening
      • disconnectClient
      • listenToShipmentUpdates
      • listenToUpdate
      • resetPosition
      • updatePosition
  1. Operator - Handlings

updateHandling

POST
/hna/attachedHandlings:update
Operator - Handlings
Update a handling attached to a barge
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/hna/attachedHandlings:update' \
--header 'Content-Type: application/json' \
--data-raw '{
    "visitId": "75111204",
    "handlingData": {
        "equipmentNumber": "BICU1234565",
        "weight": 0,
        "tareWeight": 0,
        "sealNumber": "string",
        "reefer": {
            "temperatureFixed": true,
            "temperature": -999,
            "minimumTemperature": -999,
            "maximumTemperature": -999
        },
        "outOfGauge": {
            "left": 0,
            "front": 0,
            "height": 0,
            "right": 0,
            "rear": 0
        },
        "bookingNumber": "string",
        "shippingCompany": {
            "scacCode": "stri",
            "scacDisplayCode": "string",
            "smdgCode": "str"
        },
        "sizeType": {
            "code": "22G1"
        },
        "type": "LOADING",
        "full": true,
        "shippersOwned": true,
        "humidity": 0,
        "doorOpen": true,
        "chainWork": true,
        "generator": true,
        "damageRemark": "string",
        "previousPort": "string",
        "remarks": "Connected reefer",
        "category": "string",
        "nextPort": "string",
        "finalPort": "string",
        "modality": "TRUCK",
        "totalContainerWeight": 0,
        "deepSea": {
            "shipName": "string",
            "imoCode": "string",
            "crnNumber": "string"
        },
        "inlandTerminal": {
            "name": "string",
            "location": {
                "name": "string",
                "locationUnCode": "strin"
            }
        },
        "transportNumber": "string"
    },
    "preNotification": true,
    "handlingId": "d7727b42-b7d3-490e-aa70-619d7717b1d1"
}'
Response Response Example
{}

Request

Body Params application/json
visitId
string 
required
Unique identifier of the visit which was generated on the creation of the visit. If given, the update will work even if the handling has been detached.
Example:
75111204
handlingData
object (HnaHandlingData) 
required
Cargo handling details as requested by the declarant for the given modality.
equipmentNumber
string  | null 
required
Container number. Required except for loading empty and depending on terminal setting
Example:
BICU1234565
weight
number <double> | null 
optional
Required depending on terminal setting. The weight of the cargo in kilograms meaning the tare weight of the container excluded
>= 0<= 99999
tareWeight
number <double> | null 
optional
Tare weight of the container itself in kilograms without the weight of the cargo
>= 0<= 99999
sealNumber
string  | null 
optional
Required depending on terminal setting and max length depending on terminal.
The identification number of the container seal.
reefer
object (HnaReefer) 
optional
outOfGauge
object (HnaOutOfGauge) 
optional
Required depending on terminal setting. The number of centimeters on which the cargo exceeds the dimensions of the container.
bookingNumber
string 
required
The delivery ref for discharge or the release reference for loading of the container at the terminal.
shippingCompany
required
sizeType
object (HnaSizeType) 
required
type
enum<string> 
required
Indication whether the container is loaded onto or unloaded from the hinterland means of transport.
Allowed values:
LOADINGDISCHARGE
full
boolean 
optional
Indication whether the container is full or empty.
shippersOwned
boolean 
optional
Indication whether the container identifier is a ISO 6346 compliant container number (apply true when it does not comply).
humidity
number <double> | null 
optional
The humidity for this container in percentage.
doorOpen
boolean  | null 
optional
Indicates whether the door for this container is open.
chainWork
boolean  | null 
optional
Indicates whether chains are needed to load or discharge this container.
generator
boolean  | null 
optional
Indicates whether this container has a generator.
damageRemark
string  | null 
optional
Can be used to communicate detected damage to the container.
previousPort
string  | null 
optional
The code of the port this container departed from before arriving at MPET.
remarks
string  | null 
optional
Remarks regarding this container.
Example:
Connected reefer
category
string  | null 
optional
The category of the container, free text, for example ‘food grade’.
nextPort
string  | null 
optional
The code of the port this container will be shipped to after departing from Antwerp. Only for export containers (discharging).
finalPort
string  | null 
optional
The code of the port which is the final destination for this container, after departing from Antwerp. Only for export containers (discharging).
modality
enum<string> 
optional
The way in which the transportation of the cargo takes place in the hinterland.
Allowed values:
TRUCKBARGERAIL
Example:
barge
totalContainerWeight
number <double> | null 
optional
The total weight of the container, meaning the 'weight' and the 'tareWeight' added.
deepSea
object (HnaHandlingDataDeepsea) 
optional
inlandTerminal
object (HnaInlandTerminal) 
optional
transportNumber
string  | null 
optional
Customer's ref number of the hinterland transport.
preNotification
boolean 
required
Indication whether a pre-announcement (true) or a status request (when supported by the terminal for the given modality) must be send to the terminal (false). Status request on a visit not supported for Road.
handlingId
string 
optional
Unique identifier of the handling/container which was generated on the creation of the handling.
Example:
d7727b42-b7d3-490e-aa70-619d7717b1d1
Examples

Responses

🟢200default response
application/json
Body
object {0}
Previous
updateDetachedHandling
Next
cancelVisit
Built with