Guestbook User Batch
Guestbook is a private list of guest users to whom we provide access to wifi setup. Clubbed together they form a batch of users. When a user wants to access the Internet through our WiFi setup, they can either login with their social media account or request for a guest user account. This guest user account information is stored in the guest book of the portal. You can obtain user-specific information and add it to the user profile when creating a user account. To manage the guest book, you must have either the Administrator role or the Operator role.
Parameter | Data Type | Description |
---|---|---|
success | boolean | Whether the API call was successful or not. |
message | String | A message indicating the API success or failure. |
data | application/json | A JSON object for the response data. |
data/totalCount | int | The total number of batches fetched. |
data/batch | application/json | A JSON for the guest user accounts batch. |
data/batch/bid | int | The system-generated unique ID for the guest user accounts batch. |
data/batch/pid | int | The system-generated unique ID for the portal. |
data/batch/pbid | int | The system-generated ID for the batch unique to the portal. |
data/batch/batch_type | int | The type of batch. 1 indicates random (system-generated) user names. 2 indicates incremental user names. |
data/batch/username_prefix | String | A string value that is prefixed with each system-generated guest user account name created by the batch. |
data/batch/username_length | int | This is a mandatory property if the batch_type is set to 1. This specifies the number of characters in the system-generated guest user account names. |
data/batch/start_index | int | This is a mandatory property if the batch_type is set to 2. This specifies the index (incrementing) to be appended to the username_prefix in the guest user account names. |
data/batch/password_length | int | The number of characters in the system-generated password for the guest user accounts. |
data/batch/no_of_users | int | The total number of guest user accounts created by the batch |
data/batch/batch_desc | String | A short description specifying the purpose of creating this batch of guest user accounts. |
data/batch/date_created | Date | The date on which the guest user accounts batch is created. |
data/batch/expiration_date | Date | The date till which the guest user accounts in the batch will be valid. |
data/batch/session_timeout | int | The time period, in minutes, after which the guest user session expires. The user must re-authenticate with his login credentials if he wants to continue using the WiFi service. A value of zero indicates that the user session does not timeout and the user must explicitly log out from the portal. A non-zero timeout configured on the user account takes precedence over the timeout configured on the plug-in, portal, and the SSID profile in Wireless Manager. |
data/batch/blackout_time | int | The time period in minutes for which a user cannot log in to the portal after his last successful login has timed out. A value of zero indicates no blackout time. The blackout time, including zero value, configured on the user account takes precedence over the blackout time configured on the plug-in, portal, and the SSID profile in Wireless Manager. |
data/batch/date_modified | Date | The date and time when the guest user accounts batch was created. |
data/batch/created_by | String | The user name of the Guest Manager user who created the batch. |
data/batch/bandwidth_upload_limit | int | Maximum upload bandwidth, in Kbps, for the guest user accounts. |
data/batch/bandwidth_download_limit | int | Maximum download bandwidth, in Kbps, for the guest user accounts. |
[{ "success": true, "message": "Record Found", "data": { "totalCount": 1, "batch": { "bid": 1, "pid": 1, "pbid": 1, "batch_type": "1", "username_prefix": "test", "username_length": 1, "start_index": null, "password_length": 8, "no_of_users": 5, "batch_desc": null, "date_created": "2017-09-11 05:41:54.688163", "expiration_date": "2017-09-11 13:41:19", "session_timeout": null, "blackout_time": null, "date_modified": null, "created_by": "[email protected]", "bandwidth_upload_limit": null, "bandwidth_download_limit": null, "device_limit": null, "login_count_limit": null } } }]
/V1.14/portals/{pid}/guestbook/batches/{bid}
/V1.14/portals/{pid}/guestbook/batches
/V1.14/portals/{pid}/guestbook/batches/{bid}/users
/V1.14/portals/{pid}/guestbook/batches/exportcsv
/V1.14/portals/{pid}/guestbook/batches/{bid}
/V1.14/portals/{pid}/guestbook/batches
/V1.14/portals/{pid}/guestbook/batches/{bid}
/V1.14/portals/{pid}/guestbook/batches/delete/bulk