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": "0435238b-0f08-46bc-9454-7f392e7b1def",
"VehicleId": "2c6466a0-fc54-47e1-995a-627427170370",
"VehicleLinked1Id": "80244b8e-2187-428b-94f1-bb16fcf7f445",
"VehicleLinked2Id": "05d6efb9-096c-469f-996f-ad6d29e9fbeb"
}
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
}