接口说明

  1. 获取当前城市的开通的所有车型

地址URL

https:// <SQYC_DOMAIN>/carapi/partner/carpool/getGroupList

请求方式

POST

请求参数

名称 类型 是否必选 说明
cityId string yes 城市id
sign string yes 参考sign算法
channel string yes 渠道名称,首汽提供
serviceId string yes 服务类型(城际拼车68),参考服务类型
carpoolType int 拼车类型(1: 室内拼车, 2:城际拼车)默认1

返回数据

名称 类型 说明
result Integer 0:成功非0 :失败原因编号
errmsg string 失败原因描述,若成功则值为空
data object 参考返回

返回示例

{
    "result": 0,
    "errmsg": "SUCCESS",
    "data": [
        {
            "68": [
                {
                    "imgUrl": "https://test-passenger.01zhuanche.com/car-rest/images/6.0/haohuache@2x.png",
                    "selectedImgUrlNew": "https://test-www-api-img.01zhuanche.com/public/ba/3d/4749adb913a6e08f4391e8d903ae/47649.png",
                    "selectedImgUrl": "https://test-passenger.01zhuanche.com/car-rest/images/6.0/haohuache@2x.png",
                    "name": "舒适型",
                    "id": 34,
                    "unSelectedImgUrlNew": "https://test-www-api-img.01zhuanche.com/public/77/d3/a7e7ef6967723e66a296bb94cc2e/47648.png"
                },
                {
                    "imgUrl": "https://test-passenger.01zhuanche.com/car-rest/images/business_us_3x.png",
                    "selectedImgUrlNew": "https://test-www-api-img.01zhuanche.com/public/e5/8a/710561d2841bbe6f99df0113a818/47665.png",
                    "selectedImgUrl": "https://test-passenger.01zhuanche.com/car-rest/images/business_us_3x.png",
                    "name": "商务7座",
                    "id": 35,
                    "unSelectedImgUrlNew": "https://test-www-api-img.01zhuanche.com/public/95/34/5799f982ff5ba10930c9e397f79a/47664.png"
                }
            ]
        }
    ]
}
Copyright © 首约科技(北京)有限公司 2020 all right reserved,powered by Gitbook该文件修订时间: 2024-09-10 08:31:45

results matching ""

    No results matching ""