文档中心 > API类目 > 本地生活联盟平台-饿了么单店推广API

alibaba.alsc.union.eleme.storepromotion.reviewbwc.bind.link.get (本地联盟饿了么评价有身份绑定)

本地联盟饿了么评价有身份绑定

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
query_request ReviewBwcSidBindLinkRequest 必须 查询rquest
  • └ pid
  • String
  • 必须
  • alsc_123_131_1313
  • 推广位
  • └ sid
  • String
  • 必须
  • 1313
  • 会员ID
  • └ activity_id
  • String
  • 必须
  • 1131
  • 活动ID

响应参数

名称 类型 示例值 描述
data ReviewBwcSidBindLinkResult 数据
  • └ wx_appid
  • String
  • wxxxxxxxx
  • 微信小程序appId
  • └ wx_path
  • String
  • xxxxx
  • 微信小程序path链接
result_code Number 0 返回码
message String success 返回消息
error_message String xxx不正确 错误消息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
1
2
3
4
5
6
7
8
9
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlscUnionElemeStorepromotionReviewbwcBindLinkGetRequest req = new AlibabaAlscUnionElemeStorepromotionReviewbwcBindLinkGetRequest();
AlibabaAlscUnionElemeStorepromotionReviewbwcBindLinkGetRequest.ReviewBwcSidBindLinkRequest obj1 = new AlibabaAlscUnionElemeStorepromotionReviewbwcBindLinkGetRequest.ReviewBwcSidBindLinkRequest();
obj1.setPid("alsc_123_131_1313");
obj1.setSid("1313");
obj1.setActivityId("1131");
req.setQueryRequest(obj1);
AlibabaAlscUnionElemeStorepromotionReviewbwcBindLinkGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
1
2
3
4
5
6
7
8
9
<alibaba_alsc_union_eleme_storepromotion_reviewbwc_bind_link_get_response>
    <data>
        <wx_appid>wxxxxxxxx</wx_appid>
        <wx_path>xxxxx</wx_path>
    </data>
    <result_code>0</result_code>
    <message>success</message>
    <error_message>xxx不正确</error_message>
</alibaba_alsc_union_eleme_storepromotion_reviewbwc_bind_link_get_response>

异常示例

  • XML示例
  • JSON示例
1
2
3
4
5
6
<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

返回
顶部