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

getDetachedHandling

POST
/hna/detachedHandlings:get
Retrieve a handling without a visit
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/hna/detachedHandlings:get' \
--header 'Content-Type: application/json' \
--data-raw '{
    "handlingId": "d7727b42-b7d3-490e-aa70-619d7717b1d1"
}'
Response Response Example
{
    "type": "string",
    "declarant": {
        "fullName": "string",
        "shortName": "string",
        "emailAddress": "string",
        "address": "string",
        "city": "string",
        "countryUnCode": "string",
        "countryName": "string",
        "zipCode": "string",
        "phoneNumber": "string",
        "faxNumber": "string",
        "contact": "string",
        "customsEORINumber": "string",
        "ean": "string",
        "chamberOfCommerceNumber": "string",
        "scacCode": "string",
        "scacDisplayCode": "string"
    },
    "modality": "string",
    "handlingId": "string",
    "terminal": {
        "shortName": "string",
        "ean": "string",
        "smdgCode": "string",
        "bicsCode": "string",
        "quayName": "1742",
        "location": {
            "name": "string",
            "locationUnCode": "strin"
        },
        "allowedModalities": [
            "string"
        ],
        "tarRequired": true,
        "roadLicenseIdRequired": true,
        "roadStatusRequestAllowed": true,
        "quaySelectByDeclarantForbidden": true,
        "updateAllowed": true,
        "maxSealNumberLength": 0,
        "acceptAfterRejectForbidden": true,
        "terminalSettings": [
            {}
        ],
        "prenotifyOnlyAfterVisitAccepted": true,
        "prenotificationRestrictedToDeclarants": {}
    },
    "plannedQuay": {
        "shortName": "string",
        "ean": "string",
        "smdgCode": "string",
        "bicsCode": "string",
        "quayName": "1742",
        "location": {
            "name": "string",
            "locationUnCode": "strin"
        },
        "allowedModalities": [
            "string"
        ],
        "tarRequired": true,
        "roadLicenseIdRequired": true,
        "roadStatusRequestAllowed": true,
        "quaySelectByDeclarantForbidden": true,
        "updateAllowed": true,
        "maxSealNumberLength": 0,
        "acceptAfterRejectForbidden": true,
        "terminalSettings": [
            {}
        ],
        "prenotifyOnlyAfterVisitAccepted": true,
        "prenotificationRestrictedToDeclarants": {}
    },
    "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": {
            "name": "string",
            "scacCode": "stri",
            "scacDisplayCode": "string",
            "smdgCode": "str"
        },
        "sizeType": {
            "code": "22G1",
            "name": "20'x8'x8'6\\\" General Purpose Container"
        },
        "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"
    },
    "handlingStatus": {
        "equipmentNumber": "string",
        "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
        },
        "window": {
            "start": "string",
            "end": "string"
        },
        "dangerousGoods": [
            {
                "name": "string",
                "unCode": "1150",
                "hazardClass": "1",
                "subsidiaryRisk": "1",
                "emsFireCode": "string",
                "emsSpillageCode": "string",
                "properties": "string",
                "segregationGroup": "string",
                "packingGroup": "string",
                "flashPoint": 0
            }
        ],
        "bookingNumber": "string",
        "shippingCompany": {
            "name": "string",
            "scacCode": "stri",
            "scacDisplayCode": "string",
            "smdgCode": "str"
        },
        "sizeType": {
            "code": "22G1",
            "name": "20'x8'x8'6\\\" General Purpose Container"
        },
        "full": true,
        "shippersOwned": true,
        "type": "string",
        "humidity": 0,
        "doorOpen": true,
        "chainWork": true,
        "generator": true,
        "damageRemark": "string",
        "previousPort": "string",
        "remarks": "string",
        "masterBundleContainerNumber": "string",
        "deepSea": {
            "shipName": "string",
            "imoCode": "string",
            "voyageNUmber": "string",
            "eta": "string",
            "etd": "string",
            "expectedDischargeTime": "string",
            "radioCallSign": "string",
            "shipsStayReference": "string"
        },
        "closestBollard": {
            "bicsCode": "string",
            "number": "string",
            "coordinates": {},
            "metersToNextBollard": 0,
            "mooringSide": "port"
        },
        "releaseForModality": "string",
        "documentsPresent": true,
        "notifications": [
            {
                "level": "string",
                "code": "string",
                "description": "string"
            }
        ],
        "equipmentStatusCode": "string",
        "documentNumbers": [
            "string"
        ],
        "damages": [
            {
                "typeOfDamages": "string",
                "damageArea": "string"
            }
        ]
    },
    "eta": "2019-08-24T14:15:22Z",
    "cancelled": true,
    "attached": true,
    "deepSea": {
        "shipName": "string",
        "imoCode": "string",
        "crnNumber": "string",
        "voyageNumber": "string",
        "eta": "string",
        "etd": "string",
        "expectedDischargeTime": "string",
        "radioCallSign": "string",
        "shipsStayReference": "string",
        "cargoOpeningTime": "string",
        "cargoClosingTime": "string",
        "shippingAgent": "string",
        "source": "TERMINAL",
        "lastUpdated": "string"
    },
    "handlingDeclaration": {
        "declarationUsingUpdateBypass": true,
        "cancelForUpdateByPassAcceptedByTerminal": true,
        "status": "string",
        "acceptStatuses": [
            {
                "type": "COMMERCIAL_RELEASE",
                "ok": true,
                "code": "string",
                "remark": "string"
            }
        ],
        "rejectReasons": [
            {
                "code": "string",
                "terminalDescription": "string",
                "parsedReason": "string"
            }
        ]
    }
}

Request

Body Params application/json

Examples

Responses

🟢200default response
application/json
Body

Modified at 2024-08-19 11:18:45
Previous
detachHandling
Next
moveHandling
Built with