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

createVoyage

POST
/hna/voyages:create
Operator - Voyages
Create a barge voyage, also known as a rotation
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/hna/voyages:create' \
--header 'Content-Type: application/json' \
--data-raw '{
    "voyageData": {
        "modality": "string"
    },
    "contactPerson": {
        "name": "string",
        "emailAddress": "string",
        "phoneNumber": "string"
    }
}'
Response Response Example
{
  "voyageId": "string"
}

Request

Body Params application/json
voyageData
object (HnaVoyageData) 
required
modality
string 
required
contactPerson
object (HnaContactPerson) 
optional
name
string 
required
emailAddress
string 
optional
phoneNumber
string 
optional
Examples

Responses

🟢200default response
application/json
Body
voyageId
string 
optional
Previous
cancelVoyage
Next
getVoyage
Built with