POST api/customer/system/realtimedata

Request Information

URI Parameters

None.

Body Parameters

RealtimeInput
NameDescriptionTypeAdditional information
DeviceID

string

None.

Satellites

integer

None.

GpsTime

date

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

TimeStamp

date

None.

Speed

decimal number

None.

Direction

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "DeviceID": "sample string 1",
  "Satellites": 2,
  "GpsTime": "2026-03-31T11:09:22.4898911+00:00",
  "Latitude": 4.1,
  "Longitude": 5.1,
  "TimeStamp": "2026-03-31T11:09:22.4898911+00:00",
  "Speed": 6.1,
  "Direction": 7.1
}

application/xml, text/xml

Sample:
<VehicleService.RealtimeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Backend.Services">
  <Direction>7.1</Direction>
  <Latitude>4.1</Latitude>
  <Longitude>5.1</Longitude>
  <Speed>6.1</Speed>
  <TimeStamp>2026-03-31T11:09:22.4898911+00:00</TimeStamp>
  <DeviceID>sample string 1</DeviceID>
  <GpsTime>2026-03-31T11:09:22.4898911+00:00</GpsTime>
  <Satellites>2</Satellites>
</VehicleService.RealtimeInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional information
ResultText

string

None.

Value

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultText": "sample string 1",
  "Value": 2
}

application/xml, text/xml

Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Saga.Kjorebok.Rest.Controllers">
  <ResultText>sample string 1</ResultText>
  <Value>2</Value>
</BaseResult>