API documentation

Decrypt response from box after the SetTime command.

GET /api/car_driver/secured_parkings/:id/set_time_response

Include access_token in HTTP header:

Authorization: Bearer 09ba487fc3df...


This web service verifies if the command to set time worked ok

       "response" : "211029bf83e7c47647aa84aa8e17d4fdf33703"

Request Parameters

Parameter name Parameter type Description
id int id of the secured parking on which we want to get battery info
response string string hex representing a block of 16 bytes. This is the response from the box after a set time command is given


Status Code: 200 if OK

Status Code: 422

{ "error": "Error code: 01" } # the error code returned in given response

Status Code: 400 if the secured_parking_id param is missing

Status Code: 404 if the secured_parking with secured_parking_id doesn't exist

Status Code: 401 if request not ok or if the current user does not have parking owner rights on this parking