hi I have been working on API for the Get Trip Notifications (https://tripinsight.alk.com/service.svc/trip/{tripId}/events).
I have created trip and changed the API's as below to trigger the notifications.
- Create a short Trip
- Update Trip Status using TripId
- Update Stop Status using TripId
- Update Positions using TripId
- Check Trip Notification API
Notifications are set at the API key level when it is licensed.
Notifications are triggered by "events" during your trip. For example, a stop event is created whenever there is an update of a stop status to “Arrived” or “Departed”. As another example, an Out of Route (OoR) mileage event is generated when the total mileage of a trip marked as complete differs from the originally planned mileage of the trip by a certain threshold. (That threshold is among the settings chosen when the API key is licensed.)
Notifications are a polling service. You have to ask for them by calling either the GET Trip Notifications endpoint or the more general Event Notifications service.