...
Important:
If all devices that receive time should be enabled, the NGU should be configured to enable devices with the specified time that's being added to the accounts. This will also affect other customers.(CRM>Settings>Payment and Gracetime<Minimum Gracetime>Minimum payment time)The user whose credentials are used should have the NGU in either main entity or allowed entities.
To be configured before each execution
...
You will see if the script is working if it’s displaying the response code 201
...
If the file is too big ex. sample file contains 3000 customersID, what can we do is divide the file into 3
Ex. sample1.csv, sample2.csv, and sample3.csv -each .csv file now contains 1000customer each, then you can run the script for the 3 .csv:
python3 script.py sample1.csv
python3 script.py sample2.csv
python3 script.py sample3.csvThe script will generate two file once executed, .csv_error and .csv_success
The one with the errors can be used as an input for another execution.
...