Alert Webhooks

Alert Webhooks

 

Overview

Alerts Webhooks are event based, thus will be triggered as and when respective events occur. They cannot be scheduled or consolidated.

Prerequisites

Ensure our IPs are whitelisted for both environments:
Sandbox - 13.126.98.143
Production - 13.234.139.9

How to Subscribe

  1. Go through the FT Webhook contracts.

  2. Create an API endpoint with or without permanent authorisation token/key with respect to these contracts.

  3. Raise a support ticket here with the details of your API endpoint and authorisation and the name of FT Alert Webhooks you would like to subscribe to.

  4. Once configured, validate the data flow.

Alert Webhooks

Long stoppage

Long stoppage started

API end point: /alert_long_stoppage_started

Payload Body:

{ "provider": "Freight Tiger", "event": { "name": "alert.long_stoppage_started", "timestamp": 1597376180 }, "trip_id": "1212121", "alert_name": "Long Stoppage", "alert_start_time": 1597376180, "alert_trigger_time": 1597388228, "duration": 200, "alert_status": "In Progress", "escalation": { "level_1_escalated_at": 1597388228, "current_escalation_level": 1 }, "alert_id": "89d914be-237b-4080-8407-016a8a4dd920", "alert_start_location": { "pincode": "151001", "address": "Dabwali Rd, Lal Singh Nagar, Bathinda, Punjab 151001, India", "lon": 74.9352, "lat": 30.1805 }, "distance_from_origin_at_start": 309, "distance_from_destination_at_start": 179 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string", "description":"provider name who is triigering event Ex: 'Freight Tiger'" }, "event": { "type": "object", "properties": { "name": { "type": "string", "description":"name of event ex:alert.long_stoppage_started " }, "timestamp": { "type": "integer", "description":"Timestamp when the alert was started epoch in seconds " } } }, "trip_id": { "type": "string"// trip ID same as at time of trip creation }, "alert_name": { "type": "string", "description":"name of alert ex: Long Stoppage " }, "alert_start_time": { "type": "integer" //Timestamp when the alert was started epoch in seconds }, "alert_trigger_time": { "type": "integer" //Timestamp when the alert was triggered epoch in seconds }, "duration": { "type": "integer" // alert duration in minutes }, "alert_status": { "type": "string" // alert status Ex: 'in progress'. }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer"//Current Alert Escalation Level }, "current_escalation_level": { "type": "integer" //The timestamp at which this level was crossed } } }, "alert_id": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" } } }

Long stoppage escalated Level 2

API end point: /alert_long_stoppage_escalated_to_2
Payload Body:

{ "provider": "Freight Tiger", "event": { "name": "alert.long_stoppage_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Long Stoppage", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "current_escalation_level": 2 } }

Schema

{ "type": "object", "properties": { "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "address": { "type": "string" }, "lat": { "type": "number" }, "lon": { "type": "number" }, "pincode": { "type": "string" } } }, "alert_start_time": { "type": "integer" }, "alert_status": { "type": "string" }, "alert_trigger_time": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "current_distance_from_origin": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "distance_from_origin_at_start": { "type": "integer" }, "duration": { "type": "integer" }, "escalation": { "type": "object", "properties": { "current_escalation_level": { "type": "integer" }, "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" } } }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "last_known_location": { "type": "object", "properties": { "address": { "type": "string" }, "lat": { "type": "number" }, "lon": { "type": "number" }, "pincode": { "type": "string" } } }, "provider": { "type": "string" }, "trip_id": { "type": "string" } } }

Long stoppage escalated Level 3

API end point: /alert_long_stoppage_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.long_stoppage_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Long Stoppage", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "level_3_escalated_at": 1597388970, "current_escalation_level": 3 } }

schema

{ "type": "object", "properties": { "provider*": { "type": "string" }, "event*": { "type": "object", "properties": { "name*": { "type": "string" }, "timestamp*": { "type": "integer" } } }, "trip_id*": { "type": "string" }, "alert_id*": { "type": "string" }, "alert_name*": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_3_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Long Stoppage closed

API end point:- /alert_long_stoppage_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.long_stoppage_closed", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Long Stoppage", "alert_status": "Closed", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "alert_close_time": 1597388453, "alert_closure_reason": "Event Closed", "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "current_escalation_level": 1 } }

schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Over Speeding Alert

Over Speeding Started

API end point:- /alert_over_speeding_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.over_speeding_started", "timestamp": 1597376180 }, "trip_id": "1212121", "alert_name": "Over Speeding", "alert_start_time": 1597376180, "alert_trigger_time": 1597388228, "duration": 200, "alert_status": "In Progress", "escalation": { "level_1_escalated_at": 1597388228, "current_escalation_level": 1 }, "alert_id": "89d914be-237b-4080-8407-016a8a4dd920", "alert_start_location": { "pincode": "151001", "address": "Dabwali Rd, Lal Singh Nagar, Bathinda, Punjab 151001, India", "lon": 74.9352, "lat": 30.1805 }, "distance_from_origin_at_start": 309, "distance_from_destination_at_start": 179, "max_speed": 68 }

schema

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_status": { "type": "string" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "max_speed": { "type": "integer" } } }

Over Speeding escalated Level 2

API end point:- /alert_over_speeding_escalated_to_2
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.over_speeding_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Over Speeding", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "current_escalation_level": 2 }, "max_speed": 68 }

schema

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "max_speed": { "type": "integer" } } }

Over Speeding escalated Level 3

API end point:- /alert_over_speeding_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.over_speeding_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Over Speeding", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "level_3_escalated_at": 1597388970, "current_escalation_level": 3 }, "max_speed": 68 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_3_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "max_speed": { "type": "integer" } } }

Over Speeding closed

API end point:- ​/alert_over_speeding_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.over_speeding_closed", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Over Speeding", "alert_status": "Closed", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "alert_close_time": 1597388453, "alert_closure_reason": "Event Closed", "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "current_escalation_level": 1 }, "max_speed": 68 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "max_speed": { "type": "integer" } } }

Night Driving Alert

Night Driving Started

API end point:- /alert_night_driving_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.night_driving_started", "timestamp": 1597376180 }, "trip_id": "1212121", "alert_name": "Night Driving", "alert_start_time": 1597376180, "alert_trigger_time": 1597388228, "duration": 200, "night_distance_covered": 15, "alert_status": "In Progress", "escalation": { "level_1_escalated_at": 1597388228, "current_escalation_level": 1 }, "alert_id": "89d914be-237b-4080-8407-016a8a4dd920", "alert_start_location": { "pincode": "151001", "address": "Dabwali Rd, Lal Singh Nagar, Bathinda, Punjab 151001, India", "lon": 74.9352, "lat": 30.1805 }, "distance_from_origin_at_start": 309, "distance_from_destination_at_start": 179 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "night_distance_covered": { "type": "integer" }, "alert_status": { "type": "string" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" } } }


