POST v1/company/driver/findNearby

WEB - Find drivers near to a location

Request Information

URI Parameters

None.

Body Parameters

CompanyFindAvaliableDriverRequestModel
NameDescriptionTypeAdditional information
location_lat

Latitude of the location to find nearby drivers

decimal number

Required

location_long

Longitude of the location to find nearby drivers

decimal number

Required

location_distance

Allowed distance tolerance for nearby drivers (in meters)

decimal number

Required

min_allowed_location_time

Minimum allowed location time

date

Required

driver_type

0 - Hepsi 1 - Firma Envanter 2 - Firma Sürücüleri 3 - Güvenilik Kamyoncular 4 - Tırport Üyesi Kamyoncular

integer

None.

vehicle_status

1 - Müsait 2 - Boşaltma Noktasında 3 - Teslim Onayında

integer

None.

vehicle_type

string

None.

vehicle_trailer_type

string

None.

vehicle_trailer_types

Collection of string

None.

shipment_uid

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:
{
  "location_lat": 1.1,
  "location_long": 2.1,
  "location_distance": 3.0,
  "min_allowed_location_time": "2024-11-25T07:41:22.4199337+03:00",
  "driver_type": 5,
  "vehicle_status": 6,
  "vehicle_type": "sample string 7",
  "vehicle_trailer_type": "sample string 8",
  "vehicle_trailer_types": [
    "sample string 1",
    "sample string 2"
  ],
  "shipment_uid": "sample string 9",
  "user_company_id": "sample string 10",
  "user_id": "sample string 11",
  "user_signature": "sample string 12"
}

Response Information

Resource Description

WEB - Find drivers near to a location

BaseMetaResultModelOfCompanyFindDriverResponseModel
NameDescriptionTypeAdditional information
response

CompanyFindDriverResponseModel

None.

meta

Basic meta information for the operation result

MetaModel

None.

Response Format

application/json, text/json

