POST apiwba/gps/route

Request Information

URI Parameters

None.

Body Parameters

JsonGpsApiInput
NameDescriptionTypeAdditional information
VehiclePlate

string

None.

FromDate

date

None.

ToDate

date

None.

WithDriverInfo

boolean

None.

CustomerCode

string

None.

Key

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VehiclePlate": "sample string 1",
  "FromDate": "2026-04-04T18:13:01.5553171+07:00",
  "ToDate": "2026-04-04T18:13:01.5553171+07:00",
  "WithDriverInfo": true,
  "CustomerCode": "sample string 5",
  "Key": "sample string 6"
}

application/xml, text/xml

Sample:
<JsonGpsApiInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
  <CustomerCode>sample string 5</CustomerCode>
  <Key>sample string 6</Key>
  <FromDate>2026-04-04T18:13:01.5553171+07:00</FromDate>
  <ToDate>2026-04-04T18:13:01.5553171+07:00</ToDate>
  <VehiclePlate>sample string 1</VehiclePlate>
  <WithDriverInfo>true</WithDriverInfo>
</JsonGpsApiInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonGpsApiRsRoute
NameDescriptionTypeAdditional information
MessageResult

string

None.

Routes

Collection of Route

None.

Response Formats

application/json, text/json

Sample:
{
  "MessageResult": "sample string 1",
  "Routes": [
    {
      "UTCTime": "2026-04-04T18:13:01.5553171+07:00",
      "LocalTime": "2026-04-04T18:13:01.5553171+07:00",
      "Latitude": 3.1,
      "Longitude": 4.1,
      "Speed": 5,
      "Address": "sample string 6",
      "Kmgps": 7.1,
      "State": 8,
      "NumberOfLiters": 9.1,
      "NumberOfLiterTwos": 10.1,
      "LstTemperature": [
        1.1,
        2.1
      ],
      "IsMachineOn": true
    },
    {
      "UTCTime": "2026-04-04T18:13:01.5553171+07:00",
      "LocalTime": "2026-04-04T18:13:01.5553171+07:00",
      "Latitude": 3.1,
      "Longitude": 4.1,
      "Speed": 5,
      "Address": "sample string 6",
      "Kmgps": 7.1,
      "State": 8,
      "NumberOfLiters": 9.1,
      "NumberOfLiterTwos": 10.1,
      "LstTemperature": [
        1.1,
        2.1
      ],
      "IsMachineOn": true
    }
  ]
}

application/xml, text/xml

Sample:
<JsonGpsApiRsRoute xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
  <MessageResult>sample string 1</MessageResult>
  <Routes>
    <Route>
      <Address>sample string 6</Address>
      <IsMachineOn>true</IsMachineOn>
      <Kmgps>7.1</Kmgps>
      <Latitude>3.1</Latitude>
      <LocalTime>2026-04-04T18:13:01.5553171+07:00</LocalTime>
      <Longitude>4.1</Longitude>
      <LstTemperature xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:double>1.1</d4p1:double>
        <d4p1:double>2.1</d4p1:double>
      </LstTemperature>
      <NumberOfLiterTwos>10.1</NumberOfLiterTwos>
      <NumberOfLiters>9.1</NumberOfLiters>
      <Speed>5</Speed>
      <State>8</State>
      <UTCTime>2026-04-04T18:13:01.5553171+07:00</UTCTime>
    </Route>
    <Route>
      <Address>sample string 6</Address>
      <IsMachineOn>true</IsMachineOn>
      <Kmgps>7.1</Kmgps>
      <Latitude>3.1</Latitude>
      <LocalTime>2026-04-04T18:13:01.5553171+07:00</LocalTime>
      <Longitude>4.1</Longitude>
      <LstTemperature xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:double>1.1</d4p1:double>
        <d4p1:double>2.1</d4p1:double>
      </LstTemperature>
      <NumberOfLiterTwos>10.1</NumberOfLiterTwos>
      <NumberOfLiters>9.1</NumberOfLiters>
      <Speed>5</Speed>
      <State>8</State>
      <UTCTime>2026-04-04T18:13:01.5553171+07:00</UTCTime>
    </Route>
  </Routes>
</JsonGpsApiRsRoute>