POST api/Drivers/PostAutoDispatchMiles
Request Information
URI Parameters
None.
Body Parameters
DriverPostAutoDispatchMiles| Name | Description | Type | Additional information |
|---|---|---|---|
| MobileTextMessageLogID | integer |
None. |
|
| VehicleID | integer |
None. |
|
| VehicleNumber | string |
None. |
|
| DriverID | integer |
None. |
|
| DriverNumber | string |
None. |
|
| MobileTabletSetups_ID | integer |
None. |
|
| TabletID | string |
None. |
|
| APIKey | string |
None. |
|
| AutoDispatchMiles | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"MobileTextMessageLogID": 1,
"VehicleID": 2,
"VehicleNumber": "sample string 3",
"DriverID": 4,
"DriverNumber": "sample string 5",
"MobileTabletSetups_ID": 6,
"TabletID": "sample string 7",
"APIKey": "sample string 8",
"AutoDispatchMiles": 9
}
application/xml, text/xml
Sample:
<EmployeeModel.DriverPostAutoDispatchMiles xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models"> <APIKey>sample string 8</APIKey> <AutoDispatchMiles>9</AutoDispatchMiles> <DriverID>4</DriverID> <DriverNumber>sample string 5</DriverNumber> <MobileTabletSetups_ID>6</MobileTabletSetups_ID> <MobileTextMessageLogID>1</MobileTextMessageLogID> <TabletID>sample string 7</TabletID> <VehicleID>2</VehicleID> <VehicleNumber>sample string 3</VehicleNumber> </EmployeeModel.DriverPostAutoDispatchMiles>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DriverAutoDispatchReturn| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<EmployeeModel.DriverAutoDispatchReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models"> <message>sample string 2</message> <status>true</status> </EmployeeModel.DriverAutoDispatchReturn>