POST api/LocLog/{lat}/{lng}/{uid}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lat

string

None.

lng

string

None.

uid

string

None.

Body Parameters

LocTrackLog
NameDescriptionTypeAdditional information
ID

integer

None.

UID

string

None.

LogDate

date

None.

LogTime

time interval

None.

Lat

decimal number

None.

Lng

decimal number

None.

Altitude

decimal number

None.

Course

decimal number

None.

Speed

decimal number

None.

Address

string

None.

Distance

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "UID": "sample string 2",
  "LogDate": "2025-12-10T23:52:40.3164152+05:30",
  "LogTime": "00:00:00.1234567",
  "Lat": 5.0,
  "Lng": 6.0,
  "Altitude": 1.0,
  "Course": 1.0,
  "Speed": 1.0,
  "Address": "sample string 7",
  "Distance": 1.0
}

application/xml, text/xml

Sample:
<LocTrackLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL">
  <Address>sample string 7</Address>
  <Altitude>1</Altitude>
  <Course>1</Course>
  <Distance>1</Distance>
  <ID>1</ID>
  <Lat>5</Lat>
  <Lng>6</Lng>
  <LogDate>2025-12-10T23:52:40.3164152+05:30</LogDate>
  <LogTime>PT0.1234567S</LogTime>
  <Speed>1</Speed>
  <UID>sample string 2</UID>
</LocTrackLog>

multipart/form-data

Sample:
<LocTrackLog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL"><Address>sample string 7</Address><Altitude>1</Altitude><Course>1</Course><Distance>1</Distance><ID>1</ID><Lat>5</Lat><Lng>6</Lng><LogDate>2025-12-10T23:52:40.3164152+05:30</LogDate><LogTime>PT0.1234567S</LogTime><Speed>1</Speed><UID>sample string 2</UID></LocTrackLog>

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 'LocTrackLog'.

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.