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

alibaba.damai.maitix.sponsor.distribution.getcreatingorderstatus (获取订单状态)

获取订单状态

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
get_creating_order_status_param GetCreatingOrderStatusParam 可选 入参
  • └ app_key
  • String
  • 必须
  • 22354565656
  • 订单id
  • └ key
  • String
  • 必须
  • afeasdfasdfa
  • key

响应参数

名称 类型 示例值 描述
result MxResult 结果
  • └ code
  • Number
  • 200
  • 错误码
  • └ success
  • Boolean
  • true
  • 是否成功
  • model
  • OrderStatusResponse
  • 结果
  • └ oid
  • Number
  • 22020220
  • 订单id
  • └ voucher_ids
  • Number []
  • 订单id列表
  • seat_info_dto
  • SeatInfoDTO
  • www.baidu.com
  • 座位信息
  • └ seat_ids
  • String []
  • 全部座位
  • └ success_seat_ids
  • String []
  • 成功座位id集合
  • └ fail_seat_ids
  • String []
  • 失败座位集合
  • └ sell_seat_for_fail
  • String
  • 预留已售出
  • 预留座位已售
  • └ card_no_repeat_for_fail
  • String
  • cardNoRepeatForFail
  • 一票一证重复记录
  • └ code
  • Number
  • 200
  • 结果值
  • └ err_code
  • String
  • 300
  • 错误码
  • └ err_msg
  • String
  • 接口错误
  • 错误信息
  • └ message
  • String
  • 成功
  • 结果信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaDamaiMaitixSponsorDistributionGetcreatingorderstatusRequest req = new AlibabaDamaiMaitixSponsorDistributionGetcreatingorderstatusRequest();
AlibabaDamaiMaitixSponsorDistributionGetcreatingorderstatusRequest.GetCreatingOrderStatusParam obj1 = new AlibabaDamaiMaitixSponsorDistributionGetcreatingorderstatusRequest.GetCreatingOrderStatusParam();
obj1.setAppKey("22354565656");
obj1.setKey("afeasdfasdfa");
req.setGetCreatingOrderStatusParam(obj1);
AlibabaDamaiMaitixSponsorDistributionGetcreatingorderstatusResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_damai_maitix_sponsor_distribution_getcreatingorderstatus_response>
    <result>
        <code>200</code>
        <success>true</success>
        <model>
            <oid>22020220</oid>
            <seat_info_dto>
                <sell_seat_for_fail>预留已售出</sell_seat_for_fail>
                <card_no_repeat_for_fail>cardNoRepeatForFail</card_no_repeat_for_fail>
            </seat_info_dto>
            <code>200</code>
            <err_code>300</err_code>
            <err_msg>接口错误</err_msg>
        </model>
        <message>成功</message>
    </result>
</alibaba_damai_maitix_sponsor_distribution_getcreatingorderstatus_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

返回
顶部