Changes between Version 1 and Version 2 of pcauto_sdk_1.0.0/interface


Ignore:
Timestamp:
04/16/2015 11:00:11 AM (11 years ago)
Author:
lanzhenhua
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_sdk_1.0.0/interface

    v1 v2  
    11= 报价宝典SDK接口 = 
     2 
     31.1 车系综述 
     4 
     5mrobot请求url:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/pcauto_sdkv1.0/serial.xsp?v=1.1.0&areaId=3&isSubscribed=0&serialId=4313&modelIds= 
     6 
     7 
     8现应用接口: 
     9 
     10http://price.pcauto.com.cn/interface/iphone/atom/price/serial_group_basic_json.jsp?serialGroupId=4313  //车系概述基本数据 
     11http://price.pcauto.com.cn/interface/iphone/atom/price/model_list_by_sg_json.jsp?serialGroupId=4313     //车系概述最低价接口 
     12http://price.pcauto.com.cn/interface/iphone/serial_group_compete.jsp?serialGroupId=4313&size=3          //车系对比 
     13http://mall.pcauto.com.cn/autoMall/interface/auto_mall_gct_list_by_sg_json.jsp?regionId=3&serialId=4313  //判断是否有团购 
     14http://price.pcauto.com.cn/interface/iphone/atom/dealer/model_list_news_price_json.jsp?serialGroupId4313&rId=3    //车系概述列表接口 
     15http://price.pcauto.com.cn/interface/iphone/get_lower_modelPrice.jsp?rid=3&sid=4313)             //获取本地最低价 
     16http://price.pcauto.com.cn/interface/cms/region_400_json.jsp?rid=3)             //获取400电话 
     17http://price.pcauto.com.cn/dealer/interface/app/market_groupby_model_json.jsp?pageNo=1&pageSize=20&areaId=1  // 
     18 
     19HTTP请求方式:get  
     20是否需要登录:false  
     21返回格式:html  
     22缓存方式:  
     23缓存时间:60  
     24说明:  
     25请求参数: 
     26参数名     类型      必须      说明 
     27areaId  int     Y       地区ID 
     28serialId        int     Y       车系id 
     29isSubscribed    int     N       是否订阅 
     30modelId int     N       车型ID 
     31页面内数据说明:在返回的页面里添加了注释数据/*@_HTML_META_START_(数据部分)_HTML_META_END_@*/ 数据内容为: 
     32 
     33{ 
     34        "kind": "中型车", 
     35        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1408/11/c1/37285606_37285606_1407725980801_400x300.jpg", 
     36        "priceRange": "27.28~57.81万", 
     37        "cars": [{ 
     38                "title": " 1.8T 涡轮增压 160马力", 
     39                "data": [{ 
     40                        "id": "33318", 
     41                        "title": "2015款 1.8 30TFSI 手动舒适型", 
     42                        "price": "27.28", 
     43                        "config": "6挡手动 前置前驱 ", 
     44                        "state": "在售", 
     45                        "status": "在售", 
     46                        "isNews": "0", 
     47                        "rjBzzw": 5, 
     48                        "introduce": 0, 
     49                        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1409/17/c6/38686815_38686815_1410941571968_120x90.jpg", 
     50                        "minPrice": "23.77", 
     51                        "paiLiang": "1.8", 
     52                        "jqx": 950, 
     53                        "glassPercent": 0.0019, 
     54                        "compared": "", 
     55                        "result": { 
     56                                "shoufu": 7.13, 
     57                                "loan": 170000, 
     58                                "monthPay": 0.52, 
     59                                "firstPayTotal": 9.87, 
     60                                "loantotal": 28.7, 
     61                                "total": 26.87 
     62                        } 
     63                }, 
     64                { 
     65                        "id": "33320", 
     66                        "title": "2015款 1.8 30TFSI 自动舒适型", 
     67                        "price": "29.1", 
     68                        "config": "CVT无级变速(模拟8挡) 前置前驱 ", 
     69                        "state": "在售", 
     70                        "status": "在售", 
     71                        "isNews": "0", 
     72                        "rjBzzw": 5, 
     73                        "introduce": 0, 
     74                        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1407/03/c3/35925221_35925221_1404357427634_120x90.jpg", 
     75                        "minPrice": "25.6", 
     76                        "paiLiang": "1.8", 
     77                        "jqx": 950, 
     78                        "glassPercent": 0.0019, 
     79                        "compared": "", 
     80                        "result": { 
     81                                "shoufu": 7.68, 
     82                                "loan": 180000, 
     83                                "monthPay": 0.55, 
     84                                "firstPayTotal": 10.9, 
     85                                "loantotal": 30.84, 
     86                                "total": 28.9 
     87                        } 
     88                }] 
     89        }, 
     90        { 
     91                "title": " 2.0T 涡轮增压 179马力", 
     92                "data": [{ 
     93                        "id": "33313", 
     94                        "title": "2015款 2.0 35TFSI 自动标准型", 
     95                        "price": "31.28", 
     96                        "config": "CVT无级变速(模拟8挡) 前置前驱 ", 
     97                        "state": "在售", 
     98                        "status": "在售", 
     99                        "isNews": "0", 
     100                        "rjBzzw": 5, 
     101                        "introduce": 0, 
     102                        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1210/01/c0/14229062_14229062_1349107127921_120x90.jpg", 
     103                        "minPrice": "27.84", 
     104                        "paiLiang": "2.0", 
     105                        "jqx": 950, 
     106                        "glassPercent": 0.0019, 
     107                        "compared": "", 
     108                        "result": { 
     109                                "shoufu": 8.35, 
     110                                "loan": 190000, 
     111                                "monthPay": 0.58, 
     112                                "firstPayTotal": 12.4, 
     113                                "loantotal": 33.44, 
     114                                "total": 31.4 
     115                        } 
     116                }, 
     117                { 
     118                        "id": "33314", 
     119                        "title": "2015款 2.0 35TFSI 自动舒适型", 
     120                        "price": "33.29", 
     121                        "config": "CVT无级变速(模拟8挡) 前置前驱 ", 
     122                        "state": "在售", 
     123                        "status": "在售", 
     124                        "isNews": "0", 
     125                        "rjBzzw": 5, 
     126                        "introduce": 0, 
     127                        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1408/11/c1/37285606_37285606_1407725980801_120x90.jpg", 
     128                        "minPrice": "29.13", 
     129                        "paiLiang": "2.0", 
     130                        "jqx": 950, 
     131                        "glassPercent": 0.0019, 
     132                        "compared": "", 
     133                        "result": { 
     134                                "shoufu": 8.74, 
     135                                "loan": 200000, 
     136                                "monthPay": 0.62, 
     137                                "firstPayTotal": 12.83, 
     138                                "loantotal": 34.98, 
     139                                "total": 32.83 
     140                        } 
     141                }, 
     142                { 
     143                        "id": "33315", 
     144                        "title": "2015款 2.0 35TFSI 自动技术型", 
     145                        "price": "37.28", 
     146                        "config": "CVT无级变速(模拟8挡) 前置前驱 ", 
     147                        "state": "在售", 
     148                        "status": "在售", 
     149                        "isNews": "0", 
     150                        "rjBzzw": 5, 
     151                        "introduce": 0, 
     152                        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1408/11/c6/37300232_37300232_1407743541947_120x90.jpg", 
     153                        "minPrice": "33.17", 
     154                        "paiLiang": "2.0", 
     155                        "jqx": 950, 
     156                        "glassPercent": 0.0019, 
     157                        "compared": "", 
     158                        "result": { 
     159                                "shoufu": 9.95, 
     160                                "loan": 230000, 
     161                                "monthPay": 0.71, 
     162                                "firstPayTotal": 14.36, 
     163                                "loantotal": 39.83, 
     164                                "total": 37.36 
     165                        } 
     166                }, 
     167                { 
     168                        "id": "33316", 
     169                        "title": "2015款 2.0 35TFSI 自动豪华型", 
     170                        "price": "40.2", 
     171                        "config": "CVT无级变速(模拟8挡) 前置前驱 ", 
     172                        "state": "在售", 
     173                        "status": "在售", 
     174                        "isNews": "0", 
     175                        "rjBzzw": 5, 
     176                        "introduce": 0, 
     177                        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1210/01/c0/14229062_14229062_1349107127921_120x90.jpg", 
     178                        "minPrice": "35.78", 
     179                        "paiLiang": "2.0", 
     180                        "jqx": 950, 
     181                        "glassPercent": 0.0019, 
     182                        "compared": "", 
     183                        "result": { 
     184                                "shoufu": 10.73, 
     185                                "loan": 250000, 
     186                                "monthPay": 0.77, 
     187                                "firstPayTotal": 15.26, 
     188                                "loantotal": 42.95, 
     189                                "total": 40.26 
     190                        } 
     191                }] 
     192        }, 
     193        { 
     194                "title": " 2.0T 涡轮增压 224马力", 
     195                "data": [{ 
     196                        "id": "33319", 
     197                        "title": "2015款 2.0 45TFSI quattro个性运动版", 
     198                        "price": "35.3", 
     199                        "config": "7挡双离合 前置四驱 托森式差速", 
     200                        "state": "在售", 
     201                        "status": "在售", 
     202                        "isNews": "0", 
     203                        "rjBzzw": 5, 
     204                        "introduce": 0, 
     205                        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1410/22/c6/39977239_39977239_1413950602832_120x90.jpg", 
     206                        "minPrice": "31.42", 
     207                        "paiLiang": "2.0", 
     208                        "jqx": 950, 
     209                        "glassPercent": 0.0019, 
     210                        "compared": "", 
     211                        "result": { 
     212                                "shoufu": 9.43, 
     213                                "loan": 220000, 
     214                                "monthPay": 0.68, 
     215                                "firstPayTotal": 13.41, 
     216                                "loantotal": 37.77, 
     217                                "total": 35.41 
     218                        } 
     219                }, 
     220                { 
     221                        "id": "33317", 
     222                        "title": "2015款 2.0 45 TFSI quattro运动型", 
     223                        "price": "47.36", 
     224                        "config": "7挡双离合 前置四驱 托森式差速", 
     225                        "state": "在售", 
     226                        "status": "在售", 
     227                        "isNews": "0", 
     228                        "rjBzzw": 5, 
     229                        "introduce": 0, 
     230                        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1210/01/c0/14229062_14229062_1349107127921_120x90.jpg", 
     231                        "minPrice": "41.68", 
     232                        "paiLiang": "2.0", 
     233                        "jqx": 950, 
     234                        "glassPercent": 0.0019, 
     235                        "compared": "", 
     236                        "result": { 
     237                                "shoufu": 12.5, 
     238                                "loan": 290000, 
     239                                "monthPay": 0.89, 
     240                                "firstPayTotal": 17.82, 
     241                                "loantotal": 49.94, 
     242                                "total": 46.82 
     243                        } 
     244                }] 
     245        }, 
     246        { 
     247                "title": " 3.0L 机械增压 272马力", 
     248                "data": [{ 
     249                        "id": "33321", 
     250                        "title": "2015款 3.0 50TFSI quattro旗舰型", 
     251                        "price": "57.81", 
     252                        "config": "7挡双离合 前置四驱 托森式差速", 
     253                        "state": "在售", 
     254                        "status": "在售", 
     255                        "isNews": "0", 
     256                        "rjBzzw": 5, 
     257                        "introduce": 0, 
     258                        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1210/01/c0/14229062_14229062_1349107127921_120x90.jpg", 
     259                        "minPrice": "7.0", 
     260                        "paiLiang": "", 
     261                        "jqx": 950, 
     262                        "glassPercent": 0.0019, 
     263                        "compared": "", 
     264                        "result": { 
     265                                "shoufu": 2.1, 
     266                                "loan": 50000, 
     267                                "monthPay": 0.15, 
     268                                "firstPayTotal": 3.2, 
     269                                "loantotal": 8.73, 
     270                                "total": 8.2 
     271                        } 
     272                }] 
     273        }] 
     274} 
     275 
     2761.2 车型综述 
     277mrobot请求url:http://mrobot.pcauto.com.cn/xsp/s/auto/buy/pcauto_sdkv1.0/model.xsp?modelId=30499&v=1.1.0&areaId=1&isCompared=0&isSubscribed=0 
     278 
     279 
     280现应用接口: 
     281 
     282http://price.pcauto.com.cn/interface/iphone/atom/price/model_overview.jsp?mid=34626 车型基本信息 
     283http://price.pcauto.com.cn/interface/iphone/atom/price/model_params.jsp?mid=34626 参数信息 
     284http://price.pcauto.com.cn/interface/iphone/atom/price/model_calculator_basic_json.jsp?mIds=34626 基础数据如排量等 
     285http://price.pcauto.com.cn/interface/iphone/dealer_page_list_json.jsp?modelId="+modelId+"&rId="+areaId+"&pageNo=1&pageSize=1000 经销商信息 
     286http://price.pcauto.com.cn/interface/iphone/get_lower_modelPrice.jsp?mid=" + modelId + "&rid=" + areaId 车型本地最低价 
     287http://mall.pcauto.com.cn/autoMall/interface/auto_mall_gct_list_by_sg_json.jsp?regionId=1&serialId=4313车系下是否有团购信息 
     288http://price.pcauto.com.cn/dealer/interface/app/market_groupby_model_json.jsp?pageNo=1&pageSize=20&areaId=1  // 
     289 
     290[BR]原mrobot接口:http://mrobot.pcauto.com.cn/buy/price/model/34626?pageSize=20&pageNo=1;  
     291HTTP请求方式:get  
     292是否需要登录:false  
     293返回格式:html  
     294缓存方式:  
     295缓存时间:60  
     296说明:  
     297请求参数: 
     298参数名     类型      必须      说明 
     299areaId  int     N       地区ID 
     300modelId int     N       车型ID 
     301v       string  N       版本号 
     302isCompared      int     N       是否已比较 
     303isSubscribed    int     N       是否已订阅