This method will return the attributes that you have defined on the IoTConnect Template. If you have to define temperature and humidity, you will receive below JSON from this method.
Javascript
iotConnectSDK.getAttributes(function(response) { console.log("Attributed :: "+ response); });
Java SDK
ioTConnectSDK.getAttributesList();
DOT NET (C#)
List<Attributes> attributeList = client.GetAttributes();
Android
public void attributeData(final List attributesBeanList) { }
Python
sdk.GetAttributes()