10 :“Price: This billing plan was $10” Refer to your billing plan settings
6 :“On-Demand-User Reference number”
864000 :”Duration: Billing Plan Quota will expire in 864000 Seconds (10 Days)”
0 :”Phone number/External Reference number: 0 (N/A)”
1 :”Unit(s): 1 unit on this billing plan”
86400 :”Remaining Duration: 86400 Seconds (1 Day)”
Querying an existing on-demand account information
To query for a created account, only 4 parameters (adm, pwd, type, and uname) are needed.
The Kiosk transmits the following URL parameter to the Hotspot Gateway as such:
Example:
https://192.168.110.1/Utilities/sms.shtml?adm=pos1&pwd=pos1password&type=query&uname=3737
In this Example:
HTTPS: Encrypts the URL request (On-Demand API supports both HTTPS and HTTP)
Gateway IP Address: 192.168.110.1
On-Demand Manager Admin username (Adm): pos1
On-Demand Manager Admin password (Pwd): pos1password
URL Function Type (Type): query (query for an on-demand-user account)
Specific an On-Demand-User Username to query (Uname): 3737
Reply from the On-Demand API:
3737,338m23xr,TIME,0,86400,1515456218,0,0,864000,1,0,1,0,0,USAGE-REL,
The following parameter information will be displayed:
Username, Password, Quota Type, Status, Available Quota, Validate Time, Expiration Time, Duration days, Duration seconds,
Unit, Grace Period, Class, External ID, Activation Time, Sub Type, Reference, Max Multiple Users
3737:“On-Demand-User Username”