文档中心 > API类目 > 客户运营平台API

taobao.crm.member.joinurl.get (会员入会地址获取)

会员入会地址获取

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
callback_url String 可选 https://m.taobao.com 回调url
extra_info String 必须 {"source":"isvapp","activityId":"12345677","entrance":"hudong"} 扩展参数为JSON字符串,用于埋点统计,source为来源字段固定值 isvapp可录入的其他参数,活动ID:activityId三方招募来源:entrance

响应参数

名称 类型 示例值 描述
result Result result
  • └ total
  • Number
  • 0
  • total
  • └ result
  • String
  • //bvip.m.tmall.com/crm/member.htm
  • 返回入会地址URL,需自行判断协议头,如返回结果为//建议使用https://
  • └ error_code
  • Number
  • errorCode
  • └ error_msg
  • String
  • errorMsg
  • └ success
  • Boolean
  • true
  • success
  • └ exception_code
  • String
  • exceptionCode

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
CrmMemberJoinurlGetRequest req = new CrmMemberJoinurlGetRequest();
req.setCallbackUrl("https://m.taobao.com");
req.setExtraInfo("{\"source\":\"isvapp\",\"activityId\":\"12345677\",\"entrance\":\"hudong\"}");
CrmMemberJoinurlGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<crm_member_joinurl_get_response>
    <result>
        <total>0</total>
        <result>//bvip.m.tmall.com/crm/member.htm</result>
        <error_code></error_code>
        <error_msg></error_msg>
        <success>true</success>
        <exception_code></exception_code>
    </result>
</crm_member_joinurl_get_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部