POST api/v2/contravention/getVehicules
Renvoi un objet InfoVehiculePosition contenant la liste des vehciules présent autour de coordonnées GPS et ces coordonnées.
Request Information
URI Parameters
None.
Body Parameters
FilterResearchVehicule| Name | Description | Type | Additional information |
|---|---|---|---|
| Distance | integer |
Required |
|
| Minute | integer |
Required |
|
| Date | date |
Required |
|
| Dep | integer |
None. |
|
| Road | string |
None. |
|
| Pr | string |
None. |
|
| Coef | decimal number |
None. |
|
| IsContravention | boolean |
None. |
|
| FormPosition | KilometricPointGps |
None. |
|
| NoPosition | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"NoPosition": true,
"Distance": 1,
"Minute": 2,
"Date": "2025-11-08T18:55:05.3021601+00:00",
"Dep": 1,
"Road": "sample string 4",
"Pr": "sample string 5",
"Coef": 1.1,
"IsContravention": true,
"FormPosition": {
"Latitude": 1.1,
"Longitude": 2.1,
"IsUsePrLower": true,
"IsPrTwoNull": true
}
}
application/xml, text/xml
Sample:
<FilterResearchVehicule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto.Contravention">
<Coef>1.1</Coef>
<Date>2025-11-08T18:55:05.3021601+00:00</Date>
<Dep>1</Dep>
<Distance>1</Distance>
<FormPosition>
<IsPrTwoNull>true</IsPrTwoNull>
<IsUsePrLower>true</IsUsePrLower>
<Latitude>1.1</Latitude>
<Longitude>2.1</Longitude>
</FormPosition>
<IsContravention>true</IsContravention>
<Minute>2</Minute>
<NoPosition>true</NoPosition>
<Pr>sample string 5</Pr>
<Road>sample string 4</Road>
</FilterResearchVehicule>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
InfoVehiculePosition
InfoVehiculePositionDto| Name | Description | Type | Additional information |
|---|---|---|---|
| VehiculePositions | Collection of VehiculePositionDto |
None. |
|
| PositionTarget | PositionTargetResearchDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"VehiculePositions": [
{
"VehicleId": "2d19a7a3-8f90-40a1-bad0-af3576c5a47a",
"VehicleName": "sample string 1",
"LicencePlate": "sample string 2",
"VehicleType": "sample string 3",
"ListDriverGpsStatement": [
{
"StatementUtc": "2025-11-08T18:55:05.3178554+00:00",
"Latitude": 2.1,
"Longitude": 3.1,
"Speed": 4,
"Direction": 5,
"Driverheader": {
"DriverId": "7a863b1a-1589-4d05-8ebc-a8ad64087b65",
"CustomerId": "46be14dc-1ea7-4c0b-9d84-745996227821",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Matricule": "sample string 4",
"IsActive": true,
"CompatibleDownload": true
},
"MovementState": 0
},
{
"StatementUtc": "2025-11-08T18:55:05.3178554+00:00",
"Latitude": 2.1,
"Longitude": 3.1,
"Speed": 4,
"Direction": 5,
"Driverheader": {
"DriverId": "7a863b1a-1589-4d05-8ebc-a8ad64087b65",
"CustomerId": "46be14dc-1ea7-4c0b-9d84-745996227821",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Matricule": "sample string 4",
"IsActive": true,
"CompatibleDownload": true
},
"MovementState": 0
}
]
},
{
"VehicleId": "2d19a7a3-8f90-40a1-bad0-af3576c5a47a",
"VehicleName": "sample string 1",
"LicencePlate": "sample string 2",
"VehicleType": "sample string 3",
"ListDriverGpsStatement": [
{
"StatementUtc": "2025-11-08T18:55:05.3178554+00:00",
"Latitude": 2.1,
"Longitude": 3.1,
"Speed": 4,
"Direction": 5,
"Driverheader": {
"DriverId": "7a863b1a-1589-4d05-8ebc-a8ad64087b65",
"CustomerId": "46be14dc-1ea7-4c0b-9d84-745996227821",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Matricule": "sample string 4",
"IsActive": true,
"CompatibleDownload": true
},
"MovementState": 0
},
{
"StatementUtc": "2025-11-08T18:55:05.3178554+00:00",
"Latitude": 2.1,
"Longitude": 3.1,
"Speed": 4,
"Direction": 5,
"Driverheader": {
"DriverId": "7a863b1a-1589-4d05-8ebc-a8ad64087b65",
"CustomerId": "46be14dc-1ea7-4c0b-9d84-745996227821",
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Matricule": "sample string 4",
"IsActive": true,
"CompatibleDownload": true
},
"MovementState": 0
}
]
}
],
"PositionTarget": {
"Latitude": 1.1,
"Longitude": 2.1
}
}
application/xml, text/xml
Sample:
<InfoVehiculePositionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vehizen.Domain.Dto">
<PositionTarget>
<Latitude>1.1</Latitude>
<Longitude>2.1</Longitude>
</PositionTarget>
<VehiculePositions>
<VehiculePositionDto>
<LicencePlate>sample string 2</LicencePlate>
<ListDriverGpsStatement>
<DriverGpsStatementDto>
<Direction>5</Direction>
<Driverheader>
<CompatibleDownload>true</CompatibleDownload>
<CustomerId>46be14dc-1ea7-4c0b-9d84-745996227821</CustomerId>
<DriverId>7a863b1a-1589-4d05-8ebc-a8ad64087b65</DriverId>
<FirstName>sample string 2</FirstName>
<IsActive>true</IsActive>
<LastName>sample string 3</LastName>
<Matricule>sample string 4</Matricule>
</Driverheader>
<Latitude>2.1</Latitude>
<Longitude>3.1</Longitude>
<MovementState>Stopped</MovementState>
<Speed>4</Speed>
<StatementUtc>2025-11-08T18:55:05.3178554+00:00</StatementUtc>
</DriverGpsStatementDto>
<DriverGpsStatementDto>
<Direction>5</Direction>
<Driverheader>
<CompatibleDownload>true</CompatibleDownload>
<CustomerId>46be14dc-1ea7-4c0b-9d84-745996227821</CustomerId>
<DriverId>7a863b1a-1589-4d05-8ebc-a8ad64087b65</DriverId>
<FirstName>sample string 2</FirstName>
<IsActive>true</IsActive>
<LastName>sample string 3</LastName>
<Matricule>sample string 4</Matricule>
</Driverheader>
<Latitude>2.1</Latitude>
<Longitude>3.1</Longitude>
<MovementState>Stopped</MovementState>
<Speed>4</Speed>
<StatementUtc>2025-11-08T18:55:05.3178554+00:00</StatementUtc>
</DriverGpsStatementDto>
</ListDriverGpsStatement>
<VehicleId>2d19a7a3-8f90-40a1-bad0-af3576c5a47a</VehicleId>
<VehicleName>sample string 1</VehicleName>
<VehicleType>sample string 3</VehicleType>
</VehiculePositionDto>
<VehiculePositionDto>
<LicencePlate>sample string 2</LicencePlate>
<ListDriverGpsStatement>
<DriverGpsStatementDto>
<Direction>5</Direction>
<Driverheader>
<CompatibleDownload>true</CompatibleDownload>
<CustomerId>46be14dc-1ea7-4c0b-9d84-745996227821</CustomerId>
<DriverId>7a863b1a-1589-4d05-8ebc-a8ad64087b65</DriverId>
<FirstName>sample string 2</FirstName>
<IsActive>true</IsActive>
<LastName>sample string 3</LastName>
<Matricule>sample string 4</Matricule>
</Driverheader>
<Latitude>2.1</Latitude>
<Longitude>3.1</Longitude>
<MovementState>Stopped</MovementState>
<Speed>4</Speed>
<StatementUtc>2025-11-08T18:55:05.3178554+00:00</StatementUtc>
</DriverGpsStatementDto>
<DriverGpsStatementDto>
<Direction>5</Direction>
<Driverheader>
<CompatibleDownload>true</CompatibleDownload>
<CustomerId>46be14dc-1ea7-4c0b-9d84-745996227821</CustomerId>
<DriverId>7a863b1a-1589-4d05-8ebc-a8ad64087b65</DriverId>
<FirstName>sample string 2</FirstName>
<IsActive>true</IsActive>
<LastName>sample string 3</LastName>
<Matricule>sample string 4</Matricule>
</Driverheader>
<Latitude>2.1</Latitude>
<Longitude>3.1</Longitude>
<MovementState>Stopped</MovementState>
<Speed>4</Speed>
<StatementUtc>2025-11-08T18:55:05.3178554+00:00</StatementUtc>
</DriverGpsStatementDto>
</ListDriverGpsStatement>
<VehicleId>2d19a7a3-8f90-40a1-bad0-af3576c5a47a</VehicleId>
<VehicleName>sample string 1</VehicleName>
<VehicleType>sample string 3</VehicleType>
</VehiculePositionDto>
</VehiculePositions>
</InfoVehiculePositionDto>