API documentation


POST /api/car_driver


This web service is used to create new users into the database.


Parameter name Parameter type Description
api_car_driver_fo_user object car driver user object
email string email of the user
password string password of the user
password_confirmation string password confirmation of the user
first_name string first name of the user
last_name string last name of the user
phone string phone number of the user
client_app_id string application id provided by PARKING+PLUS
client_secret string application secret provided by PARKING+PLUS
  "api_car_driver_fo_user": {
    "email": "email",
    "password": "password",
    "password_confirmation": "password_confirmation",
    "first_name": "first_name",
    "last_name": "last_name",
    "phone": "phone"
  "client_app_id": "client_app_id",
  "client_secret": "client_secret"


Status Code: 201 if OK

Status Code: 422 if field validation not ok

    "email": ["has already been taken"],
    "password": ["is too short (minimum is 8 characters)"],
    "first_name": ["only alphanumeric and spaces"],
    "last_name": ["only alphanumeric and spaces"]

Status Code: 401 if client app or secret not ok

Access token utilization

The access_token should then be used in subsequent requests for authorization.
Include this HTTP header:

Authorization: Bearer 09ba487fc3df...