How it works
The Bluware system is already integrated with CloudPark through Access Authorization. When a member taps their card at the entrance kiosk, CloudPark asks the Bluware system whether they may enter and follows the answer: allow entry, deny entry or fall back to CloudPark's own records.
GET to your system's URL, sending the card number.What to set up on your side
- Publish the lookup URL, which receives the card number at the end of the path (e.g.
https://seu-sistema.com.br/valida-acesso/0123092664). The caller is the parking lot's local server: the URL must be reachable from the parking lot's network. - Define the authentication (optional): the name of an HTTP header and its value (e.g.
Authorization: abcdefgh123456). - Send CloudPark the URL, the header name and the value.
Response format
{"data": {"situacao": 0, "motivo": {"id": 0}}}
{"data": {"situacao": 1, "motivo": {"id": 1}}}
{"data": {"situacao": 1, "motivo": {"id": 2}}}
Always respond with HTTP 200 and within 1 to 2 seconds: the member is stopped at the gate waiting for the answer. Details in the full Access Authorization guide.
How to test
In this integration CloudPark is the one making the call, so there is no sandbox. Test your URL with an allowed card, a blocked one and an unknown one:
curl -H "Authorization: abcdefgh123456" https://seu-sistema.com.br/valida-acesso/0123092664
Then arrange a test at the parking lot with CloudPark.