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

updateCargoDeclarations

POST
/hna/voyages/cargoDeclarants:update
Register or update the declarants of voyages
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/hna/voyages/cargoDeclarants:update' \
--header 'Content-Type: application/json' \
--data-raw '{
    "voyageId": "string",
    "cargoDeclarants": [
        {
            "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"
        }
    ]
}'
Response Response Example
{}

Request

Body Params application/json

Examples

Responses

🟢200default response
application/json
Body

Modified at 2024-08-19 11:18:45
Previous
getVoyage
Next
updateVoyage
Built with