POST api/bataxi/tripdetailstms
Request Information
URI Parameters
None.
Body Parameters
GetTripDetailsTmsI| Name | Description | Type | Additional information |
|---|---|---|---|
| XNCode | integer |
None. |
|
| Username | string |
None. |
|
| Password | string |
None. |
|
| FromDate | date |
None. |
|
| ToDate | date |
None. |
|
| GeneralIDs | Collection of string |
None. |
|
| LastSync | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"XNCode": 1,
"Username": "sample string 2",
"Password": "sample string 3",
"FromDate": "2026-04-04T18:13:02.149146+07:00",
"ToDate": "2026-04-04T18:13:02.149146+07:00",
"GeneralIDs": [
"sample string 1",
"sample string 2"
],
"LastSync": "2026-04-04T18:13:02.149146+07:00"
}
application/xml, text/xml
Sample:
<GetTripDetailsTmsI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
<FromDate>2026-04-04T18:13:02.149146+07:00</FromDate>
<GeneralIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</GeneralIDs>
<LastSync>2026-04-04T18:13:02.149146+07:00</LastSync>
<Password>sample string 3</Password>
<ToDate>2026-04-04T18:13:02.149146+07:00</ToDate>
<Username>sample string 2</Username>
<XNCode>1</XNCode>
</GetTripDetailsTmsI>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetTripDetailsTmsO| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of GetTripDetailsTmsEnt |
None. |
|
| MessageResult | string |
None. |
|
| IsSucceed | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"GeneralKey": "sample string 1",
"VehiclePlate": "sample string 2",
"PrivateCode": "sample string 3",
"VehicleTypeName": "sample string 4",
"StartTimeGPS": "2026-04-04T18:13:02.1647444+07:00",
"StartTimeMeter": "2026-04-04T18:13:02.1647444+07:00",
"EndTimeGPS": "2026-04-04T18:13:02.1647444+07:00",
"EndTimeMeter": "2026-04-04T18:13:02.1647444+07:00",
"StartLatitude": 1.1,
"StartLongitude": 1.1,
"StartAddress": "sample string 9",
"EndLatitude": 1.1,
"EndLongitude": 1.1,
"EndAddress": "sample string 10",
"KmHasGuest": 1.1,
"KmEmpty": 1.1,
"MoneyOnMeter": 11,
"MoneyReceiver": 12,
"WaitTime": 13,
"KmHasGuestGPS": 1.1,
"FK_VehicleID": 14,
"TripType": 15,
"TripTypeName": "sample string 16"
},
{
"GeneralKey": "sample string 1",
"VehiclePlate": "sample string 2",
"PrivateCode": "sample string 3",
"VehicleTypeName": "sample string 4",
"StartTimeGPS": "2026-04-04T18:13:02.1647444+07:00",
"StartTimeMeter": "2026-04-04T18:13:02.1647444+07:00",
"EndTimeGPS": "2026-04-04T18:13:02.1647444+07:00",
"EndTimeMeter": "2026-04-04T18:13:02.1647444+07:00",
"StartLatitude": 1.1,
"StartLongitude": 1.1,
"StartAddress": "sample string 9",
"EndLatitude": 1.1,
"EndLongitude": 1.1,
"EndAddress": "sample string 10",
"KmHasGuest": 1.1,
"KmEmpty": 1.1,
"MoneyOnMeter": 11,
"MoneyReceiver": 12,
"WaitTime": 13,
"KmHasGuestGPS": 1.1,
"FK_VehicleID": 14,
"TripType": 15,
"TripTypeName": "sample string 16"
}
],
"MessageResult": "sample string 1",
"IsSucceed": true
}
application/xml, text/xml
Sample:
<GetTripDetailsTmsO 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>
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DataAccess.Entities.Reports.Taxi">
<d2p1:GetTripDetailsTmsEnt>
<d2p1:EndAddress>sample string 10</d2p1:EndAddress>
<d2p1:EndLatitude>1.1</d2p1:EndLatitude>
<d2p1:EndLongitude>1.1</d2p1:EndLongitude>
<d2p1:EndTimeGPS>2026-04-04T18:13:02.1647444+07:00</d2p1:EndTimeGPS>
<d2p1:EndTimeMeter>2026-04-04T18:13:02.1647444+07:00</d2p1:EndTimeMeter>
<d2p1:FK_VehicleID>14</d2p1:FK_VehicleID>
<d2p1:GeneralKey>sample string 1</d2p1:GeneralKey>
<d2p1:KmEmpty>1.1</d2p1:KmEmpty>
<d2p1:KmHasGuest>1.1</d2p1:KmHasGuest>
<d2p1:KmHasGuestGPS>1.1</d2p1:KmHasGuestGPS>
<d2p1:MoneyOnMeter>11</d2p1:MoneyOnMeter>
<d2p1:MoneyReceiver>12</d2p1:MoneyReceiver>
<d2p1:PrivateCode>sample string 3</d2p1:PrivateCode>
<d2p1:StartAddress>sample string 9</d2p1:StartAddress>
<d2p1:StartLatitude>1.1</d2p1:StartLatitude>
<d2p1:StartLongitude>1.1</d2p1:StartLongitude>
<d2p1:StartTimeGPS>2026-04-04T18:13:02.1647444+07:00</d2p1:StartTimeGPS>
<d2p1:StartTimeMeter>2026-04-04T18:13:02.1647444+07:00</d2p1:StartTimeMeter>
<d2p1:TripType>15</d2p1:TripType>
<d2p1:TripTypeName>sample string 16</d2p1:TripTypeName>
<d2p1:VehiclePlate>sample string 2</d2p1:VehiclePlate>
<d2p1:VehicleTypeName>sample string 4</d2p1:VehicleTypeName>
<d2p1:WaitTime>13</d2p1:WaitTime>
</d2p1:GetTripDetailsTmsEnt>
<d2p1:GetTripDetailsTmsEnt>
<d2p1:EndAddress>sample string 10</d2p1:EndAddress>
<d2p1:EndLatitude>1.1</d2p1:EndLatitude>
<d2p1:EndLongitude>1.1</d2p1:EndLongitude>
<d2p1:EndTimeGPS>2026-04-04T18:13:02.1647444+07:00</d2p1:EndTimeGPS>
<d2p1:EndTimeMeter>2026-04-04T18:13:02.1647444+07:00</d2p1:EndTimeMeter>
<d2p1:FK_VehicleID>14</d2p1:FK_VehicleID>
<d2p1:GeneralKey>sample string 1</d2p1:GeneralKey>
<d2p1:KmEmpty>1.1</d2p1:KmEmpty>
<d2p1:KmHasGuest>1.1</d2p1:KmHasGuest>
<d2p1:KmHasGuestGPS>1.1</d2p1:KmHasGuestGPS>
<d2p1:MoneyOnMeter>11</d2p1:MoneyOnMeter>
<d2p1:MoneyReceiver>12</d2p1:MoneyReceiver>
<d2p1:PrivateCode>sample string 3</d2p1:PrivateCode>
<d2p1:StartAddress>sample string 9</d2p1:StartAddress>
<d2p1:StartLatitude>1.1</d2p1:StartLatitude>
<d2p1:StartLongitude>1.1</d2p1:StartLongitude>
<d2p1:StartTimeGPS>2026-04-04T18:13:02.1647444+07:00</d2p1:StartTimeGPS>
<d2p1:StartTimeMeter>2026-04-04T18:13:02.1647444+07:00</d2p1:StartTimeMeter>
<d2p1:TripType>15</d2p1:TripType>
<d2p1:TripTypeName>sample string 16</d2p1:TripTypeName>
<d2p1:VehiclePlate>sample string 2</d2p1:VehiclePlate>
<d2p1:VehicleTypeName>sample string 4</d2p1:VehicleTypeName>
<d2p1:WaitTime>13</d2p1:WaitTime>
</d2p1:GetTripDetailsTmsEnt>
</Data>
</GetTripDetailsTmsO>