POST api/StartEndRoute
Sets the Routesheet start and end times and odometer readings. The Driver record is captured based on the signed in user.
Request Information
URI Parameters
None.
Body Parameters
_apiRoutesheetCheckIn| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| IsStart | boolean |
None. |
|
| Odometer | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"IsStart": true,
"Odometer": 3
}
application/xml, text/xml
Sample:
<_apiRoutesheetCheckIn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WasteMart.Models"> <Id>1</Id> <IsStart>true</IsStart> <Odometer>3</Odometer> </_apiRoutesheetCheckIn>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.