Extend Accessible Period of Visitor Vehicle

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

Extend the accessible period of a visitor vehicle based on the visitor vehicle ID.

API address

PUT: /v1.0/parking-control/{device_id}/visitor-cars/{visitor_car_id}/delay

Request parameter

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

Description of body

Parameter nameTypeINRequiredDescription
visitor_car_idString trueThe ID of a specified visitor vehicle.
begin_timeLong trueThe start time of the accessible period for a specified visitor vehicle.
end_timeLong trueThe end time of the accessible period for a specified visitor vehicle.

Return parameter

Parameter nameTypeDescription
resultCmdIssueResultResponseThe returned result.

Description of result

Parameter nameTypeDescription
snStringThe command record ID.

Request example

PUT: /v1.0/parking-control/6ce****/visitor-cars/123****
{
  "visitorCarId": "1",
  "beginTime": 1652777782808,
  "endTime": 1658048182000
}

Return example

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

Error code

For more information, see error code.