Up to now, only data is transferred to PTV Drive&Arrive. In order to get back information about ETA violation, someone has to subscribe for this.
There are two ways to get information back:
Your service or server has a public IP address thePTV Drive&Arrive can call
Your service or application has to register to an real-time push-service (SSE)
Subscriptions can be done via calling method https://driveandarrive-v1.cloud.ptvlogistics.com/em/subscriptionwith HTTP-POST with the following data:
SSE:
{ "subscription": { "notificationType": "PUSH_NON_MOBILE_SSE", "notificationDescription":{ "ident" : "your_identifier" }, "scemid": "P27SAAEKNH" } }
Callback:
{ "subscription": { "notificationType": "CALLBACK_URL", "notificationDescription": { "callBackURL":"http://requestb.in/x9x9x9x9", "ident": "your_identifier" }, "scemid": "P27SAAEKNH" } }
To specify for which stop or trip you will get notifications back a SCEMID must be given in the subscription.
You will get back
a notification after a subscription
a notification for each ETA calculation
Example: If, first of all, a transport service provider sends a trip to PTV Drive&Arrive and secondly the driver of this trip sends regularly events to stop 2 and the dispatcher is subscribed to stop 2 then the dispatcher will get back multiple notifications every 5 minutes.
If your are no longer interested in getting back information about trip execution from PTV Drive&Arrive, then you have to unsubscribe. The method https://driveandarrive-v1.cloud.ptvlogistics.com/em/subscription with HTTP-DELETE expects the same data as the subscription POST method.
© 2025 PTV Logistics GmbH | Imprint