POST api/all/getsummaryroutetms

Request Information

URI Parameters

None.

Body Parameters

GetSummaryRouteTmsI
NameDescriptionTypeAdditional information
XNCode

integer

None.

VehiclePlate

string

None.

StartTime

date

None.

EndTime

date

None.

Username

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "XNCode": 1,
  "VehiclePlate": "sample string 2",
  "StartTime": "2026-04-04T18:13:01.5240627+07:00",
  "EndTime": "2026-04-04T18:13:01.5240627+07:00",
  "Username": "sample string 5",
  "Password": "sample string 6"
}

application/xml, text/xml

Sample:
<GetSummaryRouteTmsI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
  <Password xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 6</Password>
  <Username xmlns="http://schemas.datacontract.org/2004/07/Entities.Common">sample string 5</Username>
  <EndTime>2026-04-04T18:13:01.5240627+07:00</EndTime>
  <StartTime>2026-04-04T18:13:01.5240627+07:00</StartTime>
  <VehiclePlate>sample string 2</VehiclePlate>
  <XNCode>1</XNCode>
</GetSummaryRouteTmsI>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetSummaryRouteTmsO
NameDescriptionTypeAdditional information
message

string

None.

success

boolean

None.

fuel

decimal number

None.

kmgps

decimal number

None.

minuteMachineOn

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "success": true,
  "fuel": 3.1,
  "kmgps": 4.1,
  "minuteMachineOn": 5.1
}

application/xml, text/xml

Sample:
<GetSummaryRouteTmsO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model">
  <fuel>3.1</fuel>
  <kmgps>4.1</kmgps>
  <message>sample string 1</message>
  <success>true</success>
</GetSummaryRouteTmsO>