I am trying to integrate our ClearPass system with a visitor sign-in system that allows API POST and GET webhooks and am running into a couple of issues.
1. When sending the POST API call to create a guest account, the "expire_time" cannot be populated using the webhook so I am trying to use the "expire_after" field with a value of 24, but this doesn't seem to change anything and the account is still set to never expire. The only alternative I have found is it use the "expire_postlogin" with a value of "1440" but this only works once the user signs-in to our guest Wi-Fi. Is there a way to get the "expire_after" to work?
2. The "password" field has to be used and populated which doesn't allow for a random password to be generated, even though I have configured the settings in Guest Configuration. Is there a way around this?
3. Due to the fact that our visitor sign-in system does not allow for other API methods except POST and GET I cannot reactivate an account that uses the same username (i.e. the visitors email address) because using the POST command I get the error message "The username is already in use". Is there a way to tell ClearPass to re-enable an account if it receives a POST API call?
Any support would be appreciated.
For reference, the current API call I am using is like:
{
"do_expire": 4,
"email": [email],
"username": [email],
"enabled": true,
"role_id": 2,
"sponsor_name": "WhosOnLocation",
"password": "1234567890",
"expire_postlogin": "1440",
"visitor_name": [name],
"visitor_phone": [mobile],
"simultaneous_use": 1,
"expired_notify_status": 0,
"auto_send_smtp": 0,
"auto_send_sms": 0
}
#Meridian#ArubaSensor#ArubaBeacons#LocationServices#ALE