The GetTemperature Miniservice is used to retrieve Temperature and Humidity values stored in a certain interval of time. It takes as input parameter a date (and a time) and returns all the values stored in the database for the specific object
PCC
This value represents the unique identifier assigned to the IoT object. It is released at configuration time by the IoT certification authority.
It is well known as "device name" (Letteral 3 or 4 chars) and to obtain it you can use the
IoT Manager web app or request it via Email
LATEST
This value is used to indicate to the platform that you want the latest set of values returned by the sensor (the youngest). If the value of this parameter is 1 then the array of values entered during the latest day is returned. Otherwise the api returns a set of values included in the range represented by parameters INDATE and OUTDATE
Please note that using this parameter set to 1, the parameters named INDATE and OUTDATE are not considered by the function.
INDATE
This is a date time value and must contain a valid date format followed by a specific time format. The generic date format to use is: YYYY-MM-DD HH:MM:SS. For example if you want to retrieve data starting from 10 December 2018 at 9:00 in the morning you should adopt the following format: 2018-12-10%2009:00:00
OUTDATE
This is the end value of the date interval to use to get temperature information from the Buonevacanze DB. As for the previous parameer the date format should be: YYYY-MM-DD HH:MM:SS
http://www.buonevacanze.org/approver/GetTemperature.aspx?PCC=0002&LATEST=0&INDATE=2017-12-23%2000:00:00.513&OUTDATE=2017-12-23%2023:59:00