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": "9906e0b3-0cd6-4edf-8bf8-3ec5984a8065",
"VehicleId": "24ca4600-c215-406a-8a94-61823d1f79a3",
"VehicleLinked1Id": "0e71a3bb-9b75-4c11-a673-5edf1d408958",
"VehicleLinked2Id": "b3200525-fc0c-46a4-92cd-dd9d60f07c6b"
}
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
}