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

updatePosition

POST
/hna/updatePosition
Listening
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/hna/updatePosition' \
--header 'Content-Type: application/json' \
--data-raw '{
    "lastIndex": 0,
    "clientSegment": [
        0
    ]
}'
Response Response Example
{}

Request

Body Params application/json
lastIndex
integer <int64>
optional
clientSegment
array[integer <int32>]
optional
Examples

Responses

🟢200default response
application/json
Body
object {0}
Modified at 2024-08-19 11:18:45
Previous
resetPosition
Built with