PushMessageToiOS
描述
推送消息给iOS。
[backcolor=transparent]注:该接口默认只发送给在线设备,要发送离线保存消息请用
推送高级接口。
请求参数
响应参数
错误码
示例
请求示例
- [backcolor=transparent]http[backcolor=transparent]:[backcolor=transparent]//cloudpush.aliyuncs.com/?Action=PushMessageToiOS
- [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]title
- [backcolor=transparent]&[backcolor=transparent]Body[backcolor=transparent]=[backcolor=transparent]body
- [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]<PushMessageToiOSResponse>
- [backcolor=transparent] [backcolor=transparent]<RequestId>[backcolor=transparent]9998B3CC-ED9E-4CB3-A8FB-DCC61296BFBC[backcolor=transparent]</RequestId>
- [backcolor=transparent] [backcolor=transparent]<MessageId>[backcolor=transparent]501029[backcolor=transparent]</MessageId>
- [backcolor=transparent]</PushMessageToiOSResponse>
JSON格式
- [backcolor=transparent]{
- [backcolor=transparent] [backcolor=transparent]"RequestId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"9998B3CC-ED9E-4CB3-A8FB-DCC61296BFBC"[backcolor=transparent],
- [backcolor=transparent] [backcolor=transparent]"MessageId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"501029"
- [backcolor=transparent]}