PUT Api/v1/Drivers/{id}
Updates an existing driver.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
DriverCommand| Name | Description | Type | Additional information |
|---|---|---|---|
| PublicId | string |
Required String length: inclusive between 0 and 10 |
|
| Name | string |
Required String length: inclusive between 0 and 255 |
|
| Username | string |
Required String length: inclusive between 0 and 255 |
|
| string |
String length: inclusive between 0 and 255 |
||
| Password | string |
String length: inclusive between 4 and 255 |
|
| OrganizationId | integer |
None. |
|
| Terminal | string |
Required String length: inclusive between 0 and 255 |
|
| StartDate | date |
None. |
|
| Metric | boolean |
None. |
|
| Status | ApiDriverStatus |
None. |
|
| InitialCountry | string |
None. |
|
| DefaultRegulation | string |
None. |
|
| SpecialtyRegulations | Collection of string |
None. |
|
| SelectedRegulations | Collection of string |
None. |
|
| Notes | string |
None. |
|
| Author | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"publicId": "sample string 1",
"name": "sample string 2",
"username": "sample string 3",
"email": "sample string 4",
"password": "sample string 5",
"organizationId": 1,
"terminal": "sample string 6",
"startDate": "2025-12-16T21:11:57.1850427-07:00",
"metric": true,
"status": 0,
"initialCountry": "sample string 9",
"defaultRegulation": "sample string 10",
"specialtyRegulations": [
"sample string 1",
"sample string 2"
],
"selectedRegulations": [
"sample string 1",
"sample string 2"
],
"notes": "sample string 11",
"author": "sample string 12"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.