Night Driving escalated Level 2

API end point:- /alert_night_driving_escalated_to_2
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.night_driving_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Night Driving", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "night_distance_covered": 15, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "current_escalation_level": 2 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "night_distance_covered": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

 

Night Driving escalated Level 3

API end point:- /alert_night_driving_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.night_driving_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Night Driving", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "night_distance_covered": 15, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "level_3_escalated_at": 1597388970, "current_escalation_level": 3 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "night_distance_covered": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_3_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }


Night Driving Closed

API end point:- /alert_night_driving_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.night_driving_closed", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Night Driving", "alert_status": "Closed", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "alert_close_time": 1597388453, "alert_closure_reason": "Event Closed", "duration": 200, "night_distance_covered": 15, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "current_escalation_level": 1 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "night_distance_covered": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Tracking Interrupted Alert

Tracking Interrupted Started

API end point:- /alert_tracking_interrupted_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.tracking_interrupted_started", "timestamp": 1597376180 }, "trip_id": "1212121", "alert_name": "Tracking Interrupted", "alert_start_time": 1597376180, "alert_trigger_time": 1597388228, "duration": 200, "alert_status": "In Progress", "interrupted_reason": "Other", "escalation": { "level_1_escalated_at": 1597388228, "current_escalation_level": 1 }, "alert_id": "89d914be-237b-4080-8407-016a8a4dd920", "alert_start_location": { "pincode": "151001", "address": "Dabwali Rd, Lal Singh Nagar, Bathinda, Punjab 151001, India", "lon": 74.9352, "lat": 30.1805 }, "distance_from_origin_at_start": 309, "distance_from_destination_at_start": 179 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_status": { "type": "string" }, "interrupted_reason": { "type": "string" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" } } }


Tracking Interrupted Escalating Level 2

API end point:- /alert_tracking_interrupted_escalated_to_2
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.tracking_interrupted_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Tracking Interrupted", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "interrupted_reason": "Other", "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "current_escalation_level": 2 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "interrupted_reason": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }


