taobao.taojie.parking.parkedlocation.get (查询车辆所在的车位信息)

查询车辆所在的车位信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
mj_parking_location_get_dto MjParkingLocationGetDTO 可选 请求参数
  • └ car_no
  • String
  • 必须
  • 浙A123456
  • 车牌号
  • └ park_id
  • String
  • 必须
  • p123456
  • 停车场id

响应参数

名称 类型 示例值 描述
result ParkBaseResult 返回参数
  • └ code
  • String
  • 200
  • 状态码
  • └ success
  • Boolean
  • true
  • 判断业务是否成功
  • model
  • MjParkingLocationDTO
  • 车辆所在的车位信息
  • └ car_no
  • String
  • 浙A123456
  • 车牌号
  • └ park_id
  • String
  • p123456
  • 停车场id
  • └ floor_num
  • String
  • B1
  • 楼层号
  • └ section_id
  • String
  • E
  • 分区号
  • └ slot_code
  • String
  • B1-E-205
  • 车位编号,要求全车场唯一
  • └ enter_time
  • String
  • 2022-01-11 10:10:10
  • 进入车位的时间
  • └ picture_url
  • String
  • http://122.224.250.39:7080/ParkInner//20220126/
  • 图片url
  • └ message
  • String
  • 成功
  • 提示信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TaojieParkingParkedlocationGetRequest req = new TaojieParkingParkedlocationGetRequest();
TaojieParkingParkedlocationGetRequest.MjParkingLocationGetDTO obj1 = new TaojieParkingParkedlocationGetRequest.MjParkingLocationGetDTO();
obj1.setCarNo("浙A123456");
obj1.setParkId("p123456");
req.setMjParkingLocationGetDto(obj1);
TaojieParkingParkedlocationGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<taojie_parking_parkedlocation_get_response>
    <result>
        <code>200</code>
        <success>true</success>
        <model>
            <car_no>浙A123456</car_no>
            <park_id>p123456</park_id>
            <floor_num>B1</floor_num>
            <section_id>E</section_id>
            <slot_code>B1-E-205</slot_code>
            <enter_time>2022-01-11 10:10:10</enter_time>
            <picture_url>http://122.224.250.39:7080/ParkInner//20220126/</picture_url>
        </model>
        <message>成功</message>
    </result>
</taojie_parking_parkedlocation_get_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

返回
顶部