API documentation

Get Smart Key access_command

GET /api/car_driver/smart_keys/:id/access_command

Include access_token in HTTP header:

Authorization: Bearer 09ba487fc3df...

Description

This web service returns the access_command for an "exclusively online" parking's smart key.

Response

Status Code: 200 if OK

{
  "access_command": "20aed89a654480d8c49e0ae7f8f3442d20890c0d0183cdcb430f8942ecd92afaf203",
  "start_time": "2017-04-25T08:21:49+00:00",
  "end_time": "2017-05-25T08:21:49+00:00"
}
Parameter name Parameter type Description
access_command string command to be sent in order to open the barrier
start_time DateTime the start time from which the access command will work
end_time DateTime the end time until which the access command will work

Status Code: 401 if request not ok