POST v1/company/report/driver

Request Information

URI Parameters

None.

Body Parameters

CompanyDriverReportRequestModel
NameDescriptionTypeAdditional information
company_uid

string

Required

start_date

date

None.

end_date

date

None.

type

integer

Required

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:
{
  "company_uid": "sample string 1",
  "start_date": "2019-10-19T12:44:30.530351+03:00",
  "end_date": "2019-10-19T12:44:30.530351+03:00",
  "type": 2,
  "user_company_id": "sample string 3",
  "user_id": "sample string 4",
  "user_signature": "sample string 5"
}

Response Information

Resource Description

BaseMetaResultModelOfCompanyDriverReportResponseModel[]
NameDescriptionTypeAdditional information
response

Collection of CompanyDriverReportResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": [
    {
      "company_name": "sample string 1",
      "company_user_name": "sample string 2",
      "create_date": "2019-10-19T12:44:30.5363817+03:00",
      "user_first_name": "sample string 3",
      "user_has_app": 4,
      "user_vehicle_licence_plate": "sample string 5",
      "is_company_driver": true,
      "is_reliable_driver": true,
      "user_last_location_time": "2019-10-19T12:44:30.5363817+03:00"
    },
    {
      "company_name": "sample string 1",
      "company_user_name": "sample string 2",
      "create_date": "2019-10-19T12:44:30.5363817+03:00",
      "user_first_name": "sample string 3",
      "user_has_app": 4,
      "user_vehicle_licence_plate": "sample string 5",
      "is_company_driver": true,
      "is_reliable_driver": true,
      "user_last_location_time": "2019-10-19T12:44:30.5363817+03:00"
    }
  ],
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}