POST v1/company/drivertrip/summary
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
BaseMetaResultModelOfDriverTripSummaryResponseModelName | Description | Type | Additional information |
---|---|---|---|
response | DriverTripSummaryResponseModel |
None. |
|
meta |
Basic meta information for the operation result |
MetaModel |
None. |
Response Format
application/json, text/json
Sample:
{ "response": { "AccelScore": 1, "DecelScore": 2, "EcoDrivingScore": 3, "SpeedingScore": 4, "PhoneScore": 5, "SafetyScore": 6, "Duration": 7.1, "Distance": 8.1, "IdleTime": 9.1, "SpeedMean": 10.1 }, "meta": { "status_code": 1, "status_message": "sample string 2" } }