POST api/Tracks/GetNearestTracks

Request Information

URI Parameters

None.

Body Parameters

NearestTracksDto
NameDescriptionTypeAdditional information
page

integer

None.

lat

decimal number

None.

lng

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "page": 1,
  "lat": 2.1,
  "lng": 3.1
}

text/plain, application/octet-stream

Sample:
{"page":1,"lat":2.1,"lng":3.1}

application/xml, text/xml

Sample:
<NearestTracksDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.Services">
  <lat>2.1</lat>
  <lng>3.1</lng>
  <page>1</page>
</NearestTracksDto>

multipart/form-data, application/form-data

Sample:
<NearestTracksDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RashakaApi.Services"><lat>2.1</lat><lng>3.1</lng><page>1</page></NearestTracksDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain, application/octet-stream, application/xml, text/xml, multipart/form-data, application/form-data

Sample:

Sample not available.