POST api/gps/vehicleviolate

Request Information

URI Parameters

None.

Body Parameters

ApiReportInputBase
NameDescriptionTypeAdditional 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-04T18:10:46.8559204+07:00",
  "ToDate": "2026-04-04T18:10:46.8559204+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-04T18:10:46.8559204+07:00</FromDate>
  <ToDate>2026-04-04T18:10:46.8559204+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

ReportVehicleViolateGlsO
NameDescriptionTypeAdditional information
MessageResult

string

None.

IsSucceed

boolean

None.

Data

Collection of ReportVehicleViolateGlsEnt

None.

Response Formats

application/json, text/json

Sample:
{
  "MessageResult": "sample string 1",
  "IsSucceed": true,
  "Data": [
    {
      "VehiclePlate": "sample string 1",
      "PrivateCode": "sample string 2",
      "ViolateType": 3,
      "ViolateTime": "2026-04-04T18:10:46.8559204+07:00",
      "Lat": 5.1,
      "Lng": 6.1,
      "Address": "sample string 7",
      "DriverName": "sample string 8"
    },
    {
      "VehiclePlate": "sample string 1",
      "PrivateCode": "sample string 2",
      "ViolateType": 3,
      "ViolateTime": "2026-04-04T18:10:46.8559204+07:00",
      "Lat": 5.1,
      "Lng": 6.1,
      "Address": "sample string 7",
      "DriverName": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<ReportVehicleViolateGlsO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Model.Gps">
  <Data>
    <ReportVehicleViolateGlsEnt>
      <Address>sample string 7</Address>
      <DriverName>sample string 8</DriverName>
      <Lat>5.1</Lat>
      <Lng>6.1</Lng>
      <PrivateCode>sample string 2</PrivateCode>
      <VehiclePlate>sample string 1</VehiclePlate>
      <ViolateTime>2026-04-04T18:10:46.8559204+07:00</ViolateTime>
      <ViolateType>3</ViolateType>
    </ReportVehicleViolateGlsEnt>
    <ReportVehicleViolateGlsEnt>
      <Address>sample string 7</Address>
      <DriverName>sample string 8</DriverName>
      <Lat>5.1</Lat>
      <Lng>6.1</Lng>
      <PrivateCode>sample string 2</PrivateCode>
      <VehiclePlate>sample string 1</VehiclePlate>
      <ViolateTime>2026-04-04T18:10:46.8559204+07:00</ViolateTime>
      <ViolateType>3</ViolateType>
    </ReportVehicleViolateGlsEnt>
  </Data>
  <IsSucceed>true</IsSucceed>
  <MessageResult>sample string 1</MessageResult>
</ReportVehicleViolateGlsO>