POST /api/radius/online_users
Input Parameters | Required ? | Description |
---|---|---|
userid | Y | CRM Login User's numerical ID value. Not username |
api_key | Y | api_key for the above Userid |
ispid | N | ISP ID |
resellerid | N | Reseller ID |
show_count | N | Shows Records Count only, instead of detailed results. Allowed values are: 0, 1. Default: 0 |
curl -X POST $BASE_URL/api/radius/online_users -d userid=5 -d api_key="0f9895fb407c83e5ea128082098b47681aa75d6944576423c4" -d resellerid=1 -d show_count=1
The sample response will be
{ "result": 334, "error": null }
POST /api/radius/online_status
Input Parameters | Required ? | Description |
---|---|---|
userid | Y | CRM Login User's numerical ID value. Not username |
api_key | Y | api_key for the above Userid |
ispid | N | ISP ID |
resellerid | N | Reseller ID |
username | Y | Username |
curl -X POST $BASE_URL/api/radius/online_status -d userid=5 -d api_key="0f9895fb407c83e5ea128082098b47681aa75d6944576423c4" -d username="demo"
The Typical API Response will be
{ "result": { "ip":"10.1.1.198", "mac":"E6:82:63:BE:0C:13", "nas":"172.20.20.1", "nasport":"ether3", "nasporttype":"Ethernet", "session_start":"2020-07-10 18:29:01", "session_stop":null, "session_duration":"55200", "last_update":"2020-07-11 09:49:01" }, "error": null }
POST /api/radius/nas_list
Input Parameters | Required ? | Description |
---|---|---|
userid | Y | CRM Login User's numerical ID value. Not username |
api_key | Y | api_key for the above Userid |
ispid | N | ISP ID |
resellerid | N | Reseller ID |
ip | N | NAS IP |
name | N | NAS Name. Partial text accepted |
vendor | N | NAS Vendor/Brand |
curl -X POST $BASE_URL/api/radius/nas_list -d userid=5 -d api_key="0f9895fb407c83e5ea128082098b47681aa75d6944576423c4"