Delete Special Vehicle

Last Updated on : 2023-06-20 14:54:08

Delete a registered special vehicle based on the license plate number and vehicle type.

Note:

  • Currently, special vehicles consist of blocklist vehicles and allowlist vehicles.
  • The blocklist is used to restrict the entry of outside vehicles, whereas locking a vehicle means restricting it from leaving the parking lot.

API address

DELETE: /v1.0/parking-control/{device_id}/special-cars

Request parameter

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

Description of body

Parameter nameTypeINRequiredDescription
plate_noString trueThe license plate number.
typeInteger trueThe type of a special vehicle. Valid values:
  • 0: allowlist.
  • 1: blocklist.

Return parameter

Parameter nameTypeDescription
resultCmdIssueResultResponseThe returned result.

Description of result

Parameter nameTypeDescription
snStringThe command record ID.

Request example

DELETE: /v1.0/parking-control/6ce****/special-cars/123****
{
  "plateNo": "A1***5",
  "type": 1
}

Return example

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

Error code

For more information, see error code.