POST v1/company/driver/status-update
WEB - Update company driver status
Request Information
URI Parameters
None.
Body Parameters
CompanyStatusUpdateRequestModelName | Description | Type | Additional information |
---|---|---|---|
company_driver_id |
Item of the key to delete |
integer |
None. |
is_reliable_driver | boolean |
None. |
|
is_company_driver | boolean |
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:
{ "company_driver_id": 1, "is_reliable_driver": true, "is_company_driver": true, "user_company_id": "sample string 2", "user_id": "sample string 3", "user_signature": "sample string 4" }
Response Information
Resource Description
WEB - Update company driver status
BaseMetaResultModelName | Description | Type | Additional information |
---|---|---|---|
meta |
Basic meta information for the operation result |
MetaModel |
None. |
Response Format
application/json, text/json
Sample:
{ "meta": { "status_code": 1, "status_message": "sample string 2" } }