POST api/Status/PostStatusChange

Request Information

URI Parameters

None.

Body Parameters

StatusPostChange
NameDescriptionTypeAdditional information
APIKey

string

None.

TabletID

string

None.

DriverID

integer

None.

DriverNumber

string

None.

DriverName

string

None.

VehicleID

integer

None.

VehicleNumber

string

None.

StatusID

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Speed

decimal number

None.

Direction

decimal number

None.

GPSStatus

string

None.

TripID

integer

None.

LinkID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "APIKey": "sample string 1",
  "TabletID": "sample string 2",
  "DriverID": 3,
  "DriverNumber": "sample string 4",
  "DriverName": "sample string 5",
  "VehicleID": 6,
  "VehicleNumber": "sample string 7",
  "StatusID": 8,
  "Latitude": 9.1,
  "Longitude": 10.1,
  "Speed": 11.1,
  "Direction": 12.1,
  "GPSStatus": "sample string 13",
  "TripID": 14,
  "LinkID": "sample string 15"
}

application/xml, text/xml

Sample:
<StatusModel.StatusPostChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models">
  <APIKey>sample string 1</APIKey>
  <Direction>12.1</Direction>
  <DriverID>3</DriverID>
  <DriverName>sample string 5</DriverName>
  <DriverNumber>sample string 4</DriverNumber>
  <GPSStatus>sample string 13</GPSStatus>
  <Latitude>9.1</Latitude>
  <LinkID>sample string 15</LinkID>
  <Longitude>10.1</Longitude>
  <Speed>11.1</Speed>
  <StatusID>8</StatusID>
  <TabletID>sample string 2</TabletID>
  <TripID>14</TripID>
  <VehicleID>6</VehicleID>
  <VehicleNumber>sample string 7</VehicleNumber>
</StatusModel.StatusPostChange>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StatusPostChangeReturn
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

StatusChange

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "StatusChange": 3
}

application/xml, text/xml

Sample:
<StatusModel.StatusPostChangeReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models">
  <StatusChange>3</StatusChange>
  <message>sample string 2</message>
  <status>true</status>
</StatusModel.StatusPostChangeReturn>