PushNoticeToAndroid
描述
推送通知给Android。
[backcolor=transparent]注:该接口默认只发送给在线设备,要发送离线保存消息请用
推送高级接口。
请求参数
响应参数
错误码
对于所有接口的通用性错误,请参考
错误代码表。
示例
请求示例
- [backcolor=transparent]http[backcolor=transparent]:[backcolor=transparent]//cloudpush.aliyuncs.com/?Action=PushNoticeToAndroid
- [backcolor=transparent]&[backcolor=transparent]AppKey[backcolor=transparent]=[backcolor=transparent]23267207
- [backcolor=transparent]&[backcolor=transparent]Target[backcolor=transparent]=[backcolor=transparent]all[backcolor=transparent]&
- [backcolor=transparent]&[backcolor=transparent]TargetValue[backcolor=transparent]=[backcolor=transparent]all
- [backcolor=transparent]&[backcolor=transparent]Title[backcolor=transparent]=[backcolor=transparent]hello
- [backcolor=transparent]&[backcolor=transparent]Summary[backcolor=transparent]=[backcolor=transparent]hello
- [backcolor=transparent]&<公共请求参数>
返回示例
XML格式
- [backcolor=transparent]<?[backcolor=transparent]xml version[backcolor=transparent]=[backcolor=transparent]'1.0'[backcolor=transparent] encoding[backcolor=transparent]=[backcolor=transparent]'UTF-8'[backcolor=transparent]?>
- [backcolor=transparent]<PushNoticeToAndroidResponse>
- [backcolor=transparent] [backcolor=transparent]<ResponseId>[backcolor=transparent]129376928[backcolor=transparent]</ResponseId>
- [backcolor=transparent]</PushNoticeToAndroidResponse>
JSON格式
- [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"ResponseId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"129377184"
- [backcolor=transparent]}