POST api/Location

Request Information

URI Parameters

None.

Body Parameters

LocationModel
NameDescriptionTypeAdditional information
Accuracy

decimal number

None.

AltitudeAccuracy

decimal number

None.

Altitude

decimal number

None.

Bearing

decimal number

None.

Lng

decimal number

None.

Lat

decimal number

None.

ServiceProvider

string

None.

Source

string

None.

Speed

decimal number

None.

Timestamp

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Accuracy": 1.0,
  "AltitudeAccuracy": 1.0,
  "Altitude": 1.0,
  "Bearing": 1.0,
  "Lng": 1.0,
  "Lat": 1.0,
  "ServiceProvider": "sample string 1",
  "Source": "sample string 2",
  "Speed": 1.0,
  "Timestamp": "2025-10-28T07:19:04.6629033+01:00"
}

application/xml, text/xml

Sample:
<LocationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cargo.AppData.Models">
  <Accuracy>1</Accuracy>
  <Altitude>1</Altitude>
  <AltitudeAccuracy>1</AltitudeAccuracy>
  <Bearing>1</Bearing>
  <Lat>1</Lat>
  <Lng>1</Lng>
  <ServiceProvider>sample string 1</ServiceProvider>
  <Source>sample string 2</Source>
  <Speed>1</Speed>
  <Timestamp>2025-10-28T07:19:04.6629033+01:00</Timestamp>
</LocationModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.