文档中心 > API类目 > 大麦票务云分销API

alibaba.damai.maitix.distribution.exchangepoint.query (分销查询取票点接口)

分销查询取票点接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
project_id Number 可选 123 必填-项目id

响应参数

名称 类型 示例值 描述
result OpenResult 返回结果
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ error_code
  • String
  • 500
  • 错误码
  • model_list
  • OpenExchangePointDto []
  • 结果
  • └ point_id
  • Number
  • 123
  • 换票点id
  • └ point_name
  • String
  • 北京望京取票点
  • 换票点名称
  • └ point_addr
  • String
  • 北京望京街道1号
  • 详细地址
  • └ longitude
  • String
  • 12
  • 经度
  • └ latitude
  • String
  • 12
  • 纬度
  • └ biz_time_show
  • String
  • 早9点至晚9点
  • 营业时间描述
  • └ remark
  • String
  • 备注
  • 提示信息备注
  • └ point_type
  • String
  • 2
  • 类型 1临时换票点 2固定换票点
  • └ exchange_type
  • String
  • 2
  • 换票形式 1 pc 2 自助机
  • └ valid_period
  • String
  • 永久
  • 有效期

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiMaitixDistributionExchangepointQueryRequest req = new AlibabaDamaiMaitixDistributionExchangepointQueryRequest();
req.setProjectId(123L);
AlibabaDamaiMaitixDistributionExchangepointQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_damai_maitix_distribution_exchangepoint_query_response>
    <result>
        <success>true</success>
        <error_code>500</error_code>
        <model_list>
            <open_exchange_point_dto>
                <point_id>123</point_id>
                <point_name>北京望京取票点</point_name>
                <point_addr>北京望京街道1号</point_addr>
                <longitude>12</longitude>
                <latitude>12</latitude>
                <biz_time_show>早9点至晚9点</biz_time_show>
                <remark>备注</remark>
                <point_type>2</point_type>
                <exchange_type>2</exchange_type>
                <valid_period>永久</valid_period>
            </open_exchange_point_dto>
        </model_list>
    </result>
</alibaba_damai_maitix_distribution_exchangepoint_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

返回
顶部