POST api/gps/rpstations

Request Information

URI Parameters

None.

Body Parameters

JsonGpsApiInputStation
NameDescriptionTypeAdditional information
MinutesInStation

integer

None.

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:
{
  "MinutesInStation": 1,
  "VehiclePlate": "sample string 2",
  "FromDate": "2026-04-04T18:10:38.1989254+07:00",
  "ToDate": "2026-04-04T18:10:38.1989254+07:00",
  "WithDriverInfo": true,
  "CustomerCode": "sample string 6",
  "Key": "sample string 7"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonGpsApiRsRpStation
NameDescriptionTypeAdditional information
MessageResult

string

None.

IsSucceed

boolean

None.

Stations

Collection of RpStation

None.

Response Formats

application/json, text/json

Sample:
{
  "MessageResult": "sample string 1",
  "IsSucceed": true,
  "Stations": [
    {
      "VehicleTypeName": "sample string 1",
      "VehiclePlate": "sample string 2",
      "TimeInStation": "2026-04-04T18:10:38.2145486+07:00",
      "TimeOutStation": "2026-04-04T18:10:38.2145486+07:00",
      "StationName": "sample string 5",
      "MinutesInStation": 6,
      "PrivateCode": "sample string 7"
    },
    {
      "VehicleTypeName": "sample string 1",
      "VehiclePlate": "sample string 2",
      "TimeInStation": "2026-04-04T18:10:38.2145486+07:00",
      "TimeOutStation": "2026-04-04T18:10:38.2145486+07:00",
      "StationName": "sample string 5",
      "MinutesInStation": 6,
      "PrivateCode": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<JsonGpsApiRsRpStation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
  <IsSucceed>true</IsSucceed>
  <MessageResult>sample string 1</MessageResult>
  <Stations>
    <RpStation>
      <MinutesInStation>6</MinutesInStation>
      <StationName>sample string 5</StationName>
      <TimeInStation>2026-04-04T18:10:38.2145486+07:00</TimeInStation>
      <TimeOutStation>2026-04-04T18:10:38.2145486+07:00</TimeOutStation>
      <VehiclePlate>sample string 2</VehiclePlate>
      <VehicleTypeName>sample string 1</VehicleTypeName>
    </RpStation>
    <RpStation>
      <MinutesInStation>6</MinutesInStation>
      <StationName>sample string 5</StationName>
      <TimeInStation>2026-04-04T18:10:38.2145486+07:00</TimeInStation>
      <TimeOutStation>2026-04-04T18:10:38.2145486+07:00</TimeOutStation>
      <VehiclePlate>sample string 2</VehiclePlate>
      <VehicleTypeName>sample string 1</VehicleTypeName>
    </RpStation>
  </Stations>
</JsonGpsApiRsRpStation>