POST api/GeoRegistration/GeoCurrentLocationPost

Request Information

URI Parameters

None.

Body Parameters

GeoCurrentLocation
NameDescriptionTypeAdditional information
GpsTrackerId

string

None.

TrackerDeviceId

string

None.

latitude

string

None.

longitude

string

None.

heading

string

None.

speed

string

None.

timestamp

string

None.

TripStatus

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "GpsTrackerId": "sample string 1",
  "TrackerDeviceId": "sample string 2",
  "latitude": "sample string 3",
  "longitude": "sample string 4",
  "heading": "sample string 5",
  "speed": "sample string 6",
  "timestamp": "sample string 7",
  "TripStatus": 8
}

application/xml, text/xml

Sample:
<GeoCurrentLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
  <GpsTrackerId>sample string 1</GpsTrackerId>
  <TrackerDeviceId>sample string 2</TrackerDeviceId>
  <TripStatus>8</TripStatus>
  <heading>sample string 5</heading>
  <latitude>sample string 3</latitude>
  <longitude>sample string 4</longitude>
  <speed>sample string 6</speed>
  <timestamp>sample string 7</timestamp>
</GeoCurrentLocation>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GeoCurrentLocation'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.