taobao.mos.taxi.order.query (查询喵街打车订单信息)

查询喵街打车订单信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
isv_taxi_order_query IsvTaxiOrderQueryDto 可选 请求参数
  • └ order_id
  • String
  • 必须
  • 1234567
  • 订单id
  • └ channel_code
  • String
  • 必须
  • XD
  • 渠道编号

响应参数

名称 类型 示例值 描述
result SingleResult 返回结果
  • data
  • TaxiOrderResultDto
  • 返回的数据
  • start_taxi_locations
  • TaxiLocationDto []
  • 西湖银泰东门
  • 开始打车的位置
  • └ location_name
  • String
  • 西湖银泰东门
  • 开始打车的位置名称
  • └ latitude
  • String
  • 116.397128
  • 开始打车位置的经度
  • └ longitude
  • String
  • 116.397128
  • 开始打车位置的纬度
  • end_taxi_locations
  • TaxiLocationDto []
  • 武林银泰A馆
  • 结束打车的位置
  • └ location_name
  • String
  • 武林银泰A馆
  • 结束打车的位置名称
  • └ latitude
  • String
  • 116.397128
  • 结束打车的位置经度
  • └ longitude
  • String
  • 116.397128
  • 结束打车的位置纬度
  • └ order_status
  • Number
  • 10
  • 状态,10-预创建,100-派单中,101-无司机应答,102-司机接单,103-司机出发,104-司机到达,105-乘客上车,106-行程结束,107-司机取消后无改派,108-司机取消后有改派,109-乘客取消行程,110-平台取消行程,111-取消待支付,112-支付成功
  • └ order_type
  • Number
  • 1
  • 订单类型 1-打车送回 2-邀约到店 31-打车上班 32-打车下班
  • └ user_mobile
  • String
  • 13434232345
  • 打车人的手机号码
  • └ order_id
  • String
  • 1234567
  • 订单id
  • └ channel_code
  • String
  • XD
  • 渠道编号
  • └ passenger_taxi_mobile
  • String
  • 13434232345
  • 乘车人手机号码
  • └ success
  • String
  • true
  • 是否成功
  • └ err_message
  • String
  • 错误信息
  • └ err_code
  • String
  • 错误码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
MosTaxiOrderQueryRequest req = new MosTaxiOrderQueryRequest();
MosTaxiOrderQueryRequest.IsvTaxiOrderQueryDto obj1 = new MosTaxiOrderQueryRequest.IsvTaxiOrderQueryDto();
obj1.setOrderId("1234567");
obj1.setChannelCode("XD");
req.setIsvTaxiOrderQuery(obj1);
MosTaxiOrderQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<mos_taxi_order_query_response>
    <result>
        <data>
            <start_taxi_locations>
                <taxi_location_dto>
                    <location_name>西湖银泰东门</location_name>
                    <latitude>116.397128</latitude>
                    <longitude>116.397128</longitude>
                </taxi_location_dto>
            </start_taxi_locations>
            <end_taxi_locations>
                <taxi_location_dto>
                    <location_name>武林银泰A馆</location_name>
                    <latitude>116.397128</latitude>
                    <longitude>116.397128</longitude>
                </taxi_location_dto>
            </end_taxi_locations>
            <order_status>10</order_status>
            <order_type>1</order_type>
            <user_mobile>13434232345</user_mobile>
            <order_id>1234567</order_id>
            <channel_code>XD</channel_code>
            <passenger_taxi_mobile>13434232345</passenger_taxi_mobile>
        </data>
        <success>true</success>
        <err_message></err_message>
        <err_code></err_code>
    </result>
</mos_taxi_order_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

返回
顶部