POST apiwba/gps/rptbusinesstrip

Request Information

URI Parameters

None.

Body Parameters

JsonReportBusinessTripI
NameDescriptionTypeAdditional information
MaxKm

integer

None.

MinKm

integer

None.

FromDate

date

None.

ToDate

date

None.

VehiclePlates

Collection of string

None.

CustomerCode

string

None.

Key

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MaxKm": 1,
  "MinKm": 2,
  "FromDate": "2026-04-04T18:17:32.1799798+07:00",
  "ToDate": "2026-04-04T18:17:32.1799798+07:00",
  "VehiclePlates": [
    "sample string 1",
    "sample string 2"
  ],
  "CustomerCode": "sample string 5",
  "Key": "sample string 6"
}

application/xml, text/xml

Sample:
<JsonReportBusinessTripI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Gps">
  <CustomerCode xmlns="http://schemas.datacontract.org/2004/07/API.Model">sample string 5</CustomerCode>
  <Key xmlns="http://schemas.datacontract.org/2004/07/API.Model">sample string 6</Key>
  <FromDate>2026-04-04T18:17:32.1799798+07:00</FromDate>
  <ToDate>2026-04-04T18:17:32.1799798+07:00</ToDate>
  <VehiclePlates xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </VehiclePlates>
  <MaxKm>1</MaxKm>
  <MinKm>2</MinKm>
</JsonReportBusinessTripI>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonReportBusinessTripO
NameDescriptionTypeAdditional information
MessageResult

string

None.

IsSucceed

boolean

None.

Data

Collection of JsonReportBusinessTripOEnt

None.

Response Formats

application/json, text/json

Sample:
{
  "MessageResult": "sample string 1",
  "IsSucceed": true,
  "Data": [
    {
      "VehiclePlate": "sample string 1",
      "PrivateCode": "sample string 2",
      "StartAddress": "sample string 3",
      "EndAddress": "sample string 4",
      "StartTime": "2026-04-04T18:17:32.1799798+07:00",
      "EndTime": "2026-04-04T18:17:32.1799798+07:00",
      "ActivedMinutes": 7.1,
      "TotalKm": 8.1,
      "TotalKmPulse": 9.1,
      "IsLostGsm": true,
      "IsLostGps": true,
      "KmInStartStation": 12.1,
      "KmOnTrip": 13.1
    },
    {
      "VehiclePlate": "sample string 1",
      "PrivateCode": "sample string 2",
      "StartAddress": "sample string 3",
      "EndAddress": "sample string 4",
      "StartTime": "2026-04-04T18:17:32.1799798+07:00",
      "EndTime": "2026-04-04T18:17:32.1799798+07:00",
      "ActivedMinutes": 7.1,
      "TotalKm": 8.1,
      "TotalKmPulse": 9.1,
      "IsLostGsm": true,
      "IsLostGps": true,
      "KmInStartStation": 12.1,
      "KmOnTrip": 13.1
    }
  ]
}

application/xml, text/xml

Sample:
<JsonReportBusinessTripO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Gps">
  <Data>
    <JsonReportBusinessTripOEnt>
      <ActivedMinutes>7.1</ActivedMinutes>
      <EndAddress>sample string 4</EndAddress>
      <EndTime>2026-04-04T18:17:32.1799798+07:00</EndTime>
      <IsLostGps>true</IsLostGps>
      <IsLostGsm>true</IsLostGsm>
      <KmInStartStation>12.1</KmInStartStation>
      <KmOnTrip>13.1</KmOnTrip>
      <PrivateCode>sample string 2</PrivateCode>
      <StartAddress>sample string 3</StartAddress>
      <StartTime>2026-04-04T18:17:32.1799798+07:00</StartTime>
      <TotalKm>8.1</TotalKm>
      <TotalKmPulse>9.1</TotalKmPulse>
      <VehiclePlate>sample string 1</VehiclePlate>
    </JsonReportBusinessTripOEnt>
    <JsonReportBusinessTripOEnt>
      <ActivedMinutes>7.1</ActivedMinutes>
      <EndAddress>sample string 4</EndAddress>
      <EndTime>2026-04-04T18:17:32.1799798+07:00</EndTime>
      <IsLostGps>true</IsLostGps>
      <IsLostGsm>true</IsLostGsm>
      <KmInStartStation>12.1</KmInStartStation>
      <KmOnTrip>13.1</KmOnTrip>
      <PrivateCode>sample string 2</PrivateCode>
      <StartAddress>sample string 3</StartAddress>
      <StartTime>2026-04-04T18:17:32.1799798+07:00</StartTime>
      <TotalKm>8.1</TotalKm>
      <TotalKmPulse>9.1</TotalKmPulse>
      <VehiclePlate>sample string 1</VehiclePlate>
    </JsonReportBusinessTripOEnt>
  </Data>
  <IsSucceed>true</IsSucceed>
  <MessageResult>sample string 1</MessageResult>
</JsonReportBusinessTripO>