POST api/DriverAssign?key={key}&signature={signature}&accountId={accountId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
Required |
|
| signature | string |
Required |
|
| accountId | string |
Required |
Body Parameters
DriverAssignPOST| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| DriverId | globally unique identifier |
None. |
|
| VehicleId | globally unique identifier |
None. |
|
| VehicleLinked1Id | globally unique identifier |
None. |
|
| VehicleLinked2Id | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"DriverId": "a2c143e1-fa88-4e0e-923d-4b1947435448",
"VehicleId": "f49d6ada-4cf7-4042-914a-cb2c5264b3e6",
"VehicleLinked1Id": "a9d449b3-5b72-4df1-873d-acaf19aeed42",
"VehicleLinked2Id": "311657ae-dcf6-48de-9eaa-b8ddb3cbec74"
}
Response Information
Resource Description
BasicResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Error | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorDescription | string |
None. |
|
| Warnings | string |
None. |
|
| AccessGranted | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Error": true,
"ErrorCode": "sample string 2",
"ErrorDescription": "sample string 3",
"Warnings": "sample string 4",
"AccessGranted": true
}