携程租车API查询

携程租车API查询

1) 请求地址

https://m.ctrip.com/restapi/soa2/13617/searchVehicleList

2) 调用方式:HTTP POST

3) 接口描述:

  • 接口描述详情

4) 请求参数:

{
    "heads": {
        "serviceFrom": "c_online",
        "channel": "2",
        "alliance": {
            "id": "4897",
            "sid": "2643841"
        },
        "union": {
            "allianceid": "4897",
            "sid": "2643841",
            "ouid": "",
            "click_time": "1598493806049",
            "click_url": "https%3A%2F%2Fflights.ctrip.com%2Finternational%2Fsearch%2Fdomestic%3Fallianceid%3D4897%26sid%3D2643841%26utm_medium%3Dbaidu%26utm_campaign%3Dty%26utm_source%3Dbaiduppc%26bd_vid%3D11865632912535253552%26keywordid%3D2377220099",
            "ext_value": "{\"pc_vid\":\"1598422883590.ap2t\"}"
        }
    },
    "carhead": {
        "serviceFrom": "c_online",
        "channel": "2",
        "alliance": {
            "id": "4897",
            "sid": "2643841"
        },
        "union": {
            "allianceid": "4897",
            "sid": "2643841",
            "ouid": "",
            "click_time": "1598493806049",
            "click_url": "https%3A%2F%2Fflights.ctrip.com%2Finternational%2Fsearch%2Fdomestic%3Fallianceid%3D4897%26sid%3D2643841%26utm_medium%3Dbaidu%26utm_campaign%3Dty%26utm_source%3Dbaiduppc%26bd_vid%3D11865632912535253552%26keywordid%3D2377220099",
            "ext_value": "{\"pc_vid\":\"1598422883590.ap2t\"}"
        }
    },
    "head": {
        "cid": "",
        "ctok": "",
        "cver": "",
        "lang": "",
        "sauth": "",
        "sid": "2643841",
        "syscode": ""
    },
    "cVer": "19.07.22",
    "ptime": "2020/08/28 10:00:00",
    "rtime": "2020/08/30 10:00:00",
    "pinfo": {
        "addr": "虹桥机场T2航站楼",
        "lat": 31.193274,
        "lng": 121.326276,
        "cid": 2,
        "cname": "上海"
    },
    "rinfo": {
        "addr": "虹桥机场T2航站楼",
        "lat": 31.193274,
        "lng": 121.326276,
        "cid": 2,
        "cname": "上海"
    },
    "userGrade": 0,
    "channel": 0,
    "areatype": 1,
    "sf": "c_pc",
    "pickupondoor": 0,
    "pickoffondoor": 0,
    "vid": "",
    "wlver": ""
}

POST参数:

字段名称字段说明类型必填备注
0 stringY-
1 stringY-
2 stringY-
3 stringY-
4 stringY-
5 stringY-
6 stringY-
7 stringY-
8 stringY-
9 stringY-
10 stringY-
11 stringY-
12 stringY-
13 stringY-
14 stringY-
15 stringY-
16 stringY-
17 stringY-
18 stringY-
19 stringY-
20 stringY-
21 stringY-
22 stringY-
23 stringY-
24 stringY-
25 stringY-
26 stringY-
27 stringY-
28 stringY-
29 stringY-
30 stringY-
31 stringY-
32 stringY-
33 stringY-
34 stringY-
35 stringY-

5) 请求返回结果:

{
    "code": "-1",
    "msg": "取还车位置错误",
    "rfexpend": null,
    "spexpend": null,
    "hitcache": null,
    "pinfo": null,
    "rinfo": null,
    "filter": null,
    "vfilter": null,
    "lfilter": null,
    "vendor": null,
    "store": null,
    "plist": null,
    "labelmapping": null,
    "recommend": null,
    "encourage": null,
    "bargainDesc": null,
    "bvehicles": null,
    "simpleList": null,
    "rentcenter": null,
    "activityTips": null,
    "responseStatus": {
        "Timestamp": "/Date(1598494884022+0800)/",
        "Ack": "Success",
        "Errors": [],
        "Build": null,
        "Version": null,
        "Extension": [
            {
                "Id": "CLOGGING_TRACE_ID",
                "Version": null,
                "ContentType": null,
                "Value": "2332591638362534800"
            },
            {
                "Id": "RootMessageId",
                "Version": null,
                "ContentType": null,
                "Value": "100025527-0a3c0a57-444026-4454258"
            }
        ]
    }
}

6) 请求返回结果参数说明:

字段名称字段说明类型必填备注
code stringY-
msg stringY-
rfexpend stringY-
spexpend stringY-
hitcache stringY-
pinfo stringY-
rinfo stringY-
filter stringY-
vfilter stringY-
lfilter stringY-
vendor stringY-
store stringY-
plist stringY-
labelmapping stringY-
recommend stringY-
encourage stringY-
bargainDesc stringY-
bvehicles stringY-
simpleList stringY-
rentcenter stringY-
activityTips stringY-
responseStatus stringY-
Timestamp stringY-
Ack stringY-
Errors stringY-
Build stringY-
Version stringY-
Extension stringY-
Id stringY-
ContentType stringY-
Value stringY-
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序007

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值