Page History

Recordpushid

Last edited by 国亚奇

返回

更新PushId


URL: https://mobile.cnlive.com/CnliveMobile/user/updatePushId.action?spId=xxx&token=xxx


请求方式: HTTP POST


返回格式: JSON


版本:互动电视5.3开始

在APP安装后第一次能够获取该pushId时调用.

请求参数说明:

参数名 参数类型 必选 参数说明
spId String true 服务提供商
token String true 参数加密串
----plat String true 客户端平台
----uuid String true 设备ID
----pushId String true 推送ID
----type String true 推送类型(0 友盟,1 个推,2 Jpush)

返回格式说明:

{
    "errorCode": "0",
    "errorMsg": "成功"
}  
{
    "errorCode": "1",           //非0表示失败
    "errorMsg": "失败"
}