API version v1.0
Freepark Authorized Add
https://api.freepark.co/authorized/add
Parameter | Description | Optional | Default |
---|---|---|---|
property_id | (Type is integer) | False | False |
country_code | (Type is integer) | False | False |
phone_number | (Type is string) | False | False |
POST | https://api.freepark.co/authorized/add |
PHP Example
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,"https://api.freepark.co/authorized/add");
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded' ,"Authorization: Bearer ".$access_token));
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,"property_id=xx&country_code=xx&phone_number=xxxxxxxxxx");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec ($ch);
echo $response;
{
"id": x
}
{
error: true,
error_description: "Missing request arguments:property_id, country_code, phone_number"
}
Rate Limited | False |
Response Format | JSON |
Authentication | 1 |