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": "da320761-8e88-473a-a84f-5c223412b9bc",
"VehicleId": "5d7bee9b-b747-46de-a3b3-5454f93ad0b3",
"VehicleLinked1Id": "f0d1a6f3-c081-4910-8264-d7ef96694360",
"VehicleLinked2Id": "0a3a2044-d4d6-4860-b09c-2151640c24f8"
}
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
}