API
Start the new billing cycle by Connection ID and SIM ID
Available in 7.1.1 or later
Input Parameters
Type | Notation | Mandatory | Description | |
connId | Number | <conn_id> | require | WAN Connection ID to be renew billing cycle |
simId | Number | [1,2] | optional | SIM ID to be renew billing cycle 1 is for SIM A, and 2 is for SIM B Always send 1 for single SIM model If the WAN Connection is not support cellular, the param will be ignored. |
cURL Example
curl -b cookies.txt -H "Content-Type: application/json" -X POST -d '{"connId":4,"simId":1}' http://192.168.1.1/api/cmd.billing.newCycle
{ "stat": "ok", }