What I want is to get push notifications from the cloud when a device’s attributes are changed. For example, I have a SafePlug in my ZigBee network and my java program wants to get push notification when a receptacle of the SafePlug becomes ON or OFF.
According to [the programming guide](http://ftp1.digi.com/support/documentation/html/90002008/90002008_R/Default.htm#Programming Topics/Monitor.htm#SupportedMonitorTopics%3FTocPath%3DDevice%2520Cloud%2520Programming%2520Guide%7CMonitor%7C_____2),
it seems the program needs to create a monitor with XbeeAttributeDataCore monitor topic to track the attribute changes.
To do this, I sent the following XML to https://login.etherios.com/ws/Monitor. But the cloud responds 400 (bad request).
Odd thing is that when I create a monitor with ‘DeviceCore’ or ‘XbeeCore’ the cloud responds 201 (created) along with a monitor ID.
Response from the cloud
What am I missing here?