POST api/Vehicles/GetVehicleLocation

Request Information

URI Parameters

None.

Body Parameters

VehicleLocationPost
NameDescriptionTypeAdditional information
APIKey

string

None.

TabletID

string

None.

DriverID

integer

None.

DriverNumber

string

None.

DriverName

string

None.

VehicleID

integer

None.

VehicleNumber

string

None.

Latitude

decimal number

None.

Longitude

decimal number

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",
  "Latitude": 8.0,
  "Longitude": 9.0,
  "LinkID": "sample string 10"
}

application/xml, text/xml

Sample:
<Vehicles.VehicleLocationPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models">
  <APIKey>sample string 1</APIKey>
  <DriverID>3</DriverID>
  <DriverName>sample string 5</DriverName>
  <DriverNumber>sample string 4</DriverNumber>
  <Latitude>8</Latitude>
  <LinkID>sample string 10</LinkID>
  <Longitude>9</Longitude>
  <TabletID>sample string 2</TabletID>
  <VehicleID>6</VehicleID>
  <VehicleNumber>sample string 7</VehicleNumber>
</Vehicles.VehicleLocationPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VehicleLocationReturn
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

AddressString

string

None.

Address

string

None.

City

string

None.

State

string

None.

ZipCode

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "AddressString": "sample string 3",
  "Address": "sample string 4",
  "City": "sample string 5",
  "State": "sample string 6",
  "ZipCode": "sample string 7",
  "Latitude": 8.0,
  "Longitude": 9.0
}

application/xml, text/xml

Sample:
<Vehicles.VehicleLocationReturn xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProCADMobileService.Models">
  <Address>sample string 4</Address>
  <AddressString>sample string 3</AddressString>
  <City>sample string 5</City>
  <Latitude>8</Latitude>
  <Longitude>9</Longitude>
  <State>sample string 6</State>
  <ZipCode>sample string 7</ZipCode>
  <message>sample string 2</message>
  <status>true</status>
</Vehicles.VehicleLocationReturn>