Tracking Interrupted Escalating Level 3

API end point:- /alert_tracking_interrupted_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.tracking_interrupted_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Tracking Interrupted", "alert_status": "In Progress", "interrupted_reason": "Other", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "level_3_escalated_at": 1597388970, "current_escalation_level": 3 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "interrupted_reason": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_3_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }


Tracking Interrupted Closed

API end point:- /alert_tracking_interrupted_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.tracking_interrupted_closed", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Tracking Interrupted", "alert_status": "Closed", "interrupted_reason": "Other", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "alert_close_time": 1597388453, "alert_closure_reason": "Event Closed", "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "current_escalation_level": 1 } }

Schema:-

{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "interrupted_reason": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Sta Breach Alert

Sta Breach Started

API end point:- /alert_sta_breach_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.sta_breach_started", "timestamp": 1597376180 }, "trip_id": "1212121", "alert_name": "Sta Breach", "sta": 1597421012, "alert_start_time": 1597376180, "alert_trigger_time": 1597388228, "duration": 200, "alert_status": "In Progress", "escalation": { "level_1_escalated_at": 1597388228, "current_escalation_level": 1 }, "alert_id": "89d914be-237b-4080-8407-016a8a4dd920", "alert_start_location": { "pincode": "151001", "address": "Dabwali Rd, Lal Singh Nagar, Bathinda, Punjab 151001, India", "lon": 74.9352, "lat": 30.1805 }, "distance_from_origin_at_start": 309, "distance_from_destination_at_start": 179 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_name": { "type": "string" }, "sta": { "type": "integer" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_status": { "type": "string" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" } } }

Sta Breach Escalating Level 2

