Permit the Pass of Unlicensed Vehicle

Last Updated on : 2023-06-15 05:27:41

Generate a unique temporary identification code for an unlicensed vehicle in the parking lot, and send it to the parking lot through instructions, so as to permit the pass of the specified unlicensed vehicle.

API address

POST: /v1.0/parking-control/{device_id}/unlicensed-cars/pass

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueThe ID of a specified device in the parking lot.

Description of body

Parameter nameTypeINRequiredDescription
identify_codeString trueThe identification code of an unlicensed vehicle, which shall be unique in the parking lot. We recommend you use a combination of device ID_timestamp, mobile phone number, or WeChat ID.
device_idString trueThe ID of the barrier gate device in the current lane.

Return parameter

Parameter nameTypeDescription
resultCmdIssueResultResponseThe returned result.

Description of result

Parameter nameTypeDescription
snStringThe command record ID.

Request example

POST: /v1.0/parking-control/6ce****/unlicensed-cars/pass
{
  "identifyCode": "133****1234",
  "deviceId": "6c****dy"
}

Return example

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

Error code

For more information, see error code.