5. 绑定设备pushId.md 1.31 KB

/* Title: 5.1 绑定设备pushId Sort: 50 */

URL: http://api.cnlive.com/open/api/CnliveMobile/user/updatePushId?sp_id=xxx&...


请求方式: POST


返回格式: JSON


请求参数说明:

参数 必选 类型 说明
sp_id true string 服务提供商ID
type true string 推送类型(0-友盟,1-个推,2-Jpush)
pushid true string 推送ID
uuid true string 设备ID
plat true string 客户端平台[i:IOS客户端,a:Android客户端]
sign true string 签名

返回格式说明:

{
    errorCode:"0",
    errorMsg:"成功"
}
{
    errorCode:"xxx",   //错误代码(非0)
    errorMsg:"失败"   //错误信息
}