POST api/bataxi/tripbyplate

Request Information

URI Parameters

None.

Body Parameters

JsonTaxiTripI
NameDescriptionTypeAdditional information
VehiclePlate

string

None.

StartTime

date

None.

EndTime

date

None.

XNCode

integer

None.

Key

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VehiclePlate": "sample string 1",
  "StartTime": "2026-04-04T18:10:46.2309428+07:00",
  "EndTime": "2026-04-04T18:10:46.2309428+07:00",
  "XNCode": 4,
  "Key": "sample string 5"
}

application/xml, text/xml

Sample:
<JsonTaxiTripI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Taxi.Ba">
  <Key xmlns="http://schemas.datacontract.org/2004/07/API.Model">sample string 5</Key>
  <XNCode xmlns="http://schemas.datacontract.org/2004/07/API.Model">4</XNCode>
  <EndTime>2026-04-04T18:10:46.2309428+07:00</EndTime>
  <StartTime>2026-04-04T18:10:46.2309428+07:00</StartTime>
  <VehiclePlate>sample string 1</VehiclePlate>
</JsonTaxiTripI>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonTaxiTripO
NameDescriptionTypeAdditional information
Data

Collection of TaxiTrip

None.

MessageResult

string

None.

IsSucceed

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": [
    {
      "VehiclePlate": "sample string 1",
      "StartTimeGPS": "2026-04-04T18:10:46.2309428+07:00",
      "EndTimeGPS": "2026-04-04T18:10:46.2309428+07:00",
      "StartTimeMeter": "2026-04-04T18:10:46.2309428+07:00",
      "EndTimeMeter": "2026-04-04T18:10:46.2309428+07:00",
      "KmEmpty": 1.1,
      "KmHasGuest": 1.1,
      "WaitTime": 1,
      "MoneyOnMeter": 1,
      "MoneyReceiver": 1,
      "Note": "sample string 4",
      "StartLongitude": 1.1,
      "StartLatitude": 1.1,
      "EndLongitude": 1.1,
      "EndLatitude": 1.1,
      "StartAddress": "sample string 5",
      "EndAddress": "sample string 6",
      "KmHasGuestGPS": 1.1
    },
    {
      "VehiclePlate": "sample string 1",
      "StartTimeGPS": "2026-04-04T18:10:46.2309428+07:00",
      "EndTimeGPS": "2026-04-04T18:10:46.2309428+07:00",
      "StartTimeMeter": "2026-04-04T18:10:46.2309428+07:00",
      "EndTimeMeter": "2026-04-04T18:10:46.2309428+07:00",
      "KmEmpty": 1.1,
      "KmHasGuest": 1.1,
      "WaitTime": 1,
      "MoneyOnMeter": 1,
      "MoneyReceiver": 1,
      "Note": "sample string 4",
      "StartLongitude": 1.1,
      "StartLatitude": 1.1,
      "EndLongitude": 1.1,
      "EndLatitude": 1.1,
      "StartAddress": "sample string 5",
      "EndAddress": "sample string 6",
      "KmHasGuestGPS": 1.1
    }
  ],
  "MessageResult": "sample string 1",
  "IsSucceed": true
}

application/xml, text/xml

Sample:
<JsonTaxiTripO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Taxi.Ba">
  <IsSucceed xmlns="http://schemas.datacontract.org/2004/07/API.Model">true</IsSucceed>
  <MessageResult xmlns="http://schemas.datacontract.org/2004/07/API.Model">sample string 1</MessageResult>
  <Data>
    <TaxiTrip>
      <EndAddress>sample string 6</EndAddress>
      <EndLatitude>1.1</EndLatitude>
      <EndLongitude>1.1</EndLongitude>
      <EndTimeGPS>2026-04-04T18:10:46.2309428+07:00</EndTimeGPS>
      <EndTimeMeter>2026-04-04T18:10:46.2309428+07:00</EndTimeMeter>
      <KmEmpty>1.1</KmEmpty>
      <KmHasGuest>1.1</KmHasGuest>
      <KmHasGuestGPS>1.1</KmHasGuestGPS>
      <MoneyOnMeter>1</MoneyOnMeter>
      <MoneyReceiver>1</MoneyReceiver>
      <Note>sample string 4</Note>
      <StartAddress>sample string 5</StartAddress>
      <StartLatitude>1.1</StartLatitude>
      <StartLongitude>1.1</StartLongitude>
      <StartTimeGPS>2026-04-04T18:10:46.2309428+07:00</StartTimeGPS>
      <StartTimeMeter>2026-04-04T18:10:46.2309428+07:00</StartTimeMeter>
      <VehiclePlate>sample string 1</VehiclePlate>
      <WaitTime>1</WaitTime>
    </TaxiTrip>
    <TaxiTrip>
      <EndAddress>sample string 6</EndAddress>
      <EndLatitude>1.1</EndLatitude>
      <EndLongitude>1.1</EndLongitude>
      <EndTimeGPS>2026-04-04T18:10:46.2309428+07:00</EndTimeGPS>
      <EndTimeMeter>2026-04-04T18:10:46.2309428+07:00</EndTimeMeter>
      <KmEmpty>1.1</KmEmpty>
      <KmHasGuest>1.1</KmHasGuest>
      <KmHasGuestGPS>1.1</KmHasGuestGPS>
      <MoneyOnMeter>1</MoneyOnMeter>
      <MoneyReceiver>1</MoneyReceiver>
      <Note>sample string 4</Note>
      <StartAddress>sample string 5</StartAddress>
      <StartLatitude>1.1</StartLatitude>
      <StartLongitude>1.1</StartLongitude>
      <StartTimeGPS>2026-04-04T18:10:46.2309428+07:00</StartTimeGPS>
      <StartTimeMeter>2026-04-04T18:10:46.2309428+07:00</StartTimeMeter>
      <VehiclePlate>sample string 1</VehiclePlate>
      <WaitTime>1</WaitTime>
    </TaxiTrip>
  </Data>
</JsonTaxiTripO>