POST api/gps/bcadrivingtime

Request Information

URI Parameters

None.

Body Parameters

ApiReportInputBase
NameDescriptionTypeAdditional information
FromDate

date

None.

ToDate

date

None.

VehiclePlates

Collection of string

None.

CustomerCode

string

None.

Key

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FromDate": "2026-04-04T18:10:40.0740809+07:00",
  "ToDate": "2026-04-04T18:10:40.0740809+07:00",
  "VehiclePlates": [
    "sample string 1",
    "sample string 2"
  ],
  "CustomerCode": "sample string 3",
  "Key": "sample string 4"
}

application/xml, text/xml

Sample:
<ApiReportInputBase 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 3</CustomerCode>
  <Key xmlns="http://schemas.datacontract.org/2004/07/API.Model">sample string 4</Key>
  <FromDate>2026-04-04T18:10:40.0740809+07:00</FromDate>
  <ToDate>2026-04-04T18:10:40.0740809+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>
</ApiReportInputBase>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetBcaDrivingTimeO
NameDescriptionTypeAdditional information
MessageResult

string

None.

IsSucceed

boolean

None.

Data

Collection of ReportTimeOfDayApi

None.

Response Formats

application/json, text/json

Sample:
{
  "MessageResult": "sample string 1",
  "IsSucceed": true,
  "Data": [
    {
      "VehiclePlate": "sample string 1",
      "PrivateCode": "sample string 2",
      "DisplayName": "sample string 3",
      "Name": "sample string 4",
      "DriverLicense": "sample string 5",
      "EmployeeCode": "sample string 6",
      "StartTime": "2026-04-04T18:10:40.0740809+07:00",
      "StartLatitude": 8.1,
      "StartLongitude": 9.1,
      "StartAddress": "sample string 10",
      "EndTime": "2026-04-04T18:10:40.0740809+07:00",
      "EndLatitude": 12.1,
      "EndLongitude": 13.1,
      "EndAddress": "sample string 14",
      "TotalKm": 15.1
    },
    {
      "VehiclePlate": "sample string 1",
      "PrivateCode": "sample string 2",
      "DisplayName": "sample string 3",
      "Name": "sample string 4",
      "DriverLicense": "sample string 5",
      "EmployeeCode": "sample string 6",
      "StartTime": "2026-04-04T18:10:40.0740809+07:00",
      "StartLatitude": 8.1,
      "StartLongitude": 9.1,
      "StartAddress": "sample string 10",
      "EndTime": "2026-04-04T18:10:40.0740809+07:00",
      "EndLatitude": 12.1,
      "EndLongitude": 13.1,
      "EndAddress": "sample string 14",
      "TotalKm": 15.1
    }
  ]
}

application/xml, text/xml

Sample:
<GetBcaDrivingTimeO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Gps">
  <Data>
    <ReportTimeOfDayApi>
      <DisplayName>sample string 3</DisplayName>
      <DriverLicense>sample string 5</DriverLicense>
      <EmployeeCode>sample string 6</EmployeeCode>
      <EndAddress>sample string 14</EndAddress>
      <EndLatitude>12.1</EndLatitude>
      <EndLongitude>13.1</EndLongitude>
      <EndTime>2026-04-04T18:10:40.0740809+07:00</EndTime>
      <Name>sample string 4</Name>
      <PrivateCode>sample string 2</PrivateCode>
      <StartAddress>sample string 10</StartAddress>
      <StartLatitude>8.1</StartLatitude>
      <StartLongitude>9.1</StartLongitude>
      <StartTime>2026-04-04T18:10:40.0740809+07:00</StartTime>
      <TotalKm>15.1</TotalKm>
      <VehiclePlate>sample string 1</VehiclePlate>
    </ReportTimeOfDayApi>
    <ReportTimeOfDayApi>
      <DisplayName>sample string 3</DisplayName>
      <DriverLicense>sample string 5</DriverLicense>
      <EmployeeCode>sample string 6</EmployeeCode>
      <EndAddress>sample string 14</EndAddress>
      <EndLatitude>12.1</EndLatitude>
      <EndLongitude>13.1</EndLongitude>
      <EndTime>2026-04-04T18:10:40.0740809+07:00</EndTime>
      <Name>sample string 4</Name>
      <PrivateCode>sample string 2</PrivateCode>
      <StartAddress>sample string 10</StartAddress>
      <StartLatitude>8.1</StartLatitude>
      <StartLongitude>9.1</StartLongitude>
      <StartTime>2026-04-04T18:10:40.0740809+07:00</StartTime>
      <TotalKm>15.1</TotalKm>
      <VehiclePlate>sample string 1</VehiclePlate>
    </ReportTimeOfDayApi>
  </Data>
  <IsSucceed>true</IsSucceed>
  <MessageResult>sample string 1</MessageResult>
</GetBcaDrivingTimeO>