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

createDetachedHandling

POST
/hna/detachedHandlings:create
Create a handling which is not attached to a visit.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/hna/detachedHandlings:create' \
--header 'Content-Type: application/json' \
--data-raw '{
    "terminal": {
        "shortName": "string",
        "ean": "string",
        "smdgCode": "string",
        "bicsCode": "string",
        "quayName": "1742"
    },
    "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"
    },
    "eta": "2019-08-24T14:15:22Z"
}'
Response Response Example
{
    "handlingId": "d7727b42-b7d3-490e-aa70-619d7717b1d1"
}

Request

Body Params application/json

Examples

Responses

🟢200default response
application/json
Body

Modified at 2024-08-19 11:18:45
Previous
cancelHandling
Next
createHandling
Built with