感谢您的反馈!
根据offer的ID查询offer信息
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| tenant_key | String | 必须 | 1234 | 租户身份信息 | |
| offer_ids | String | 必须 | 98 | offer活动ID | |
| offer_channel | String | 可选 | PC |
|
渠道来源 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | Response | 默认描述 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripMerchantGalaxyOfferQueryRequest req = new AlitripMerchantGalaxyOfferQueryRequest();
req.setTenantKey("1234");
req.setOfferIds("98");
req.setOfferChannel("PC");
AlitripMerchantGalaxyOfferQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alitrip_merchant_galaxy_offer_query_response>
<result>
<success>true</success>
<error_code>null</error_code>
<offers>
<offer_details_dto>
<offer_id>555</offer_id>
<hotel_content_list>
<hotel_content_dto>
<hotel_id>521</hotel_id>
<hotel_intro>1</hotel_intro>
<hotel_phone>1</hotel_phone>
<picture_url>1</picture_url>
<position_type>1</position_type>
<latitude>1</latitude>
<longitude>1</longitude>
<address>1</address>
<hotel_name>1</hotel_name>
<shid>1</shid>
<city_cn>1</city_cn>
<city_code>1</city_code>
<city_py_head>1</city_py_head>
</hotel_content_dto>
</hotel_content_list>
<offer_name>1</offer_name>
<subtitle>1</subtitle>
<book_start_date>1</book_start_date>
<book_end_date>1</book_end_date>
<from_price_unit>1</from_price_unit>
<offer_image_small>1</offer_image_small>
<offer_image_big>1</offer_image_big>
<description>1</description>
<join_brands>
<join_brand_dto>
<brand_logo>1</brand_logo>
<logo_redirect_url>1</logo_redirect_url>
</join_brand_dto>
</join_brands>
<offer_redirect_url>1</offer_redirect_url>
<from_price_amount>1</from_price_amount>
<time_zone>1</time_zone>
<offer_type>1</offer_type>
<cl_end_date>1</cl_end_date>
<cl_start_date>1</cl_start_date>
<sub_type>1</sub_type>
<offer_image_wireless>
<string></string>
</offer_image_wireless>
<activity_lucky_draw>
<un_winning_images>demo</un_winning_images>
<activity_goods_list>
<activity_goods_list>
<image>https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/room/7126/53304130/O1CN01yl9cNd22OQgLNgPTz_%21%216000000007110-0-hotel.jpg</image>
<name>雅高抽奖奖品</name>
<id>11</id>
</activity_goods_list>
</activity_goods_list>
<prize_displays>
<prize_display>
<name>奖品展示</name>
<image>https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/room/7126/53304130/O1CN01yl9cNd22OQgLNgPTz_%21%216000000007110-0-hotel.jpg</image>
</prize_display>
</prize_displays>
</activity_lucky_draw>
<pop_up_info>
<pop_up_url>https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/room/7126/53304130/O1CN01yl9cNd22OQgLNgPTz_%21%216000000007110-0-hotel.jpg</pop_up_url>
<pop_up_redirect_url>https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/room/7126/53304130/O1CN01yl9cNd22OQgLNgPTz_%21%216000000007110-0-hotel.jpg</pop_up_redirect_url>
</pop_up_info>
<need_activity_page>true</need_activity_page>
<need_pop_up_screen>true</need_pop_up_screen>
<button_content>按钮文案</button_content>
</offer_details_dto>
</offers>
<error_msg>1</error_msg>
</result>
</alitrip_merchant_galaxy_offer_query_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|