渠道商一键备案API接口
接口地址:http://bkapi.com/api/RegisterRtag
返回格式:json
请求方式:get
请求示例:http://bkapi.com/api/RegisterRtag?appkey=登录个人中心查看&invitercode=xxxxx&rtag=1231313
请求方法
参数 | 是否必须 | 参数类型 | 说明 |
---|---|---|---|
appkey | 必填 | String | 登录后个人中心查看 |
invitercode | 必填 | String | 渠道邀请码 |
rtag | 必填 | Number | 自定义输入串,英文和数字组成,长度不能大于30个字符 |
响应参数:
参数 | 类型 | 示例值 | 说明 |
---|---|---|---|
url | String | https://mos.m.taobao.com/inviter/register?inviterCode=******&src=pub&app=common&rtag=xxx | 渠道链接授权 |
tpwd | String | xxxx | 渠道链接授权生成的口令 |
rtag | String | xxxx | 为保证rtag唯一性,rtag为平台处理后的内容,最后一段为传入数据 |
响应示例
{
"Url": "https://mos.m.taobao.com/inviter/register?inviterCode=xxxxx&src=pub&app=common&rtag=xxxxx_xxxxx_xxxxx",
"Tpwd": "67¥ CZ193 BeGE1¥ https://m.tb.cn/h.6saaaaB 点击“打开”查看并浏览页面详情,精选商品任您选购",
"Rtag": "xxxxx_xxxxx_xxxxx"
}
code说明
code | 说明 |
---|---|
400 | appkey错误 |