POST api/bataxi/tracking
Request Information
URI Parameters
None.
Body Parameters
JsonTaxiTrackingI| Name | Description | Type | Additional information |
|---|---|---|---|
| XNCode | integer |
None. |
|
| Key | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"XNCode": 1,
"Key": "sample string 2"
}
application/xml, text/xml
Sample:
<JsonTaxiTrackingI 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 2</Key> <XNCode xmlns="http://schemas.datacontract.org/2004/07/API.Model">1</XNCode> </JsonTaxiTrackingI>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonTaxiTrackingO| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of TaxiTracking |
None. |
|
| MessageResult | string |
None. |
|
| IsSucceed | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": [
{
"VehiclePlate": "sample string 4",
"PrivateCode": "sample string 5",
"Latitude": 2.1,
"Longitude": 3.1,
"VehicleTime": "2026-04-30T22:22:31.106876+07:00",
"VelocityGPS": 7,
"VelocityMechanical": 8,
"AirConditionerState": true,
"Stopped": 10.1,
"MinuteOfManchineOnWhenStop": 11,
"MachineState": true,
"CustomerState": true,
"KmHasGuest": 14.1,
"KmEmpty": 15.1,
"TotalMoney": 16.1,
"TripCount": 17,
"HasTripOnline": true,
"CurrentKmHasGuest": 19.1,
"CurrentEmptyKm": 20.1,
"CurrentMoney": 21.1,
"CurrentTimeHasGuest": "2026-04-30T22:22:31.106876+07:00",
"CurrentWaitingTime": 23,
"Address": "sample string 1",
"VehicleTypeName": "sample string 24",
"LandMarkName": "sample string 25",
"MeterName": "sample string 26",
"DriverLicense": "sample string 27",
"DriverName": "sample string 28",
"ListTemperatures": [
1.1,
2.1
]
},
{
"VehiclePlate": "sample string 4",
"PrivateCode": "sample string 5",
"Latitude": 2.1,
"Longitude": 3.1,
"VehicleTime": "2026-04-30T22:22:31.106876+07:00",
"VelocityGPS": 7,
"VelocityMechanical": 8,
"AirConditionerState": true,
"Stopped": 10.1,
"MinuteOfManchineOnWhenStop": 11,
"MachineState": true,
"CustomerState": true,
"KmHasGuest": 14.1,
"KmEmpty": 15.1,
"TotalMoney": 16.1,
"TripCount": 17,
"HasTripOnline": true,
"CurrentKmHasGuest": 19.1,
"CurrentEmptyKm": 20.1,
"CurrentMoney": 21.1,
"CurrentTimeHasGuest": "2026-04-30T22:22:31.106876+07:00",
"CurrentWaitingTime": 23,
"Address": "sample string 1",
"VehicleTypeName": "sample string 24",
"LandMarkName": "sample string 25",
"MeterName": "sample string 26",
"DriverLicense": "sample string 27",
"DriverName": "sample string 28",
"ListTemperatures": [
1.1,
2.1
]
}
],
"MessageResult": "sample string 1",
"IsSucceed": true
}
application/xml, text/xml
Sample:
<JsonTaxiTrackingO 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>
<TaxiTracking>
<Address>sample string 1</Address>
<AirConditionerState>true</AirConditionerState>
<CurrentEmptyKm>20.1</CurrentEmptyKm>
<CurrentKmHasGuest>19.1</CurrentKmHasGuest>
<CurrentMoney>21.1</CurrentMoney>
<CurrentTimeHasGuest>2026-04-30T22:22:31.106876+07:00</CurrentTimeHasGuest>
<CurrentWaitingTime>23</CurrentWaitingTime>
<CustomerState>true</CustomerState>
<DriverLicense>sample string 27</DriverLicense>
<DriverName>sample string 28</DriverName>
<HasTripOnline>true</HasTripOnline>
<KmEmpty>15.1</KmEmpty>
<KmHasGuest>14.1</KmHasGuest>
<LandMarkName>sample string 25</LandMarkName>
<Latitude>2.1</Latitude>
<ListTemperatures xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:double>1.1</d4p1:double>
<d4p1:double>2.1</d4p1:double>
</ListTemperatures>
<Longitude>3.1</Longitude>
<MachineState>true</MachineState>
<MeterName>sample string 26</MeterName>
<MinuteOfManchineOnWhenStop>11</MinuteOfManchineOnWhenStop>
<PrivateCode>sample string 5</PrivateCode>
<Stopped>10.1</Stopped>
<TotalMoney>16.1</TotalMoney>
<TripCount>17</TripCount>
<VehiclePlate>sample string 4</VehiclePlate>
<VehicleTime>2026-04-30T22:22:31.106876+07:00</VehicleTime>
<VehicleTypeName>sample string 24</VehicleTypeName>
<VelocityGPS>7</VelocityGPS>
<VelocityMechanical>8</VelocityMechanical>
</TaxiTracking>
<TaxiTracking>
<Address>sample string 1</Address>
<AirConditionerState>true</AirConditionerState>
<CurrentEmptyKm>20.1</CurrentEmptyKm>
<CurrentKmHasGuest>19.1</CurrentKmHasGuest>
<CurrentMoney>21.1</CurrentMoney>
<CurrentTimeHasGuest>2026-04-30T22:22:31.106876+07:00</CurrentTimeHasGuest>
<CurrentWaitingTime>23</CurrentWaitingTime>
<CustomerState>true</CustomerState>
<DriverLicense>sample string 27</DriverLicense>
<DriverName>sample string 28</DriverName>
<HasTripOnline>true</HasTripOnline>
<KmEmpty>15.1</KmEmpty>
<KmHasGuest>14.1</KmHasGuest>
<LandMarkName>sample string 25</LandMarkName>
<Latitude>2.1</Latitude>
<ListTemperatures xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:double>1.1</d4p1:double>
<d4p1:double>2.1</d4p1:double>
</ListTemperatures>
<Longitude>3.1</Longitude>
<MachineState>true</MachineState>
<MeterName>sample string 26</MeterName>
<MinuteOfManchineOnWhenStop>11</MinuteOfManchineOnWhenStop>
<PrivateCode>sample string 5</PrivateCode>
<Stopped>10.1</Stopped>
<TotalMoney>16.1</TotalMoney>
<TripCount>17</TripCount>
<VehiclePlate>sample string 4</VehiclePlate>
<VehicleTime>2026-04-30T22:22:31.106876+07:00</VehicleTime>
<VehicleTypeName>sample string 24</VehicleTypeName>
<VelocityGPS>7</VelocityGPS>
<VelocityMechanical>8</VelocityMechanical>
</TaxiTracking>
</Data>
</JsonTaxiTrackingO>