POST api/LogOut
Request Information
URI Parameters
None.
Body Parameters
SendLogOut| Name | Description | Type | Additional information |
|---|---|---|---|
| APIKey | string |
None. |
|
| DeviceID | string |
None. |
|
| FBToken | string |
None. |
|
| DriverNumber | string |
None. |
|
| DriverID | integer |
None. |
|
| VehicleID | integer |
None. |
|
| LogoutMiles | integer |
None. |
|
| VehicleNumber | string |
None. |
|
| EndLatitude | decimal number |
None. |
|
| EndLongitude | decimal number |
None. |
|
| UsingTabletGPS | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"APIKey": "sample string 1",
"DeviceID": "sample string 2",
"FBToken": "sample string 3",
"DriverNumber": "sample string 4",
"DriverID": 5,
"VehicleID": 6,
"LogoutMiles": 7,
"VehicleNumber": "sample string 8",
"EndLatitude": 9.0,
"EndLongitude": 10.0,
"UsingTabletGPS": 11
}
application/xml, text/xml
Sample:
<LogOutModel.SendLogOut xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models"> <APIKey>sample string 1</APIKey> <DeviceID>sample string 2</DeviceID> <DriverID>5</DriverID> <DriverNumber>sample string 4</DriverNumber> <EndLatitude>9</EndLatitude> <EndLongitude>10</EndLongitude> <FBToken>sample string 3</FBToken> <LogoutMiles>7</LogoutMiles> <UsingTabletGPS>11</UsingTabletGPS> <VehicleID>6</VehicleID> <VehicleNumber>sample string 8</VehicleNumber> </LogOutModel.SendLogOut>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LogOutReturn| 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:
<LogOutModel.LogOutReturn 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> </LogOutModel.LogOutReturn>