POST v1/company/driver/checkAvailable

WEB - List drivers of the company available between two specific date time points

Request Information

URI Parameters

None.

Body Parameters

CompanyAvailableDriverRequestModel
NameDescriptionTypeAdditional information
min_datetime

Minimum date time

date

Required

max_datetime

Maximum date time

date

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:
{
  "min_datetime": "2018-11-21T09:32:50.0273692+03:00",
  "max_datetime": "2018-11-21T09:32:50.0273692+03:00",
  "user_company_id": "sample string 3",
  "user_id": "sample string 4",
  "user_signature": "sample string 5"
}

Response Information

Resource Description

WEB - List drivers of the company available between two specific date time points

BaseMetaResultModelOfCompanyDriverListResponseModel
NameDescriptionTypeAdditional information
response

CompanyDriverListResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": {
    "company_drivers": [
      {
        "company_driver_id": 1,
        "company_driver_cellnumber": "sample string 3",
        "company_driver_fullname": "sample string 4",
        "company_driver_user_id": "sample string 6",
        "company_driver_user_inc_id": 7,
        "company_driver_last_location_lat": 1.1,
        "company_driver_last_location_long": 1.1,
        "user_has_offer": true,
        "is_company_driver": true,
        "is_approved": 11,
        "user_is_busy": true,
        "create_user_uid": "sample string 13",
        "create_date": "2018-11-21T09:32:50.0273692+03:00",
        "create_user_name": "sample string 15",
        "user_assigned_vehicle_licence_plate": "sample string 17",
        "user_shipment_count": 18,
        "user_rating": 19,
        "company_driver_vehicle_id": 20
      },
      {
        "company_driver_id": 1,
        "company_driver_cellnumber": "sample string 3",
        "company_driver_fullname": "sample string 4",
        "company_driver_user_id": "sample string 6",
        "company_driver_user_inc_id": 7,
        "company_driver_last_location_lat": 1.1,
        "company_driver_last_location_long": 1.1,
        "user_has_offer": true,
        "is_company_driver": true,
        "is_approved": 11,
        "user_is_busy": true,
        "create_user_uid": "sample string 13",
        "create_date": "2018-11-21T09:32:50.0273692+03:00",
        "create_user_name": "sample string 15",
        "user_assigned_vehicle_licence_plate": "sample string 17",
        "user_shipment_count": 18,
        "user_rating": 19,
        "company_driver_vehicle_id": 20
      }
    ]
  },
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}