POST v1/company/drivertrip/events
Request Information
URI Parameters
None.
Body Parameters
DriverTripAnalysisRequestModelName | Description | Type | Additional information |
---|---|---|---|
shipment_id | string |
None. |
|
company_id | string |
None. |
|
start_date | string |
None. |
|
end_date | string |
None. |
|
user_company_id |
Company UID of the active user |
string |
Required Data type: Text |
user_id |
User ID (GUID) |
string |
Required Data type: Text |
user_signature |
MD5 hash signature for the active user to validate the request |
string |
Required Data type: Text |
Request Format
application/json, text/json
Sample:
{ "shipment_id": "sample string 1", "company_id": "sample string 2", "start_date": "sample string 3", "end_date": "sample string 4", "user_company_id": "sample string 5", "user_id": "sample string 6", "user_signature": "sample string 7" }
Response Information
Resource Description
BaseMetaResultModelOfDriverTripEventsResponseModelName | Description | Type | Additional information |
---|---|---|---|
response | DriverTripEventsResponseModel |
None. |
|
meta |
Basic meta information for the operation result |
MetaModel |
None. |
Response Format
application/json, text/json
Sample:
{ "response": { "safetyEvents": [ { "time": 1.1, "lat": 2.1, "lng": 3.1, "velocity": 4.1, "distance": 7.1, "type": 1, "level": 8, "value": 9.1 }, { "time": 1.1, "lat": 2.1, "lng": 3.1, "velocity": 4.1, "distance": 7.1, "type": 1, "level": 8, "value": 9.1 } ], "distractionEvents": [ { "time": 1.1, "lat": 2.1, "lng": 3.1, "velocity": 4.1, "distance": 7.1, "type": 8, "duration": 9, "coordinates": [ { "lat": 1.1, "lng": 2.1 }, { "lat": 1.1, "lng": 2.1 } ] }, { "time": 1.1, "lat": 2.1, "lng": 3.1, "velocity": 4.1, "distance": 7.1, "type": 8, "duration": 9, "coordinates": [ { "lat": 1.1, "lng": 2.1 }, { "lat": 1.1, "lng": 2.1 } ] } ], "callEvents": [ { "time": 1.1, "lat": 2.1, "lng": 3.1, "velocity": 4.1, "distance": 7.1, "type": 8, "duration": 9, "audioSystem": "sample string 11", "callType": "sample string 12", "forbidden": true, "coordinates": [ { "lat": 1.1, "lng": 2.1 }, { "lat": 1.1, "lng": 2.1 } ] }, { "time": 1.1, "lat": 2.1, "lng": 3.1, "velocity": 4.1, "distance": 7.1, "type": 8, "duration": 9, "audioSystem": "sample string 11", "callType": "sample string 12", "forbidden": true, "coordinates": [ { "lat": 1.1, "lng": 2.1 }, { "lat": 1.1, "lng": 2.1 } ] } ], "speedingEvents": [ { "lat": 1.1, "lng": 2.1, "time": 3, "type": 4, "coordinates": [ { "lat": 1.1, "lng": 2.1 }, { "lat": 1.1, "lng": 2.1 } ] }, { "lat": 1.1, "lng": 2.1, "time": 3, "type": 4, "coordinates": [ { "lat": 1.1, "lng": 2.1 }, { "lat": 1.1, "lng": 2.1 } ] } ] }, "meta": { "status_code": 1, "status_message": "sample string 2" } }