Changes between Version 8 and Version 9 of pcauto_4.5.0/interface


Ignore:
Timestamp:
08/27/2014 12:22:34 PM (12 years ago)
Author:
hejingdong
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pcauto_4.5.0/interface

    v8 v9  
    568568点击点评协议:  pcaction://goto-comment/ 
    569569点击团购协议:  pcautobrowser://goto-group-buying/ 
    570 点击经销商协议:  pcaction://goto-dealer 
     570点击经销商协议:  pcaction://goto-dealer/dealerid 
    571571点击询底价:  pcautobrowser://serial-ask-price/?serialId=33318&serialName=2015%E6%AC%BE+1.8+30TFSI+%E6%89%8B%E5%8A%A8%E8%88%92%E9%80%82%E5%9E%8B&dealerId=&url=http%3A%2F%2Fimg.pconline.com.cn%2Fimages%2Fupload%2Fupc%2Ftx%2Fauto5%2F1210%2F01%2Fc0%2F14229062_14229062_1349107127921_120x90.jpg 
    572572点击购车计算:  pcautobrowser://calculate-cost/modelid 
     
    599599=== 2.4.3 [=#point2.4.3 车系优惠页] === 
    600600{{{ 
    601     请求url:http://mrobot.pcauto.com.cn/v3/price/dealersSerialv36?serialId=7889&areaId=1 
    602     HTTP请求方式:GET 
    603     是否需要登录:false 
    604     返回格式:HTML页面 
    605     返缓存方式: 
    606     缓存时间: 
    607     说明:样式调整 
    608     请求参数: 
    609  
    610     返回结果: 
     601    请求url: 
     602    HTTP请求方式:GET 
     603    是否需要登录:false 
     604    返回格式:HTML页面 
     605    返缓存方式: 
     606    缓存时间: 
     607    说明: 
     608原有接口:http://mrobot.pcauto.com.cn/v3/price/dealersSerialv36?serialId=7889&areaId=1 
     609 
     610    请求参数: 
     611serialId=7889车系id 
     612areaId=1地区id 
     613    返回结果: 
     614 
    611615 
    612616}}} 
     
    621625    返缓存方式: 
    622626    缓存时间: 
    623     说明:样式调整,区分在售、停售 
     627    说明: 
     628样式调整,区分在售、停售 
     629原有接口:http://mrobot.pcauto.com.cn/v3/price/commentList/7929 
    624630    请求参数: 
    625631 
     
    681687    返缓存方式: 
    682688    缓存时间: 
    683     说明:typeId被细化,增加外观分类 
     689    说明: 
     690typeId被细化,增加外观分类 
     691原有车系图片接口: http://mrobot.pcauto.com.cn/v2/price/pictures?serialGroupId=7889&pageSize=1497&typeId=1&colorId=0&modelId=0 
    684692    请求参数: 
    685693serialId // 车系id 
     
    690698pageSize //每页显示多少条 
    691699    返回结果: 
    692  
     700{ 
     701  "sections": [ 
     702    { 
     703      "title": "外观", 
     704      "photos": [ 
     705        { 
     706          "bigPath": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1407/24/c16/36663887_36663887_1406193782359_400x300.jpg", 
     707          "smallPath": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1407/24/c16/36663887_36663887_1406193782359_120x90.jpg" 
     708        } 
     709      ] 
     710    } 
     711  ] 
     712} 
    693713}}} 
    694714 
     
    765785}}} 
    766786 
    767 === 2.4.10 [=#point2.4.10 精准选车条件] === 
    768 {{{ 
    769     请求url:http://mrobot.pcauto.com.cn/v2/price/models/search?price=7&jb=72&pl=4&bsx=3&pageNo=1&pageSize=20&v=4.3.0  
    770     HTTP请求方式:GET 
    771     是否需要登录:false 
    772     返回格式:JSON 
    773     返缓存方式: 
    774     缓存时间: 
    775     说明: 
    776     请求参数: 
    777  
    778     返回结果: 
    779  
     787=== 2.4.10 [=#point2.4.10 精准选车条件结果] === 
     788{{{ 
     789    请求url: 
     790    HTTP请求方式:GET 
     791    是否需要登录:false 
     792    返回格式:JSON 
     793    返缓存方式: 
     794    缓存时间: 
     795    说明: 
     796原有接口:  http://mrobot.pcauto.com.cn/v2/price/models/search?price=7&jb=72&pl=4&bsx=3&pageNo=1&pageSize=20&v=4.3.0 
     797原有接口使用的price是http://mrobot.pcauto.com.cn/v3/price/models/criterionv36?v=4.3.0接口中取的index,但4.5版本使用的价格是可以自定义范围的不适用,这个参数要改 
     798同样配置的参数:pz的值也是取其index,4.5要改成可多选 
     799    请求参数: 
     800 
     801    返回结果: 
     802{ 
     803  "serial": { 
     804    "id": 573618, 
     805    "serialId": 3404, 
     806    "serialName": "福克斯", 
     807    "price": "9.98-16.99万", 
     808    "image": "http:\/\/img.pconline.com.cn\/images\/upload\/upc\/tx\/auto5\/1307\/24\/c16\/23702964_1374654889218_270x202.jpg", 
     809    "cars": [ 
     810      { 
     811        "id": "33318", 
     812        "minPrice": "23.10", 
     813        "photo": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1210/01/c0/14229062_14229062_1349107127921_120x90.jpg", 
     814        "price": "27.28", 
     815        "status": "在售", 
     816        "title": "2015款 1.8 30TFSI 手动舒适型", 
     817        "vendorPrice": "23.10~27.28" 
     818      } 
     819    ] 
     820  }, 
     821  "modelTotal": 86, 
     822  "pageCount": 18, 
     823  "pageNo": 1, 
     824  "pageSize": 1, 
     825  "total": 18 
     826} 
    780827}}} 
    781828 
     
    791838    说明: 
    792839    请求参数: 
    793  
    794     返回结果: 
     840targetId: 
     841    返回结果: 
     842是一个zip包,其中是首页接口前30条的具体包内容,有文章,帖子,图集 
     843 
    795844 
    796845}}} 
     
    825874    缓存时间: 
    826875    说明: 
     876 
    827877    请求参数: 
    828878 
     
    843893 
    844894    返回结果: 
     895点击详细问题,进入常见问题终端页协议:pcautobrowser://FAQ/10003 
     896 
    845897 
    846898}}} 
     
    857909    说明: 
    858910    请求参数: 
    859  
     911id:常见问题id 
    860912    返回结果: 
    861913 
     
    881933resp_enc:UTF-8 
    882934    返回结果: 
    883  
     935{ 
     936  "total": 1, 
     937  "pageNo": 1, 
     938  "resultList": [ 
     939    { 
     940      "fanNum": 3, 
     941      "accountId": 30768965, 
     942      "focusNum": 2, 
     943      "nickName": "摇号最讨厌了", 
     944      "image": "http://i1.3conline.com/images/upload/upc/face/30/76/89/65/30768965_50x50", 
     945      "mutualFocus":相互关注true,否者false 
     946    } 
     947  ], 
     948  "pageCount": 1, 
     949  "pageSize": 20 
     950} 
    884951}}} 
    885952 
     
    895962    说明: 
    896963    请求参数: 
    897  
    898     返回结果: 
    899  
    900 }}} 
    901  
    902 === 2.5.5.1 [=#point2.5.5.1 经销商是否已收藏] === 
    903 {{{ 
    904     请求url: 
    905     HTTP请求方式:GET 
     964dealerid:经销商id 
     965    返回结果: 
     966 
     967}}} 
     968 
     969=== 2.5.5.1 [=#point2.5.5.1 经销商收藏] === 
     970{{{ 
     971    请求url: 
     972    HTTP请求方式:POST 
    906973    是否需要登录:true 
    907974    返回格式:JSON 
     
    910977    说明: 
    911978    请求参数: 
    912  
    913     返回结果: 
    914  
    915 }}} 
    916  
    917 === 2.5.6 [=#point2.5.6 推送设置] === 
    918 {{{ 
    919     请求url: 
    920     HTTP请求方式:GET 
    921     是否需要登录:false 
    922     返回格式:JSON 
    923     返缓存方式: 
    924     缓存时间: 
    925     说明: 
    926     请求参数: 
    927  
    928     返回结果: 
    929  
    930 }}} 
     979dealerid:经销商id 
     980    返回结果: 
     981 
     982}}} 
     983 
     984 
     985=== 2.5.5.2 [=#point2.5.5.2 删除经销商收藏] === 
     986{{{ 
     987    请求url: 
     988    HTTP请求方式:POST 
     989    是否需要登录:true 
     990    返回格式:JSON 
     991    返缓存方式: 
     992    缓存时间: 
     993    说明: 
     994    请求参数: 
     995dealerid:经销商id 
     996    返回结果: 
     997 
     998}}} 
     999 
     1000 
     1001=== 2.6.0 [=#point2.6.0 降价列表] === 
     1002{{{ 
     1003    请求url: 
     1004    HTTP请求方式:GET 
     1005    是否需要登录:false 
     1006    返回格式:JSON 
     1007    返缓存方式: 
     1008    缓存时间: 
     1009    说明: 
     1010原有接口: http://mrobot.pcauto.com.cn/v3/price/promotionList?areaId=1&pageNo=1&pageSize=20&orderBy=popularity 
     1011增加一个筛选方式,类似精准选车的 
     1012    请求参数: 
     1013areaId:地区id 
     1014brandId:品牌id 
     1015serialId:车系id 
     1016modelId:车型id 
     1017orderBy:popularity, newest, discountRange, lowestPrice; 
     1018               分别指按车型热度,按最新,按降价幅度,按最低价格 
     1019    返回结果: 
     1020{ 
     1021  "data": [ 
     1022    { 
     1023      "area": "广州", 
     1024      "createTime": 1406602096000, 
     1025      "dealerId": "45742", 
     1026      "dealerName": "进口大众广州鸿众", 
     1027      "dealerNewsId": "5154551", 
     1028      "dealerType": "综合店", 
     1029      "decline": "35.0", 
     1030      "discount": "163400", 
     1031      "image": "http://img.pconline.com.cn/images/upload/upc/tx/auto5/1308/01/c8/24016521_1375350331166_350x260.jpg", 
     1032      "is400": "1", 
     1033      "isShow24Icon": 1, 
     1034      "modelId": "32583", 
     1035      "modelName": "高尔夫(进口) 2014款 2.0 TSI R敞篷版", 
     1036      "modelPrice": "46.68", 
     1037      "phone": "400-860-0819", 
     1038      "price": "30.34", 
     1039      "serialGroupId": 4391, 
     1040      "serialGroupName": "高尔夫(进口)" 
     1041    } 
     1042  ], 
     1043  "pageNo": 1, 
     1044  "pageSize": 20, 
     1045  "total": 6559 
     1046} 
     1047}}}