Go to documentation repository
Previous page Next page
You can use a POST request to search by a vehicle license plate.
POST http://IP address:port/lprserver/GetProtocolNumbers
{
"id": {id},
"time_from": {time_from},
"numbers_text": {numbers_text},
"numbers_operation": "OR"
}
| Parameter | Required | Description |
|---|---|---|
| id | Yes | Server ID. If you want to get search result by several servers, specify the required ids separated by a comma |
| time_from | No | Beginning of the time range of storing information on license plates from a database. Format YYYY-MM-DDThh:mm:ss.sss |
| time_to | No | End of the time range of storing information on license plates from a database. Format YYYY-MM-DDThh:mm:ss.sss |
| numbers_text | No | License plate. If you want to get search result by several license plates, specify the required license plates separated by a space. You can also search by a license plate template using % |
| numbers_operation | No | You must specify this parameter to get search result by several numbers in one request. The parameter value is OR |
| cam_id | No | Camera ID. If you want to get search result by several cameras, specify the required ids separated by a space |
| countries | No | Country. You must specify the country according to Axxon PSIM localization. Specify several countries separated by a comma |
| plate_direction | No | Direction of vehicle movement. Values: 0—not defined; 1—from camera; 2—towards camera; 3—to the right; 4— to the left |
| comment | No | Comment. Specify several comments separated by a space |
| comment_operation | No | You must specify this parameter to get search result by several comments in one request. The parameter value is OR |
| speed_from | No | Lower value of the speed limit range |
| speed_to | No | Upper value of the speed limit range |
| validaty_from | No | Lower value of the validity limit range |
| validaty_to | No | Upper value of the validity limit range |
| numbers_region | No | Region number. If you want to get search result by several regions, specify the required numbers separated by a comma |
| plates_color | No | License plate color. IS NULL—not defined |
POST http://127.0.0.1:10001/lprserver/GetProtocolNumbers
{
"id": "1,2",
"time_from": "2021-05-28T16:10:35.000",
"numbers_text": "К673УК163 Р127РО62",
"numbers_operation": "OR"
}
where plate_numbers.id—ID of a vehicle license plate image and (if any) frame from the synchronous camera.