If you want to add code yourself, you can use our PHP class to communicate with NOC-PS:
If you have multiple NOC-PS servers, only the appropriate instance (based on $pid / $serverId) will be returned.
By default, this class caches the most responses from NOC-PS. The cache is seperated per WHMCS server id, means if you have 2 NOC-PS servers, the module will create a dedicated cache for each NOC-PS backend.
To disable the cache, you can use the following method to disable the cache for all queries from the same instance:
You can set this in the code at any time, even before creating the class instance.