POST {DeviceStateURL}

设备状态通知请求 当设备在线状态发生变化时,将请求到开发者配置的回调地址

ÇëÇóÐÅÏ¢

URI²ÎÊý

ÎÞ

Body²ÎÊý

DeviceStateNotify
×Ö¶ÎÃû³ÆÃèÊöÀàÐÍÔ¼Êø
applicationId

应用的Id

string

num

设备机身号

string

type

设备类别,比如TC-U9D-H1

string

shortType

设备类别简写

string

productType

设备所属的产品类型

ProductType

createTime

状态变化的时间

date

isOnline

设备是否在线

boolean

ÇëÇó¸ñʽ

application/x-www-form-urlencoded

Àý×Ó:
applicationId=应用的Id&num=设备机身号&type=设备类别,比如TC-U9D-H1&shortType=设备类别简写&productType=0&createTime=01/01/0001 0:00:00&isOnline=false

ÏìÓ¦ÐÅÏ¢

Èç¹ûÏìӦΪ200µÄhttp״̬Â룬Ôò±íʾ´¦Àí³É¹¦

Èç¹ûÏìÓ¦²»ÊÇ200µÄhttp״̬Â룬Ôò±íʾ´¦Àíʧ°Ü

×î´ó֪ͨ´ÎÊý

×î´ó֪ͨ´ÎÊýΪ1´Î£¬²»¹ÜÏìÓ¦½á¹ûÈçºÎ£¬²»»á½øÐÐÔÙ´Î֪ͨ¡£

֪ͨ¹ýÆÚʱ¼ä

ÎÞ¹ýÆÚʱ¼ä