Get Current Vehicle

Last Updated on : 2022-06-01 10:01:48

Get the license plate information of the vehicle at the current barrier gate based on the device ID of the exit barrier gate in the parking lot. This API applies to the scenario where the exit barrier gate is not equipped with an electronic display screen.

API address

GET: /v1.0/parking-control/{device_id}/cars/current

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueThe ID of a specified barrier gate.

Return parameter

Parameter nameTypeDescription
resultCmdIssueResultResponseThe returned result.

Description of result

Parameter nameTypeDescription
snStringThe command record ID.

Request example

GET: /v1.0/parking-control/6ce****/cars/current

Return example

{
    "result": {
        "sn": "135****"
    },
    "t": 1652779976771,
    "success": true
}

Error code

For more information, see error code.