本地联盟饿了么推广官方活动查询
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| query_request | ActivityRequest | 必须 | 查询rquest | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| data | ActivityPromotionDto | {} | 活动数据 |
|
|||
| result_code | Number | 0 | 返回码 |
| message | String | success | 返回消息 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlscUnionElemePromotionOfficialactivityGetRequest req = new AlibabaAlscUnionElemePromotionOfficialactivityGetRequest();
AlibabaAlscUnionElemePromotionOfficialactivityGetRequest.ActivityRequest obj1 = new AlibabaAlscUnionElemePromotionOfficialactivityGetRequest.ActivityRequest();
obj1.setPid("alsc_xxx_xxx_xxx");
obj1.setActivityId("1");
obj1.setSid("1111");
obj1.setIncludeWxImg(true);
obj1.setIncludeQrCode(false);
obj1.setIncludeImage(false);
obj1.setIncludeWatchword(true);
req.setQueryRequest(obj1);
AlibabaAlscUnionElemePromotionOfficialactivityGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_alsc_union_eleme_promotion_officialactivity_get_response>
<data>
<id>10124</id>
<title>饿了么xxx</title>
<description>下单xxxxx</description>
<picture>https://xxxxx</picture>
<start_time>1638374400</start_time>
<end_time>1673107200</end_time>
<link>
<wx_appid>wxxxxxxxx</wx_appid>
<wx_path>xxxxx</wx_path>
<picture>xxx</picture>
<alipay_mini_url>alipays://platformapi/xxxx/xxx</alipay_mini_url>
<h5_url>https://tb.ele.me/wow/ixxxx/xxxx</h5_url>
<tb_qr_code>https://gw.alicdn.com/imgextra/xxxx</tb_qr_code>
<mini_qrcode>https://gw.alicdn.com/imgextra/xxxx</mini_qrcode>
<tb_mini_qrcode>https://gw.alicdn.com/imgextra/xxxx</tb_mini_qrcode>
<ele_scheme_url>https://tb.ele.me/wow/alsc/mod/c1474c7db25accb9axxxxxx</ele_scheme_url>
<h5_short_link>xxxx</h5_short_link>
<h5_mini_qrcode>https://gw.alicdn.com/imgextra/xxxx</h5_mini_qrcode>
<eleme_word>xxx</eleme_word>
<tb_scheme_url>tbopen://m.taobao.com/xxx</tb_scheme_url>
<taobao_word>xxxxx</taobao_word>
<full_taobao_word>xxxxx</full_taobao_word>
<h5_promotion>
<h5_url>http://xxx</h5_url>
<short_link>http://xxx</short_link>
<h5_qr_code>http://xxx</h5_qr_code>
<h5_img_url>http://xxx</h5_img_url>
<tj_h5_url>http://xxx</tj_h5_url>
</h5_promotion>
<taobao_promotion>
<h5_url>http://xxx</h5_url>
<h5_short_url>http://xxx</h5_short_url>
<tb_qr_code>http://xxx</tb_qr_code>
<img_url>http://xxx</img_url>
<app_id>22xxa</app_id>
<app_path>bdlm/pages</app_path>
<scheme_url>tbopen://m.taobao.com/tb</scheme_url>
<tb_watchword>xxx</tb_watchword>
<tb_watchword_suggest>xxx</tb_watchword_suggest>
</taobao_promotion>
<wx_promotion>
<wx_app_id>123</wx_app_id>
<wx_path>bdlm/pages/guide/index?</wx_path>
<wx_qr_code>http://xxx</wx_qr_code>
<img_url>http://xxx</img_url>
<reduce_wx_app_id>123</reduce_wx_app_id>
<reduce_wx_path>bdlm/pages/guide/index?</reduce_wx_path>
<reduce_wx_qr_code>http://xxx</reduce_wx_qr_code>
<reduce_img_url>http://xxx</reduce_img_url>
<h5_short_link>http://xxx</h5_short_link>
<market_wx_app_id>1232</market_wx_app_id>
<market_wx_app_path>bdlm/pages/guide/index?</market_wx_app_path>
</wx_promotion>
<alipay_promotion>
<app_id>23a</app_id>
<app_path>bdlm/pages/guide/xx</app_path>
<alipay_scheme_url>alipays://platformapi/star</alipay_scheme_url>
<h5_url>http://xxx</h5_url>
<alipay_watchword>23a</alipay_watchword>
<alipay_watchword_suggest>dafdsa2</alipay_watchword_suggest>
<img_url>http://xxx</img_url>
<alipay_qr_code>http://xxx</alipay_qr_code>
<short_link>http://xxx</short_link>
<h5_scheme_url>x</h5_scheme_url>
</alipay_promotion>
<app_promotion>
<deep_link>//deeplink</deep_link>
<eleme_word>a2d</eleme_word>
<word_valid_date>1792222</word_valid_date>
</app_promotion>
</link>
</data>
<result_code>0</result_code>
<message>success</message>
</alibaba_alsc_union_eleme_promotion_officialactivity_get_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|