POST api/gps/door
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-08T17:42:33.3336263+07:00",
"ToDate": "2026-04-08T17:42:33.3336263+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-08T17:42:33.3336263+07:00</FromDate>
<ToDate>2026-04-08T17:42:33.3336263+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
GetReportDoorO| Name | Description | Type | Additional information |
|---|---|---|---|
| MessageResult | string |
None. |
|
| IsSucceed | boolean |
None. |
|
| Data | Collection of GetReportDoorItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"MessageResult": "sample string 1",
"IsSucceed": true,
"Data": [
{
"VehiclePlate": "sample string 1",
"PrivateCode": "sample string 2",
"StartTime": "2026-04-08T17:42:33.3336263+07:00",
"Speed": 4,
"StartLongitude": 5.1,
"StartLatitude": 6.1,
"EndTime": "2026-04-08T17:42:33.3336263+07:00",
"EndLongitude": 8.1,
"EndLatitude": 9.1,
"State": 10,
"TypeDoor": 11,
"StartAddress": "sample string 12",
"EndAddress": "sample string 13"
},
{
"VehiclePlate": "sample string 1",
"PrivateCode": "sample string 2",
"StartTime": "2026-04-08T17:42:33.3336263+07:00",
"Speed": 4,
"StartLongitude": 5.1,
"StartLatitude": 6.1,
"EndTime": "2026-04-08T17:42:33.3336263+07:00",
"EndLongitude": 8.1,
"EndLatitude": 9.1,
"State": 10,
"TypeDoor": 11,
"StartAddress": "sample string 12",
"EndAddress": "sample string 13"
}
]
}
application/xml, text/xml
Sample:
<GetReportDoorO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Gps">
<Data>
<GetReportDoorItem>
<EndAddress>sample string 13</EndAddress>
<EndLatitude>9.1</EndLatitude>
<EndLongitude>8.1</EndLongitude>
<EndTime>2026-04-08T17:42:33.3336263+07:00</EndTime>
<PrivateCode>sample string 2</PrivateCode>
<Speed>4</Speed>
<StartAddress>sample string 12</StartAddress>
<StartLatitude>6.1</StartLatitude>
<StartLongitude>5.1</StartLongitude>
<StartTime>2026-04-08T17:42:33.3336263+07:00</StartTime>
<State>10</State>
<TypeDoor>11</TypeDoor>
<VehiclePlate>sample string 1</VehiclePlate>
</GetReportDoorItem>
<GetReportDoorItem>
<EndAddress>sample string 13</EndAddress>
<EndLatitude>9.1</EndLatitude>
<EndLongitude>8.1</EndLongitude>
<EndTime>2026-04-08T17:42:33.3336263+07:00</EndTime>
<PrivateCode>sample string 2</PrivateCode>
<Speed>4</Speed>
<StartAddress>sample string 12</StartAddress>
<StartLatitude>6.1</StartLatitude>
<StartLongitude>5.1</StartLongitude>
<StartTime>2026-04-08T17:42:33.3336263+07:00</StartTime>
<State>10</State>
<TypeDoor>11</TypeDoor>
<VehiclePlate>sample string 1</VehiclePlate>
</GetReportDoorItem>
</Data>
<IsSucceed>true</IsSucceed>
<MessageResult>sample string 1</MessageResult>
</GetReportDoorO>