Good to know > Concepts > ETA Notifications

ETA Notifications

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.

What sort of subscriptions exist

There are two ways to get information back:

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"
			}
		}

What is the SCEMID transmitted in the subscription for?

To specify for which stop or trip you will get notifications back a SCEMID must be given in the subscription.

When will you get back notifications from PTV Drive&Arrive and in which format

You will get back

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