Sample:
{
  "response": {
    "drivers": [
      {
        "user_last_location_lat": 1.1,
        "user_last_location_long": 1.1,
        "user_last_location_time": "2024-11-25T07:41:22.4239386+03:00",
        "user_location_distance": 1.1,
        "is_company_driver": true,
        "user_stats": [
          {
            "ufs_sq_id": 3,
            "ufs_sq_text": "sample string 4",
            "ufs_feedback_count": 1,
            "ufs_yes_answer_count": 1,
            "ufs_point_sum": 1,
            "ufs_average_point": 5.0,
            "ufs_average_yes": 6.0
          },
          {
            "ufs_sq_id": 3,
            "ufs_sq_text": "sample string 4",
            "ufs_feedback_count": 1,
            "ufs_yes_answer_count": 1,
            "ufs_point_sum": 1,
            "ufs_average_point": 5.0,
            "ufs_average_yes": 6.0
          }
        ],
        "user_vehicles": [
          {
            "vehicle_id": 1,
            "vehicle_company_id": "sample string 2",
            "vehicle_user_id": "sample string 3",
            "vehicle_type": 4,
            "vehicle_licence_plate": "sample string 5",
            "vehicle_brand": "sample string 6",
            "vehicle_image": "sample string 7",
            "vehicle_reg_image_front": "sample string 8",
            "vehicle_reg_image_back": "sample string 9",
            "vehicle_insurance_image": "sample string 10",
            "vehicle_insurance_date": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_kbelgesi_image": "sample string 11",
            "vehicle_trailer_type": 12,
            "vehicle_year": 13,
            "vehicle_max_capacity": 14,
            "vehicle_max_tonnage": 15,
            "vehicle_has_adr": true,
            "vehicle_date_time": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_approved": true,
            "vehicle_is_rental": true,
            "vehicle_rent_start_date": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_rent_end_date": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_rent_document": "sample string 20",
            "vehicle_enabled": true,
            "vehicle_create_user_uid": "sample string 22",
            "vehicle_identity_number": "sample string 23",
            "vehicle_active_shipment_count": 24,
            "vehicle_driver_name": "sample string 25",
            "vehicle_drivers": [
              {
                "user_id": "sample string 2",
                "user_first_name": "sample string 3",
                "user_cell_number": "sample string 4",
                "user_citizenship_number": "sample string 5",
                "user_image": "sample string 6",
                "user_mailing_address": "sample string 7",
                "user_driving_license_image_front": "sample string 8",
                "user_driving_license_code": "sample string 9",
                "user_driving_license_image_back": "sample string 10",
                "user_src_document_image": "sample string 11",
                "user_psyc_document_image": "sample string 12",
                "user_available": true,
                "user_active": true,
                "user_rating": 1,
                "user_key": "sample string 13",
                "user_secret": "sample string 14",
                "user_type": 15,
                "user_insurance_approved": true,
                "user_create_date": "2024-11-25T07:41:22.4239386+03:00",
                "enable_shipment_notifications": true,
                "user_birthdate": "2024-11-25T07:41:22.4239386+03:00",
                "user_is_busy": true,
                "user_total_score": 22,
                "user_league_rank": 23,
                "user_league_level": "sample string 24",
                "user_param_card_status": 1,
                "user_param_card_guid": null,
                "user_is_company_driver": true,
                "user_invoice_service_guid": "sample string 26",
                "user_is_test": true,
                "user_timezone": "sample string 27",
                "user_cell_country_phone_code": 28,
                "country_phone_code": 0,
                "user_iban": "sample string 29",
                "user_tk_iban": "sample string 30"
              },
              {
                "user_id": "sample string 2",
                "user_first_name": "sample string 3",
                "user_cell_number": "sample string 4",
                "user_citizenship_number": "sample string 5",
                "user_image": "sample string 6",
                "user_mailing_address": "sample string 7",
                "user_driving_license_image_front": "sample string 8",
                "user_driving_license_code": "sample string 9",
                "user_driving_license_image_back": "sample string 10",
                "user_src_document_image": "sample string 11",
                "user_psyc_document_image": "sample string 12",
                "user_available": true,
                "user_active": true,
                "user_rating": 1,
                "user_key": "sample string 13",
                "user_secret": "sample string 14",
                "user_type": 15,
                "user_insurance_approved": true,
                "user_create_date": "2024-11-25T07:41:22.4239386+03:00",
                "enable_shipment_notifications": true,
                "user_birthdate": "2024-11-25T07:41:22.4239386+03:00",
                "user_is_busy": true,
                "user_total_score": 22,
                "user_league_rank": 23,
                "user_league_level": "sample string 24",
                "user_param_card_status": 1,
                "user_param_card_guid": null,
                "user_is_company_driver": true,
                "user_invoice_service_guid": "sample string 26",
                "user_is_test": true,
                "user_timezone": "sample string 27",
                "user_cell_country_phone_code": 28,
                "country_phone_code": 0,
                "user_iban": "sample string 29",
                "user_tk_iban": "sample string 30"
              }
            ],
            "vehicle_trailer_types": [
              1,
              2
            ],
            "vehicle_specs_uid": "sample string 27"
          },
          {
            "vehicle_id": 1,
            "vehicle_company_id": "sample string 2",
            "vehicle_user_id": "sample string 3",
            "vehicle_type": 4,
            "vehicle_licence_plate": "sample string 5",
            "vehicle_brand": "sample string 6",
            "vehicle_image": "sample string 7",
            "vehicle_reg_image_front": "sample string 8",
            "vehicle_reg_image_back": "sample string 9",
            "vehicle_insurance_image": "sample string 10",
            "vehicle_insurance_date": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_kbelgesi_image": "sample string 11",
            "vehicle_trailer_type": 12,
            "vehicle_year": 13,
            "vehicle_max_capacity": 14,
            "vehicle_max_tonnage": 15,
            "vehicle_has_adr": true,
            "vehicle_date_time": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_approved": true,
            "vehicle_is_rental": true,
            "vehicle_rent_start_date": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_rent_end_date": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_rent_document": "sample string 20",
            "vehicle_enabled": true,
            "vehicle_create_user_uid": "sample string 22",
            "vehicle_identity_number": "sample string 23",
            "vehicle_active_shipment_count": 24,
            "vehicle_driver_name": "sample string 25",
            "vehicle_drivers": [
              {
                "user_id": "sample string 2",
                "user_first_name": "sample string 3",
                "user_cell_number": "sample string 4",
                "user_citizenship_number": "sample string 5",
                "user_image": "sample string 6",
                "user_mailing_address": "sample string 7",
                "user_driving_license_image_front": "sample string 8",
                "user_driving_license_code": "sample string 9",
                "user_driving_license_image_back": "sample string 10",
                "user_src_document_image": "sample string 11",
                "user_psyc_document_image": "sample string 12",
                "user_available": true,
                "user_active": true,
                "user_rating": 1,
                "user_key": "sample string 13",
                "user_secret": "sample string 14",
                "user_type": 15,
                "user_insurance_approved": true,
                "user_create_date": "2024-11-25T07:41:22.4239386+03:00",
                "enable_shipment_notifications": true,
                "user_birthdate": "2024-11-25T07:41:22.4239386+03:00",
                "user_is_busy": true,
                "user_total_score": 22,
                "user_league_rank": 23,
                "user_league_level": "sample string 24",
                "user_param_card_status": 1,
                "user_param_card_guid": null,
                "user_is_company_driver": true,
                "user_invoice_service_guid": "sample string 26",
                "user_is_test": true,
                "user_timezone": "sample string 27",
                "user_cell_country_phone_code": 28,
                "country_phone_code": 0,
                "user_iban": "sample string 29",
                "user_tk_iban": "sample string 30"
              },
              {
                "user_id": "sample string 2",
                "user_first_name": "sample string 3",
                "user_cell_number": "sample string 4",
                "user_citizenship_number": "sample string 5",
                "user_image": "sample string 6",
                "user_mailing_address": "sample string 7",
                "user_driving_license_image_front": "sample string 8",
                "user_driving_license_code": "sample string 9",
                "user_driving_license_image_back": "sample string 10",
                "user_src_document_image": "sample string 11",
                "user_psyc_document_image": "sample string 12",
                "user_available": true,
                "user_active": true,
                "user_rating": 1,
                "user_key": "sample string 13",
                "user_secret": "sample string 14",
                "user_type": 15,
                "user_insurance_approved": true,
                "user_create_date": "2024-11-25T07:41:22.4239386+03:00",
                "enable_shipment_notifications": true,
                "user_birthdate": "2024-11-25T07:41:22.4239386+03:00",
                "user_is_busy": true,
                "user_total_score": 22,
                "user_league_rank": 23,
                "user_league_level": "sample string 24",
                "user_param_card_status": 1,
                "user_param_card_guid": null,
                "user_is_company_driver": true,
                "user_invoice_service_guid": "sample string 26",
                "user_is_test": true,
                "user_timezone": "sample string 27",
                "user_cell_country_phone_code": 28,
                "country_phone_code": 0,
                "user_iban": "sample string 29",
                "user_tk_iban": "sample string 30"
              }
            ],
            "vehicle_trailer_types": [
              1,
              2
            ],
            "vehicle_specs_uid": "sample string 27"
          }
        ],
        "user_vehicle_is_rental": true,
        "user_vehicle_is_company_vehicle": true,
        "user_id": 6,
        "user_uid": "sample string 7",
        "user_first_name": "sample string 8",
        "user_cell_number": "sample string 9",
        "user_citizenship_number": "sample string 10",
        "user_image": "sample string 11",
        "user_mailing_address": "sample string 12",
        "user_driving_license_image_front": "sample string 13",
        "user_driving_license_image_back": "sample string 14",
        "user_src_document_image": "sample string 15",
        "user_psyc_document_image": "sample string 16",
        "user_available": true,
        "user_active": true,
        "user_rating": 1,
        "user_type": 17,
        "user_insurance_approved": true,
        "user_create_date": "2024-11-25T07:41:22.4239386+03:00",
        "enable_shipment_notifications": true,
        "user_confirmation_date": "2024-11-25T07:41:22.4239386+03:00",
        "user_confirmation_company_user_uid": "sample string 21",
        "company_name": "sample string 23",
        "user_vehicle_licence_plate": "sample string 24",
        "user_confirmation_company_user": "sample string 25",
        "filter_user_id": 26,
        "user_iban": "sample string 27",
        "user_tk_iban": "sample string 28"
      },
      {
        "user_last_location_lat": 1.1,
        "user_last_location_long": 1.1,
        "user_last_location_time": "2024-11-25T07:41:22.4239386+03:00",
        "user_location_distance": 1.1,
        "is_company_driver": true,
        "user_stats": [
          {
            "ufs_sq_id": 3,
            "ufs_sq_text": "sample string 4",
            "ufs_feedback_count": 1,
            "ufs_yes_answer_count": 1,
            "ufs_point_sum": 1,
            "ufs_average_point": 5.0,
            "ufs_average_yes": 6.0
          },
          {
            "ufs_sq_id": 3,
            "ufs_sq_text": "sample string 4",
            "ufs_feedback_count": 1,
            "ufs_yes_answer_count": 1,
            "ufs_point_sum": 1,
            "ufs_average_point": 5.0,
            "ufs_average_yes": 6.0
          }
        ],
        "user_vehicles": [
          {
            "vehicle_id": 1,
            "vehicle_company_id": "sample string 2",
            "vehicle_user_id": "sample string 3",
            "vehicle_type": 4,
            "vehicle_licence_plate": "sample string 5",
            "vehicle_brand": "sample string 6",
            "vehicle_image": "sample string 7",
            "vehicle_reg_image_front": "sample string 8",
            "vehicle_reg_image_back": "sample string 9",
            "vehicle_insurance_image": "sample string 10",
            "vehicle_insurance_date": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_kbelgesi_image": "sample string 11",
            "vehicle_trailer_type": 12,
            "vehicle_year": 13,
            "vehicle_max_capacity": 14,
            "vehicle_max_tonnage": 15,
            "vehicle_has_adr": true,
            "vehicle_date_time": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_approved": true,
            "vehicle_is_rental": true,
            "vehicle_rent_start_date": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_rent_end_date": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_rent_document": "sample string 20",
            "vehicle_enabled": true,
            "vehicle_create_user_uid": "sample string 22",
            "vehicle_identity_number": "sample string 23",
            "vehicle_active_shipment_count": 24,
            "vehicle_driver_name": "sample string 25",
            "vehicle_drivers": [
              {
                "user_id": "sample string 2",
                "user_first_name": "sample string 3",
                "user_cell_number": "sample string 4",
                "user_citizenship_number": "sample string 5",
                "user_image": "sample string 6",
                "user_mailing_address": "sample string 7",
                "user_driving_license_image_front": "sample string 8",
                "user_driving_license_code": "sample string 9",
                "user_driving_license_image_back": "sample string 10",
                "user_src_document_image": "sample string 11",
                "user_psyc_document_image": "sample string 12",
                "user_available": true,
                "user_active": true,
                "user_rating": 1,
                "user_key": "sample string 13",
                "user_secret": "sample string 14",
                "user_type": 15,
                "user_insurance_approved": true,
                "user_create_date": "2024-11-25T07:41:22.4239386+03:00",
                "enable_shipment_notifications": true,
                "user_birthdate": "2024-11-25T07:41:22.4239386+03:00",
                "user_is_busy": true,
                "user_total_score": 22,
                "user_league_rank": 23,
                "user_league_level": "sample string 24",
                "user_param_card_status": 1,
                "user_param_card_guid": null,
                "user_is_company_driver": true,
                "user_invoice_service_guid": "sample string 26",
                "user_is_test": true,
                "user_timezone": "sample string 27",
                "user_cell_country_phone_code": 28,
                "country_phone_code": 0,
                "user_iban": "sample string 29",
                "user_tk_iban": "sample string 30"
              },
              {
                "user_id": "sample string 2",
                "user_first_name": "sample string 3",
                "user_cell_number": "sample string 4",
                "user_citizenship_number": "sample string 5",
                "user_image": "sample string 6",
                "user_mailing_address": "sample string 7",
                "user_driving_license_image_front": "sample string 8",
                "user_driving_license_code": "sample string 9",
                "user_driving_license_image_back": "sample string 10",
                "user_src_document_image": "sample string 11",
                "user_psyc_document_image": "sample string 12",
                "user_available": true,
                "user_active": true,
                "user_rating": 1,
                "user_key": "sample string 13",
                "user_secret": "sample string 14",
                "user_type": 15,
                "user_insurance_approved": true,
                "user_create_date": "2024-11-25T07:41:22.4239386+03:00",
                "enable_shipment_notifications": true,
                "user_birthdate": "2024-11-25T07:41:22.4239386+03:00",
                "user_is_busy": true,
                "user_total_score": 22,
                "user_league_rank": 23,
                "user_league_level": "sample string 24",
                "user_param_card_status": 1,
                "user_param_card_guid": null,
                "user_is_company_driver": true,
                "user_invoice_service_guid": "sample string 26",
                "user_is_test": true,
                "user_timezone": "sample string 27",
                "user_cell_country_phone_code": 28,
                "country_phone_code": 0,
                "user_iban": "sample string 29",
                "user_tk_iban": "sample string 30"
              }
            ],
            "vehicle_trailer_types": [
              1,
              2
            ],
            "vehicle_specs_uid": "sample string 27"
          },
          {
            "vehicle_id": 1,
            "vehicle_company_id": "sample string 2",
            "vehicle_user_id": "sample string 3",
            "vehicle_type": 4,
            "vehicle_licence_plate": "sample string 5",
            "vehicle_brand": "sample string 6",
            "vehicle_image": "sample string 7",
            "vehicle_reg_image_front": "sample string 8",
            "vehicle_reg_image_back": "sample string 9",
            "vehicle_insurance_image": "sample string 10",
            "vehicle_insurance_date": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_kbelgesi_image": "sample string 11",
            "vehicle_trailer_type": 12,
            "vehicle_year": 13,
            "vehicle_max_capacity": 14,
            "vehicle_max_tonnage": 15,
            "vehicle_has_adr": true,
            "vehicle_date_time": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_approved": true,
            "vehicle_is_rental": true,
            "vehicle_rent_start_date": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_rent_end_date": "2024-11-25T07:41:22.4239386+03:00",
            "vehicle_rent_document": "sample string 20",
            "vehicle_enabled": true,
            "vehicle_create_user_uid": "sample string 22",
            "vehicle_identity_number": "sample string 23",
            "vehicle_active_shipment_count": 24,
            "vehicle_driver_name": "sample string 25",
            "vehicle_drivers": [
              {
                "user_id": "sample string 2",
                "user_first_name": "sample string 3",
                "user_cell_number": "sample string 4",
                "user_citizenship_number": "sample string 5",
                "user_image": "sample string 6",
                "user_mailing_address": "sample string 7",
                "user_driving_license_image_front": "sample string 8",
                "user_driving_license_code": "sample string 9",
                "user_driving_license_image_back": "sample string 10",
                "user_src_document_image": "sample string 11",
                "user_psyc_document_image": "sample string 12",
                "user_available": true,
                "user_active": true,
                "user_rating": 1,
                "user_key": "sample string 13",
                "user_secret": "sample string 14",
                "user_type": 15,
                "user_insurance_approved": true,
                "user_create_date": "2024-11-25T07:41:22.4239386+03:00",
                "enable_shipment_notifications": true,
                "user_birthdate": "2024-11-25T07:41:22.4239386+03:00",
                "user_is_busy": true,
                "user_total_score": 22,
                "user_league_rank": 23,
                "user_league_level": "sample string 24",
                "user_param_card_status": 1,
                "user_param_card_guid": null,
                "user_is_company_driver": true,
                "user_invoice_service_guid": "sample string 26",
                "user_is_test": true,
                "user_timezone": "sample string 27",
                "user_cell_country_phone_code": 28,
                "country_phone_code": 0,
                "user_iban": "sample string 29",
                "user_tk_iban": "sample string 30"
              },
              {
                "user_id": "sample string 2",
                "user_first_name": "sample string 3",
                "user_cell_number": "sample string 4",
                "user_citizenship_number": "sample string 5",
                "user_image": "sample string 6",
                "user_mailing_address": "sample string 7",
                "user_driving_license_image_front": "sample string 8",
                "user_driving_license_code": "sample string 9",
                "user_driving_license_image_back": "sample string 10",
                "user_src_document_image": "sample string 11",
                "user_psyc_document_image": "sample string 12",
                "user_available": true,
                "user_active": true,
                "user_rating": 1,
                "user_key": "sample string 13",
                "user_secret": "sample string 14",
                "user_type": 15,
                "user_insurance_approved": true,
                "user_create_date": "2024-11-25T07:41:22.4239386+03:00",
                "enable_shipment_notifications": true,
                "user_birthdate": "2024-11-25T07:41:22.4239386+03:00",
                "user_is_busy": true,
                "user_total_score": 22,
                "user_league_rank": 23,
                "user_league_level": "sample string 24",
                "user_param_card_status": 1,
                "user_param_card_guid": null,
                "user_is_company_driver": true,
                "user_invoice_service_guid": "sample string 26",
                "user_is_test": true,
                "user_timezone": "sample string 27",
                "user_cell_country_phone_code": 28,
                "country_phone_code": 0,
                "user_iban": "sample string 29",
                "user_tk_iban": "sample string 30"
              }
            ],
            "vehicle_trailer_types": [
              1,
              2
            ],
            "vehicle_specs_uid": "sample string 27"
          }
        ],
        "user_vehicle_is_rental": true,
        "user_vehicle_is_company_vehicle": true,
        "user_id": 6,
        "user_uid": "sample string 7",
        "user_first_name": "sample string 8",
        "user_cell_number": "sample string 9",
        "user_citizenship_number": "sample string 10",
        "user_image": "sample string 11",
        "user_mailing_address": "sample string 12",
        "user_driving_license_image_front": "sample string 13",
        "user_driving_license_image_back": "sample string 14",
        "user_src_document_image": "sample string 15",
        "user_psyc_document_image": "sample string 16",
        "user_available": true,
        "user_active": true,
        "user_rating": 1,
        "user_type": 17,
        "user_insurance_approved": true,
        "user_create_date": "2024-11-25T07:41:22.4239386+03:00",
        "enable_shipment_notifications": true,
        "user_confirmation_date": "2024-11-25T07:41:22.4239386+03:00",
        "user_confirmation_company_user_uid": "sample string 21",
        "company_name": "sample string 23",
        "user_vehicle_licence_plate": "sample string 24",
        "user_confirmation_company_user": "sample string 25",
        "filter_user_id": 26,
        "user_iban": "sample string 27",
        "user_tk_iban": "sample string 28"
      }
    ]
  },
  "meta": {
    "status_code": 1,
    "status_message": "sample string 2"
  }
}