文档中心 > API类目 > 飞猪-菲住联盟

alitrip.futurehotel.hamarket.merchant.activity.query (查询招商活动)

飞猪-菲住酒店联盟营销系统迁移查询招商活动

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
company_bussiness_id Number 可选 1234321 公司id
company_type Number 可选 1 公司类型

响应参数

名称 类型 示例值 描述
result QueryMerchantActivityInfoListResponse 返回result
  • └ fh_code
  • String
  • 请求返回code
  • └ fh_msg
  • String
  • 请求返回信息
  • └ fh_success
  • Boolean
  • 请求成功标识
  • merchant_activity_info_res_list
  • QueryMerchantActivityInfoRes []
  • 参加的招商活动列表
  • └ activity_desc
  • String
  • 活动描述
  • └ activity_id
  • Number
  • 活动id
  • └ activity_name
  • String
  • 活动名称
  • activity_use_images
  • ActivityUseImageHsfVo []
  • 活动通用图片
  • └ image_channel
  • Number
  • 图片渠道
  • └ image_use_type
  • Number
  • 图片使用场景
  • images
  • ActivitySaveImageHsfVo []
  • 具体图片列表
  • └ image_type
  • Number
  • 图片类型
  • └ image_url
  • String
  • 图片url
  • └ against
  • Number
  • 活动大类
  • └ auto_merchant
  • Number
  • 是否自动报名
  • └ desc
  • String
  • 描述
  • └ end_time
  • String
  • 结束时间
  • └ has_benefits
  • Number
  • 商家活动是否有权益
  • └ image_url
  • String
  • 活动图片
  • └ merchant_end_time
  • String
  • 招商结束时间
  • └ merchant_image
  • String
  • 招商图片
  • └ merchant_start_time
  • String
  • 招商开始时间
  • └ plat_to_merchant_desc
  • String
  • 商家活动规则说明
  • └ start_time
  • String
  • 开始时间

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripFuturehotelHamarketMerchantActivityQueryRequest req = new AlitripFuturehotelHamarketMerchantActivityQueryRequest();
req.setCompanyBussinessId(1234321L);
req.setCompanyType(1L);
AlitripFuturehotelHamarketMerchantActivityQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_futurehotel_hamarket_merchant_activity_query_response>
    <result>
        <fh_code></fh_code>
        <fh_msg></fh_msg>
        <fh_success></fh_success>
        <merchant_activity_info_res_list>
            <query_merchant_activity_info_res>
                <activity_desc></activity_desc>
                <activity_id></activity_id>
                <activity_name></activity_name>
                <activity_use_images>
                    <activity_use_image_hsf_vo>
                        <image_channel></image_channel>
                        <image_use_type></image_use_type>
                        <images>
                            <activity_save_image_hsf_vo>
                                <image_type></image_type>
                                <image_url></image_url>
                            </activity_save_image_hsf_vo>
                        </images>
                    </activity_use_image_hsf_vo>
                </activity_use_images>
                <against></against>
                <auto_merchant></auto_merchant>
                <desc></desc>
                <end_time></end_time>
                <has_benefits></has_benefits>
                <image_url></image_url>
                <merchant_end_time></merchant_end_time>
                <merchant_image></merchant_image>
                <merchant_start_time></merchant_start_time>
                <plat_to_merchant_desc></plat_to_merchant_desc>
                <start_time></start_time>
            </query_merchant_activity_info_res>
        </merchant_activity_info_res_list>
    </result>
</alitrip_futurehotel_hamarket_merchant_activity_query_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

返回
顶部