This method gets the time of the most recent data in the ParamList, and sets the time variable
Call this method once before polling with the getParameters method.
Calls cloud code function to obtain statistics for the given paramId and paramType
This function makes a SYNCHRONOUS request so that the next poll will only happen after the previous poll has returned.