API end point:- /alert_sta_breach_escalated_to_2
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.sta_breach_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Sta Breach", "sta": 1597421012, "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "current_escalation_level": 2 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "sta": { "type": "integer" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Sta Breach Escalating Level 3

API end point:- /alert_sta_breach_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.sta_breach_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Sta Breach", "sta": 1597421012, "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "level_3_escalated_at": 1597388970, "current_escalation_level": 3 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "sta": { "type": "integer" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_3_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Sta Breach Closed

API end point:- /alert_sta_breach_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.sta_breach_closed", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Sta Breach", "sta": 1597421012, "alert_status": "Closed", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "alert_close_time": 1597388453, "alert_closure_reason": "Event Closed", "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "current_escalation_level": 1 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "sta": { "type": "integer" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Trip Validation Failure Alert

Trip Validation Failure Started

API end point:- /alert_trip_validation_failure_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.trip_validation_failure_started", "timestamp": 1597420978 }, "trip_id": 121212, "alert_id": "9f4eb040-de47-11ea-a6ee-d10650c7f5d0", "failed_rules": "EWB Missing", "alert_name": "Trip Validation Failure", "alert_trigger_time": 1597420980, "duration": 0, "alert_status": "In Progress", "alert_start_time": 1597420978, "escalation": { "level_1_escalated_at": 1597420980, "current_escalation_level": 1 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "integer" }, "alert_id": { "type": "string" }, "failed_rules": { "type": "string" }, "alert_name": { "type": "string" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

 

Trip Validation Failure Escalating Level 2

API end point:- /alert_trip_validation_failure_escalated_to_2`
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.trip_validation_failure_escalated_to_2", "timestamp": 1597426378 }, "trip_id": 21212121, "alert_name": "Trip Validation Failure", "alert_trigger_time": 1597418283, "duration": 135, "alert_status": "In Progress", "failed_rules": "EWB Missing", "alert_start_time": 1597418276, "escalation": { "level_2_escalated_at": 1597426378, "level_1_escalated_at": 1597418283, "current_escalation_level": 2 }, "alert_id": "56caf677-de41-11ea-a6ee-d10650c7f5d0" }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "integer" }, "alert_name": { "type": "string" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_status": { "type": "string" }, "failed_rules": { "type": "string" }, "alert_start_time": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_2_escalated_at": { "type": "integer" }, "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" } } }

 

Trip Validation Failure Escalating Level 3

API end point:- /alert_trip_validation_failure_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.trip_validation_failure_escalated_to_2", "timestamp": 1597426378 }, "trip_id": 21212121, "alert_name": "Trip Validation Failure", "alert_trigger_time": 1597418283, "duration": 135, "alert_status": "In Progress", "failed_rules": "EWB Missing", "alert_start_time": 1597418276, "escalation": { "level_3_escalated_at": 1597426581, "level_2_escalated_at": 1597426378, "level_1_escalated_at": 1597418283, "current_escalation_level": 2 }, "alert_id": "56caf677-de41-11ea-a6ee-d10650c7f5d0" }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "integer" }, "alert_name": { "type": "string" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_status": { "type": "string" }, "failed_rules": { "type": "string" }, "alert_start_time": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_3_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" } } }

 

Trip Validation Failure Closed

API end point:- /alert_trip_validation_failure_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.trip_validation_failure_escalated_to_2", "timestamp": 1597426378 }, "trip_id": 21212121, "alert_name": "Trip Validation Failure", "alert_trigger_time": 1597418283, "alert_close_time": 1597419398, "duration": 135, "alert_status": "Closed", "failed_rules": "EWB Missing", "alert_start_time": 1597418276, "alert_closure_reason": "All rules passed.", "escalation": { "level_3_escalated_at": 1597426581, "level_2_escalated_at": 1597426378, "level_1_escalated_at": 1597418283, "current_escalation_level": 3 }, "alert_id": "56caf677-de41-11ea-a6ee-d10650c7f5d0" }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "integer" }, "alert_name": { "type": "string" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_status": { "type": "string" }, "failed_rules": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "escalation": { "type": "object", "properties": { "level_3_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" } } }

Trips Common Assets Started

API end point:- /alert_trips_common_assets_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.trips_common_assets_started", "timestamp": 1597292075 }, "trip_id": "1212121", "alert_name": "Trips Common Assets", "alert_trigger_time": 1597292077, "alert_start_time": 1597292075, "duration": 0, "alert_status": "Closed", "escalation": { "level_1_escalated_at": 1597292077, "current_escalation_level": 1 }, "alert_id": "7f565960-dd1b-11ea-9687-97d4cb194b32", "old_trips": [ { "trip_id": "34343434", "vehicle_number": "OD16E6789" } ] }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_trigger_time": { "type": "integer" }, "alert_start_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_status": { "type": "string" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" }, "old_trips": { "type": "array", "items": [ { "type": "object", "properties": { "trip_id": { "type": "string" }, "vehicle_number": { "type": "string" } } } ] } } }

EWB Expiry Alert

EWB Expiry Started

API end point:- /alert_ewb_expiry_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.ewb_expiry_started", "timestamp": 1597422095 }, "trip_id": "2915026", "alert_name": "Ewb Expiry", "alert_trigger_time": 1597427977, "duration": 0, "alert_status": "In Progress", "alert_start_time": 1597422095, "escalation": { "level_1_escalated_at": 1597427977, "current_escalation_level": 1 }, "alert_id": "9kl71058-6cc0-4f70-b6c8-3d5ec3ce72d1", "ewb_expiry_date": 1597429800 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" }, "ewb_expiry_date": { "type": "integer" } } }

 

EWB Expiry Escalating Level 2

API end point:- /alert_ewb_expiry_escalated_to_2
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.ewb_expiry_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "EWB Expiry", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "ewb_expiry_date": 1597429799, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "current_escalation_level": 2 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "ewb_expiry_date": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

 

EWB Expiry Escalating Level 3

API end point:- /alert_ewb_expiry_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.ewb_expiry_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "EWB Expiry", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "ewb_expiry_date": 1597429799, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "level_3_escalated_at": 1597388970, "current_escalation_level": 3 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "ewb_expiry_date": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_3_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

 

EWB Expiry Closed

API end point:- /alert_ewb_expiry_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.ewb_expiry_closed", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "EWB Expiry", "alert_status": "Closed", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "ewb_expiry_date": 1597388899, "alert_close_time": 1597388453, "alert_closure_reason": "Event Closed", "duration": 200, "escalation": { "level_1_escalated_at": 1597387953, "current_escalation_level": 1 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "ewb_expiry_date": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Waypoint STA Breach Alert

Waypoint STA Breach Started

API end point:- /alert_waypoint_sta_breach_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.waypoint_sta_breach_started", "timestamp": 1597376180 }, "trip_id": "1212121", "alert_name": "Waypoint STA Breach", "alert_start_time": 1597376180, "alert_trigger_time": 1597388228, "duration": 200, "alert_status": "In Progress", "escalation": { "level_1_escalated_at": 1597388228, "current_escalation_level": 1 }, "alert_id": "89d914be-237b-4080-8407-016a8a4dd920", "alert_start_location": { "pincode": "151001", "address": "Dabwali Rd, Lal Singh Nagar, Bathinda, Punjab 151001, India", "lon": 74.9352, "lat": 30.1805 }, "distance_from_origin_at_start": 309, "distance_from_destination_at_start": 179 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_status": { "type": "string" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" } } }

 

Waypoint STA Breach Escalating Level 2

API end point:- /alert_waypoint_sta_breach_escalated_to_2
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.waypoint_sta_breach_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Waypoint STA Breach", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "current_escalation_level": 2 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

 

Waypoint STA Breach Escalating Level 3

API end point:- /alert_waypoint_sta_breach_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.waypoint_sta_breach_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Waypoint STA Breach", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "level_3_escalated_at": 1597388970, "current_escalation_level": 3 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_3_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

 

Waypoint STA Breach Closed

API end point:- /alert_waypoint_sta_breach_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.waypoint_sta_breach_closed", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Waypoint STA Breach", "alert_status": "Closed", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "alert_close_time": 1597388453, "alert_closure_reason": "Event Closed", "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "current_escalation_level": 1 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }


Detention Origin Alert

Detention Origin Started

API end point:- /alert_detention_at_origin_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.detention_at_origin_started", "timestamp": 1597376180 }, "trip_id": "1212121", "alert_name": "Detention Origin", "alert_start_time": 1597376180, "alert_trigger_time": 1597388228, "duration": 200, "alert_status": "In Progress", "escalation": { "level_1_escalated_at": 1597388228, "current_escalation_level": 1 }, "alert_id": "89d914be-237b-4080-8407-016a8a4dd920", "alert_start_location": { "pincode": "151001", "address": "Dabwali Rd, Lal Singh Nagar, Bathinda, Punjab 151001, India", "lon": 74.9352, "lat": 30.1805 }, "distance_from_origin_at_start": 309, "distance_from_destination_at_start": 179 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_status": { "type": "string" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" } } }

 

Detention Origin Escalating Level 2

API end point:- /alert_detention_at_origin_escalated_to_2
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.detention_at_origin_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Detention Origin", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "current_escalation_level": 2 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

 

Detention Origin Escalating Level 3

API end point:- /alert_detention_at_origin_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.detention_at_origin_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Detention Origin", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "level_3_escalated_at": 1597388970, "current_escalation_level": 3 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_3_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

 

Detention Origin Closed

API end point:- /alert_detention_at_origin_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.detention_at_origin_closed", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Detention Origin", "alert_status": "Closed", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "alert_close_time": 1597388453, "alert_closure_reason": "Event Closed", "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "current_escalation_level": 1 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Detention Destination Alert

Detention Destination Started

API end point:- /alert_detention_at_destination_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.detention_at_destination_started", "timestamp": 1597376180 }, "trip_id": "1212121", "alert_name": "Detention Destination", "alert_start_time": 1597376180, "alert_trigger_time": 1597388228, "duration": 200, "alert_status": "In Progress", "escalation": { "level_1_escalated_at": 1597388228, "current_escalation_level": 1 }, "alert_id": "89d914be-237b-4080-8407-016a8a4dd920", "alert_start_location": { "pincode": "151001", "address": "Dabwali Rd, Lal Singh Nagar, Bathinda, Punjab 151001, India", "lon": 74.9352, "lat": 30.1805 }, "distance_from_origin_at_start": 309, "distance_from_destination_at_start": 179 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_status": { "type": "string" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" } } }

 

Detention Destination Escalating Level 2

API end point:- /alert_detention_at_destination_escalated_to_2
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.detention_at_destination_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Detention Destination", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "current_escalation_level": 2 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

 

Detention Destination Escalating Level 3

API end point:- ​/alert_detention_at_destination_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.detention_at_destination_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Detention Destination", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "level_3_escalated_at": 1597388970, "current_escalation_level": 3 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_3_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

 

Detention Destination Closed

API end point:-/alert_detention_at_destination_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.detention_at_destination_closed", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Detention Destination", "alert_status": "Closed", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "alert_close_time": 1597388453, "alert_closure_reason": "Event Closed", "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "current_escalation_level": 1 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Detention Waypoint Alert

Detention Waypoint Started

API end point:- /alert_detention_at_waypoint_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.detention_at_waypoint_started", "timestamp": 1597376180 }, "trip_id": "1212121", "alert_name": "Detention Waypoint", "alert_start_time": 1597376180, "alert_trigger_time": 1597388228, "duration": 200, "alert_status": "In Progress", "escalation": { "level_1_escalated_at": 1597388228, "current_escalation_level": 1 }, "alert_id": "89d914be-237b-4080-8407-016a8a4dd920", "alert_start_location": { "pincode": "151001", "address": "Dabwali Rd, Lal Singh Nagar, Bathinda, Punjab 151001, India", "lon": 74.9352, "lat": 30.1805 }, "distance_from_origin_at_start": 309, "distance_from_destination_at_start": 179 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_status": { "type": "string" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" } } }

 

Detention Waypoint Escalating Level 2

API end point:- /alert_detention_at_waypoint_escalated_to_2
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.detention_at_waypoint_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Detention Waypoint", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "current_escalation_level": 2 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

 

Detention Waypoint Escalating Level 3

API end point:- /alert_detention_at_waypoint_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.detention_at_waypoint_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Detention Waypoint", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "level_3_escalated_at": 1597388970, "current_escalation_level": 3 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_3_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

 

Detention Waypoint Closed

API end point:- /alert_detention_at_waypoint_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.detention_at_waypoint_closed", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Detention Waypoint", "alert_status": "Closed", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "alert_close_time": 1597388453, "alert_closure_reason": "Event Closed", "duration": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "current_escalation_level": 1 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Continuous Driving Alert

Continuous Driving Started

API end point:- /alert_continuous_driving_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.continuous_driving_started", "timestamp": 1597376180 }, "trip_id": "1212121", "alert_name": "Continuous Driving", "alert_start_time": 1597376180, "alert_trigger_time": 1597388228, "duration": 200, "continuous_driving_distance": 320, "alert_status": "In Progress", "escalation": { "level_1_escalated_at": 1597388228, "current_escalation_level": 1 }, "alert_id": "89d914be-237b-4080-8407-016a8a4dd920", "alert_start_location": { "pincode": "151001", "address": "Dabwali Rd, Lal Singh Nagar, Bathinda, Punjab 151001, India", "lon": 74.9352, "lat": 30.1805 }, "distance_from_origin_at_start": 309, "distance_from_destination_at_start": 179 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "continuous_driving_distance": { "type": "integer" }, "alert_status": { "type": "string" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" } } }


Continuous Driving Escalating Level 2

API end point:- /alert_continuous_driving_escalated_to_2
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.continuous_driving_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Continuous Driving", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "continuous_driving_distance": 320, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "current_escalation_level": 2 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "continuous_driving_distance": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Continuous Driving Escalating Level 3

API end point:- /alert_continuous_driving_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.continuous_driving_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Continuous Driving", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "continuous_driving_distance": 320, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "level_3_escalated_at": 1597388970, "current_escalation_level": 3 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "continuous_driving_distance": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_3_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }


Continuous Driving Closed

API end point:- /alert_continuous_driving_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.continuous_driving_closed", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Continuous Driving", "alert_status": "Closed", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "alert_close_time": 1597388453, "alert_closure_reason": "Event Closed", "duration": 200, "continuous_driving_distance": 320, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "current_escalation_level": 1 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "continuous_driving_distance": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Route Deviation Alert Started

Route Deviation Started

API end point:- /alert_route_deviation_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.route_deviation_started", "timestamp": 1597376180 }, "trip_id": "1212121", "alert_name": "Route Deviation", "alert_start_time": 1597376180, "alert_trigger_time": 1597388228, "duration": 200, "distance_deviated": 120, "route_deviation_type": "Deviation From Google Route", "alert_status": "In Progress", "escalation": { "level_1_escalated_at": 1597388228, "current_escalation_level": 1 }, "alert_id": "89d914be-237b-4080-8407-016a8a4dd920", "alert_start_location": { "pincode": "151001", "address": "Dabwali Rd, Lal Singh Nagar, Bathinda, Punjab 151001, India", "lon": 74.9352, "lat": 30.1805 }, "distance_from_origin_at_start": 309, "distance_from_destination_at_start": 179 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "distance_deviated": { "type": "integer" }, "route_deviation_type": { "type": "string" }, "alert_status": { "type": "string" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" } } }


Route Deviation Escalating Level 2

API end point:- /alert_route_deviation_escalated_to_2
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.route_deviation_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Route Deviation", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "distance_deviated": 120, "route_deviation_type": "Deviation From Google Route", "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "current_escalation_level": 2 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "distance_deviated": { "type": "integer" }, "route_deviation_type": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }


Route Deviation Escalating Level 3

API end point:- /alert_route_deviation_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.route_deviation_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Route Deviation", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "distance_deviated": 120, "route_deviation_type": "Deviation From Google Route", "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "level_3_escalated_at": 1597388970, "current_escalation_level": 3 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "distance_deviated": { "type": "integer" }, "route_deviation_type": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_3_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }


Route Deviation Closed

API end point:- /alert_route_deviation_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.route_deviation_closed", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Route Deviation", "alert_status": "Closed", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "alert_close_time": 1597388453, "alert_closure_reason": "Event Closed", "duration": 200, "distance_deviated": 120, "route_deviation_type": "Deviation From Google Route", "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "current_escalation_level": 1 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "distance_deviated": { "type": "integer" }, "route_deviation_type": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Transit Delay Alert Started

Transit Delay Started

API end point:- /alert_transit_delay_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.transit_delay_started", "timestamp": 1597376180 }, "trip_id": "1212121", "alert_name": "Transit Delay", "alert_start_time": 1597376180, "alert_trigger_time": 1597388228, "duration": 200, "transit_delay": 200, "alert_status": "In Progress", "escalation": { "level_1_escalated_at": 1597388228, "current_escalation_level": 1 }, "alert_id": "89d914be-237b-4080-8407-016a8a4dd920", "alert_start_location": { "pincode": "151001", "address": "Dabwali Rd, Lal Singh Nagar, Bathinda, Punjab 151001, India", "lon": 74.9352, "lat": 30.1805 }, "distance_from_origin_at_start": 309, "distance_from_destination_at_start": 179 }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "transit_delay": { "type": "integer" }, "alert_status": { "type": "string" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } }, "alert_id": { "type": "string" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" } } }


Transit Delay Escalating Level 2

API end point:- /alert_transit_delay_escalated_to_2
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.transit_delay_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Transit Delay", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "transit_delay": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "current_escalation_level": 2 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "transit_delay": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

 


Transit Delay Escalating Level 3

API end point:- /alert_transit_delay_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.transit_delay_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Transit Delay", "alert_status": "In Progress", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "duration": 200, "transit_delay": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "level_2_escalated_at": 1597388765, "level_3_escalated_at": 1597388970, "current_escalation_level": 3 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "transit_delay": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "level_2_escalated_at": { "type": "integer" }, "level_3_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }


Transit Delay Closed

API end point:- /alert_transit_delay_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.transit_delay_closed", "timestamp": 1597389186 }, "trip_id": "12121212", "alert_id": "2d5670e3-85d5-482b-af42-282c8dcbf63e", "alert_name": "Transit Delay", "alert_status": "Closed", "alert_start_time": 1597376451, "alert_trigger_time": 1597387953, "alert_close_time": 1597388453, "alert_closure_reason": "Event Closed", "duration": 200, "transit_delay": 200, "alert_start_location": { "pincode": "431204", "address": " Maharashtra 431204, India", "lon": 75.8001, "lat": 19.631195 }, "distance_from_origin_at_start": 1171, "distance_from_destination_at_start": 1017, "last_known_location": { "pincode": "431204", "address": "Unnamed Road, Maharashtra 431204, India", "lon": 75.79120166666667, "lat": 19.627311111111112 }, "current_distance_from_origin": 1172, "current_distance_from_destination": 1018, "escalation": { "level_1_escalated_at": 1597387953, "current_escalation_level": 1 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "transit_delay": { "type": "integer" }, "alert_start_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "distance_from_origin_at_start": { "type": "integer" }, "distance_from_destination_at_start": { "type": "integer" }, "last_known_location": { "type": "object", "properties": { "pincode": { "type": "string" }, "address": { "type": "string" }, "lon": { "type": "number" }, "lat": { "type": "number" } } }, "current_distance_from_origin": { "type": "integer" }, "current_distance_from_destination": { "type": "integer" }, "escalation": { "type": "object", "properties": { "level_1_escalated_at": { "type": "integer" }, "current_escalation_level": { "type": "integer" } } } } }

Untracked Alert Started

Untracked Started

API end point:- /alert_untracked_started
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.untracked_started", "timestamp": 1597376180 }, "trip_id": "121212", "alert_id": "98j79594-672f-4f00-8537-6b92b64d7afc", "alert_name": "Untracked", "alert_status": "In Progress", "alert_start_time": 1597359155, "alert_trigger_time": 1597366601, "duration": 1224, "untracked_reason": "Consent Not Available", "escalation": { "current_escalation_level": 1, "level_1_escalated_at": 1597366601 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "untracked_reason": { "type": "string" }, "escalation": { "type": "object", "properties": { "current_escalation_level": { "type": "integer" }, "level_1_escalated_at": { "type": "integer" } } } } }


Untracked Escalating Level 2

API end point:- /alert_untracked_escalated_to_2
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.untracked_escalated_to_2", "timestamp": 1597389186 }, "trip_id": "121212", "alert_id": "98j79594-672f-4f00-8537-6b92b64d7afc", "alert_name": "Untracked", "alert_status": "In Progress", "alert_start_time": 1597359155, "alert_trigger_time": 1597366601, "duration": 1224, "untracked_reason": "Consent Not Available", "escalation": { "current_escalation_level": 1, "level_1_escalated_at": 1597366601 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "untracked_reason": { "type": "string" }, "escalation": { "type": "object", "properties": { "current_escalation_level": { "type": "integer" }, "level_1_escalated_at": { "type": "integer" } } } } }


Untracked Escalating Level 3

API end point:- /alert_untracked_escalated_to_3
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.untracked_escalated_to_3", "timestamp": 1597389186 }, "trip_id": "121212", "alert_id": "98j79594-672f-4f00-8537-6b92b64d7afc", "alert_name": "Untracked", "alert_status": "In Progress", "alert_start_time": 1597359155, "alert_trigger_time": 1597366601, "duration": 1224, "untracked_reason": "Consent Not Available", "escalation": { "current_escalation_level": 1, "level_1_escalated_at": 1597366601 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "duration": { "type": "integer" }, "untracked_reason": { "type": "string" }, "escalation": { "type": "object", "properties": { "current_escalation_level": { "type": "integer" }, "level_1_escalated_at": { "type": "integer" } } } } }


Untracked Closed

API end point:- /alert_untracked_closed
Method :- “POST
request payload:-

{ "provider": "Freight Tiger", "event": { "name": "alert.untracked_closed", "timestamp": 1597389186 }, "trip_id": "121212", "alert_id": "98j79594-672f-4f00-8537-6b92b64d7afc", "alert_name": "Untracked", "alert_status": "Closed", "alert_start_time": 1597359155, "alert_trigger_time": 1597366601, "alert_close_time": 1597367891, "alert_closure_reason": "Trip Closed", "duration": 1224, "untracked_reason": "Consent Not Available", "escalation": { "current_escalation_level": 1, "level_1_escalated_at": 1597366601 } }

Schema:-

{ "type": "object", "properties": { "provider": { "type": "string" }, "event": { "type": "object", "properties": { "name": { "type": "string" }, "timestamp": { "type": "integer" } } }, "trip_id": { "type": "string" }, "alert_id": { "type": "string" }, "alert_name": { "type": "string" }, "alert_status": { "type": "string" }, "alert_start_time": { "type": "integer" }, "alert_trigger_time": { "type": "integer" }, "alert_close_time": { "type": "integer" }, "alert_closure_reason": { "type": "string" }, "duration": { "type": "integer" }, "untracked_reason": { "type": "string" }, "escalation": { "type": "object", "properties": { "current_escalation_level": { "type": "integer" }, "level_1_escalated_at": { "type": "integer" } } } } }

Responses

Success:- Status code 200

Unauthorized:- Status code 401

Internal server Error: -Status code 500

Post your questions in the comment box to get answers from the experts who watch this page.

For engineering support: visit FT Support