文档中心 > API类目 > 旅行用车API

qimen.alitrip.rentcar.storevehicle.query (门店车辆信息拉取)

商品库拉取信息-车辆信息拉取;飞猪定期根据供应商门店code分批调用此接口拉取供应商所有门店车型下的车辆信息;此数据获取的数据会被当做静态数据,在报价搜索请求时展示。

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
searchReq SearchReq 必须 筛选条件
  • └ storeCodeList
  • String []
  • 必须
  • 门店列表
traceId String 必须 215045d716776565095286972e11b4 traceId

响应参数

名称 类型 示例值 描述
searchResp SearchResp 搜索返回结果 搜索返回结果
  • storeVehicleInfoList
  • StoreVehicleInfo []
  • 门店车辆信息列表
  • └ storeCode
  • String
  • 1231
  • 必传,供应商门店Code
  • └ vehicleModelCode
  • String
  • 21421
  • 必传,供应商车型组Code
  • └ vehicleCode
  • String
  • 412412
  • 必传,供应商车辆Code
  • └ status
  • Number
  • 1
  • 必传,车辆状态,1-上架,2-下架
  • └ diffStore
  • Boolean
  • true
  • 必传,是否支持异地还车,true-启用,false-禁用
  • └ currentMileage
  • Number
  • 1000
  • 必传,车辆当前里程数,整数,单位km
  • vehicleRegistrationCertificate
  • VehicleRegistrationCertificate
  • 行驶证信息
  • └ ascriptionCountry
  • String
  • 车牌号省的简称
  • └ ascriptionCity
  • String
  • A
  • 各地级市字母代码
  • └ registrationNumber
  • String
  • 1677
  • 车牌号
  • └ vin
  • String
  • 34324234343242322
  • 车架号,车辆识别号
  • └ engineNumber
  • String
  • 12341
  • 发动机号
  • └ registrationDate
  • String
  • 2023-03-03
  • 行驶证注册日期,格式yyyy-MM-dd
  • inspectionCertificate
  • InspectionCertificate
  • 校验合格证
  • └ inspectionExpirationDate
  • String
  • 2028-01-01
  • 年检到期日期,格式yyyy-MM-dd
  • insuranceInfoList
  • InsuranceInfo []
  • 保险单信息
  • └ insuranceType
  • Number
  • 1
  • 保险单类型,1-商业保险单,2-强险保险单
  • └ insuranceNumber
  • String
  • 00000000000002
  • 保险单号
  • └ insuranceIdentityCard
  • String
  • 123123182321312931
  • 投保使用证件号
  • └ insuranceExpirationDate
  • String
  • 2029-03-03
  • 保险到期日期,格式yyyy-MM-dd
success Boolean true 是否成功
retCode String 1001 错误码
retMessage String 错误信息 错误信息

请求示例

{"traceId":"215045d716776565095286972e11b4","searchReq":{"storeCodeList":[""]}}

响应示例

{
    "searchResp":{
        "storeVehicleInfoList":[
            {
                    "storeCode":"1231",
                    "vehicleModelCode":"21421",
                    "vehicleCode":"412412",
                    "status":1,
                    "diffStore":true,
                    "currentMileage":1000,
                    "vehicleRegistrationCertificate":{
                        "ascriptionCountry":"粤",
                        "ascriptionCity":"A",
                        "registrationNumber":"1677",
                        "vin":"34324234343242322",
                        "engineNumber":"12341",
                        "registrationDate":"2023-03-03"
                    },
                    "inspectionCertificate":{
                        "inspectionExpirationDate":"2028-01-01"
                    },
                    "insuranceInfoList":[
                        {
                                "insuranceType":1,
                                "insuranceNumber":"00000000000002",
                                "insuranceIdentityCard":"123123182321312931",
                                "insuranceExpirationDate":"2029-03-03"
                        }
                    ]
            }
        ]
    },
    "success":true,
    "retCode":"1001",
    "retMessage":"错误信息"
}

验签示例

{"success":"false","retMessage":"Illegal request","retCode":"sign-check-failure"}

错误码解释

错误码 错误描述 解决方案

API工具

FAQ

返回
顶部