POST apiwba/gps/machinesummary
Request Information
URI Parameters
None.
Body Parameters
ApiReportInputBase| Name | Description | Type | Additional 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-08T16:54:57.2419555+07:00",
"ToDate": "2026-04-08T16:54:57.2419555+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-08T16:54:57.2419555+07:00</FromDate>
<ToDate>2026-04-08T16:54:57.2419555+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
GetMachineSummaryO| Name | Description | Type | Additional information |
|---|---|---|---|
| MessageResult | string |
None. |
|
| IsSucceed | boolean |
None. |
|
| Data | Collection of GetMachineSummaryItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"MessageResult": "sample string 1",
"IsSucceed": true,
"Data": [
{
"Date": "2026-04-08T16:54:57.2575844+07:00",
"VehiclePlate": "sample string 2",
"MinutesOfMachineOn": 3,
"MinutesOfMachineOff": 4,
"MinutesOfSignalLoss": 5,
"TimesOfMachineOn": 6,
"TimesOfMachineOff": 7,
"PrivateCode": "sample string 8"
},
{
"Date": "2026-04-08T16:54:57.2575844+07:00",
"VehiclePlate": "sample string 2",
"MinutesOfMachineOn": 3,
"MinutesOfMachineOff": 4,
"MinutesOfSignalLoss": 5,
"TimesOfMachineOn": 6,
"TimesOfMachineOff": 7,
"PrivateCode": "sample string 8"
}
]
}
application/xml, text/xml
Sample:
<GetMachineSummaryO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Gps">
<Data>
<GetMachineSummaryItem>
<Date>2026-04-08T16:54:57.2575844+07:00</Date>
<MinutesOfMachineOff>4</MinutesOfMachineOff>
<MinutesOfMachineOn>3</MinutesOfMachineOn>
<MinutesOfSignalLoss>5</MinutesOfSignalLoss>
<TimesOfMachineOff>7</TimesOfMachineOff>
<TimesOfMachineOn>6</TimesOfMachineOn>
<VehiclePlate>sample string 2</VehiclePlate>
</GetMachineSummaryItem>
<GetMachineSummaryItem>
<Date>2026-04-08T16:54:57.2575844+07:00</Date>
<MinutesOfMachineOff>4</MinutesOfMachineOff>
<MinutesOfMachineOn>3</MinutesOfMachineOn>
<MinutesOfSignalLoss>5</MinutesOfSignalLoss>
<TimesOfMachineOff>7</TimesOfMachineOff>
<TimesOfMachineOn>6</TimesOfMachineOn>
<VehiclePlate>sample string 2</VehiclePlate>
</GetMachineSummaryItem>
</Data>
<IsSucceed>true</IsSucceed>
<MessageResult>sample string 1</MessageResult>
</GetMachineSummaryO>