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": "098f0ca5-3401-4b3a-abc4-051276cd438d",
"VehicleId": "cd449aa6-3307-40dd-b5f0-ec5768503a27",
"VehicleLinked1Id": "6d46a597-c9ca-4c29-823b-a9128bdc5890",
"VehicleLinked2Id": "d888a5e6-954c-47d3-bd48-5d4da58c0de6"
}
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
}