本地联盟饿了么推广官方活动查询
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
query_request | ActivityRequest | 必须 | 查询rquest | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
data | ActivityPromotionDto | {} | 活动数据 |
|
|||
result_code | Number | 0 | 返回码 |
message | String | success | 返回消息 |
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | < alibaba_alsc_union_eleme_promotion_officialactivity_get_response > < data > < id >10124</ id > < title >饿了么xxx</ title > < description >下单xxxxx</ description > < start_time >1638374400</ start_time > < end_time >1673107200</ end_time > < link > < wx_appid >wxxxxxxxx</ wx_appid > < wx_path >xxxxx</ wx_path > < picture >xxx</ picture > < h5_short_link >xxxx</ h5_short_link > < eleme_word >xxx</ eleme_word > < taobao_word >xxxxx</ taobao_word > < full_taobao_word >xxxxx</ full_taobao_word > < h5_promotion > </ h5_promotion > < taobao_promotion > < app_id >22xxa</ app_id > < app_path >bdlm/pages</ app_path > < 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 > < reduce_wx_app_id >123</ reduce_wx_app_id > < reduce_wx_path >bdlm/pages/guide/index?</ reduce_wx_path > < 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_watchword >23a</ alipay_watchword > < alipay_watchword_suggest >dafdsa2</ alipay_watchword_suggest > < 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 > |
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 > |
错误码 | 错误描述 | 解决方案 |
---|