VASMS
基础接口
5.0报单
安装时间预测
本文档使用 MrDoc 发布
-
+
首页
基础接口
测试环境:<http://dev.wwvas.com:10000> 外网测试环境:<http://apk.wwvas.com:10000> # 第一步 ### ==查询公司信息== **GET /admin/corporateinfo/getCorpByVloancorpid?newvloancorpid=公司ID** { "msg": "success", "code": 0, "data": [ { "id": 5, "corpname": "众汇贵州公司", "corpcategoryname": "集团公司", "address": "中山西路华亿大厦7--10", "area": "贵州,贵阳,南明区", "vloancorpid": "170824133484", } ] } ### ==查询公司所有套餐== **~~GET /admin/cmsPackcust/page/{corpid}?page=1\&limit=1000~~** **GET /admin/cmsPackcust/packs/list?custid=1\&yearsofservice=5** { "msg": "success", "code": 0, "data": { "total": 28, "size": 1000, "pages": 1, "current": 1, "records": [ { "id": 74651, "packageid": 6, "custid": 5, "cmsPackage": { "id": 6, "packcode": "TC006", "packdesc": "无线设备二", "packcontent": "无线设备2台", "insuranceflag": "N", //保险标志 Y:含保险,N:不含保险 "productqty": "2",//设备数量 "cmsProduct": [ { "id": 2, "prodcode": "WX001", "proddesc": "无线设备(初始)", "prodcategory": "P_WIRELESS", "prodmodelscope": null, "produnit": "台", "yearsofservice": null, "prodqty": 2 } ], "insurance": null, "prodqty": 2, "accessory": null, "packageprod": "无线设备(初始)2台" }, "cmsPackprod": [ { "id": 13, "packageid": 6, "productid": 2, "prodqty": 2, "cmsProduct": { "id": 2, "prodcode": "WX001", "proddesc": "无线设备(初始)", "prodcategory": "P_WIRELESS", "produnit": "台", "yearsofservice": null, "prodqty": null } } ] } ] } } ### 根据规则查询套餐 \*\* GET admin/cmsPackcust/package/rule?corpid=1\&yearsofservice=36\&rule=W1 \*\* { "msg": "success", "code": 0, "data": { "id": 8, "packcode": "TC008", "packdesc": "有线设备一", "packcontent": "有线设备1台", "isdelete": null, "remark": "0", "createdate": "2019-03-14T09:18:44.000+0000", "createby": "1", "updatedate": null, "updateby": null, "insuranceflag": "N", "productqty": "1" } } ### **套餐详情** **GET /admin/cmsPackage/{packid}** { "msg": "success", "code": 0, "data": { "id": 1, "packcode": "TC001", "packdesc": "有线设备1台+3年盗抢险服务1份+摄像头1个+网线2条", "packcontent": "1台设备+盗抢险", "insuranceflag": "Y", "productqty": "1", "cmsPackprod": [ { "id": 1, "packageid": 1, "productid": 1, "prodqty": 1, } ], "cmsProduct": [ { "id": 1, "prodcode": "YX001", "proddesc": "有线设备(初始)", "prodcategory": "P_WIRE", "prodmodelscope": null, "supplierid": null, "produnit": "台", "prodqty": 1 } ], "insurance": null, "prodqty": 1, "accessory": null, "packageprod": "有线设备(初始)1台+配件摄像头1个+配件网线2条" } } *** # 第二步 ### 查询车型 **GET admin/vehicleInfo/query/vehicleplatecolor?page=1\&limit=10000\&isactive=1** { "msg": "success", "code": 0, "data": [ { "typecode": "1", "platecolorcode": "e2d5df-4ef864", "id": 1, "typedesc": "新能源汽车(渐变绿)", "platecolordesc": "渐变绿色" } ] } ### 查询车型 **GET /admin/vehicleInfo/query/carModel?model=\&viewName=VW\_VAS\_WEB\_VAS\_VEHICLE\_MODEL\&limit=100** { "msg": "success", "code": 0, "data": { "total": 62727, "size": 100, "pages": 628, "current": 1, "records": [ { "serious": "Vanquish", "model": "Vanquish 2015款 6.0L Volante", "brand": "阿斯顿·马丁", "ROW_ID": 1 }, { "serious": "Vanquish", "model": "Vanquish 2013款 6.0L 标准型", "brand": "阿斯顿·马丁", "ROW_ID": 2 } ] } } /admin/corporateinfo/page?page=1\&limit=10000\&corpcategory=BANK\&corpname= ### ==提交GPS安装== \*\*POST /business/orderNewBuild/custZhStartV2 ```json { "externalvehicleid": "201119811521",//业务系统车辆ID "externalcustnum": "KH190531250628",//业务系统客户编号 "corpid": 5,//报单公司ID "ordertype": "INSTALL",//订单类型 "declaretype": "CUST",//报单类型 "vehiclestatus": 1,//车辆状态(1=已到,0=未到) "hastheftinsurance": 0,//是否有盗抢险(1=有,0=无) "packageid": 1,//套餐ID "loginidZh": "gz0119",//报单登陆人账号, "externalstatus": "1",//业务系统状态 "externalsystem": "ZH4.1",//业务系统名称 "externalid": "XM201119811510",//业务系统ID "contactname": "何晓波",//现场联系人姓名 "contactmobile": "18389323404",//现场联系人手机号码 "declareremark": "",//报单备注 "impapplydate": "2020-12-01T10:03:00.000Z",//申请施工时间 "impaddresscode": "110105",//施工地址编码 "impaddress": "北京市朝阳区朝阳北路北京像素南区4号楼0117号OK24小时便利店",//施工地址 "impaddresslng": 116.61695,//施工地址经度 "impaddresslat": 39.926122,//施工地址纬度 "busiVehicleinfo": {//报单车辆信息 "vehicletype": 3,//车类型 接口 /admin/vehicleInfo/query/vehicleplatecolor?page=1&limit=10000&isactive=1 "vehiclecategory": 1,//车辆分类(1=新车,2=二手车,3=资管追回) "model": "奥迪奥迪A62004款 1.8L 手动基本型", //车型 "vin": "LWLTFS2DXGL021763", //车架号 "corpid": 5,//报单公司 "hastheftinsurance": 0,//是否有盗抢险(1有0无) "ownername": "黄心",//车主姓名 "idcard": "230623197210058190",//身份证 "mobile": "13158965896",//电话 "colorname": "",//车辆颜色名称 "firstregisterdate": "2020-12-01T10:03:00.000Z",//车辆初始登记日期 "licenseplatenum": "川AQWERT",//车牌 "enginenum": "",//发动机号 "price": "200000",//车价(元) "addresshome": "ok",//家庭住址 "indemnitylimit": "1",//保单赔偿限额 "beneficiary": "",//保险受益人 "priceInsucorp": "1",//保险公司保费 "loanAmount": "150000", "capital": ""//资方(JYR=嘉易融) }, "declarefrom": "FIN4.1"//报单来源(VAS,ECT,YCH,FIN=集团车贷系统) "platformName":"放款平台", "platformId":"放款平台ID", "notifyUrl":"" } ``` ### 自行安装补登 *** **POST /business/busiDeclaration/reinstall/orderZh** { "externalvehicleid": "201209872081", "externalcustnum": "KH190531250646", "corpid": 5,//公司ID "ordertype": "INSTALL",// 订单类型 "declaretype": "CUST",//固定参数 "vehiclestatus": 1,//车辆状态(1=已到,0=未到) "packageid": 5, //安装套餐ID "declareremark": "", //安装备注 "loginidZh": "gz0119",//安装人 "externalstatus": "1",//外部系统状态 "externalsystem": "ZH4.1", "externalid": "XM201204848220", //车辆信息 "busiVehicleinfo": { "vehicletype": 2,//车辆类型 "vehiclecategory": "2", //车辆分类(1=新车,2=二手车,3=资管追回) "model": "长安长安CS352017款 长安CS35 1.6L 手动豪华型", //车型 "vin": "LVTDB24B4EC029220",//车架号 "corpid": 5,//车辆所属公司 "ownername": "朱杰",//车主姓名 "idcard": "340303198506190017",//车站身份证 "mobile": "18696799695",//车主电话 "loanAmount": "50000",//贷款金额 "capital": "", "price": "350000"//车辆加个 }, //车辆图片 "busiPictures": [ { "piclink": "VAS3/20210323/7523e04d-36b2-4084-b13a-23a5c97ed3b8.png", //图片链接 "piccode": "1", "picdesc": "车辆照片", "pictype": "DC" } ], //报单来源 "declarefrom": "FIN4.1", //车辆施工信息 "busiImpdetails": [ { "installpositioncode": "3",//安装位置代码 dictdataname "packid": 6318,//设备,SIM卡绑定ID "onlinestatus": "Y",//设备在线状态 设备检测.realdata.isate!=1就是在线 "busiPictures": [ { "piccode": 19,//安装位置照 固定参数 "piclink": "VAS3/20210323/7e1c3231-8b42-40ca-a2a8-cd342b6fcc77.jpg", "picdesc": "左后门槛内(接线位置:左后门边)"//安装位置查询.dictdatavalue }, { "piccode": 20,//铭牌+设备照 固定参数 "piclink": "VAS3/20210323/224dd641-7b41-4179-8d7b-adec8652ece7.jpg", "picdesc": "铭牌+设备照" //安装位置查询.dictdatavalue } ], "prodnum": "780000020237103" } ], "platformName":"放款平台", "platformId":"放款平台ID" } # 车辆类型 | key | value | | --- | -------------------------------- | | 1 | 新能源汽车(渐变绿) | | 2 | 大型新能源汽车(黄绿双拼) | | 3 | 小型汽车、轻便摩托车(蓝色) | | 4 | 大型汽车、挂车、教练汽车、普通摩托车、教练摩托车、低速车(黄色) | | 5 | 领使馆汽车/摩托车、港澳出入境车(黑色) | ### 上传图片 **POST /admin/atta/upload/picture** 返回地址:<http://dev.wwvas.com:10000/image+返回地址> {"msg":"success","code":0,"data":"VAS3/20210323/7523e04d-36b2-4084-b13a-23a5c97ed3b8.png"} ### 安装位置查询 **GET /admin/sysDictionaryData/query/byDictValue?dictvalue=InstallPositionCode** 响应: { "msg": "success", "code": 0, "data": [ { "act_status": null, "dictvalue": "InstallPositionCode", "dictdataname": "15", "dictdatavalue": "主座内", "isfixed": 0, "remarks": "VAS3\\installPositionImages\\89efaea88c4544fd89333c77a63a12b0.png", "act_id": null, "createdate": null, "createby": null, "updatedate": null, "updateby": null, "id": 2 } ] } ### 安装设备查询 **GET /sto/stoProduct/getByZhProdnum/7800000202371033** 响应: { "msg": "success", "code": 0, "data": { //设备信息 "stoProduct": { "id": 8021, "prodnum": "780000020247080",//设备号 "prodcategory": "P",//设备类别 P:设备,C:SIM卡,A:配件 "modelid": 263,//型号ID "storageid": "10150",//库房ID "status": "SALE",//设备状态 "packsimid": 8000, //SIM卡ID }, //SIM卡信息 "stoSim": { "id": 8000, "simnum": "1440022436904", //卡号 "iccid": "89860402101703206904",//ICCID "modelid": 124,//型号ID "storageid": "10150",//库房ID "status": "SALE",//卡状态 }, //设备型号 "prodmodel": { "id": 263, "modelname": "V200",//型号名称 "modelspec": "P2",//P1:有线,P2:无线,P3:非GPS设备,P4:无 "modelunit": "个",//单位 "insuranceflag": "Y",//保险标志 }, //卡型号 "simmodel": { "id": 124, "modelitem": "C005", "supplierid": 10020, "modelname": "20M物联卡", "modelspec": "C2",//C1:流量卡,C2:物联卡 "modelunit": "张", "modelcategory": "C", }, //设备卡组装绑定信息 "packinfo": { "id": 6641, "prodid": 8021,//设备ID "simid": 8000,//卡ID } } } \#设备状态 | header 1 | header 2 | | --------- | -------- | | INSTO | 在库 | | INSTALL | 已安装 | | LOST | 报失 | | REFACTORY | 返厂维修 | | DAMAGE | 报废 | | ONWAY | 在途 | | REMOVING | 拆除中 | ### 车架号查询位置 [https://vps.zybdkj.com/gisapiservice/Vehicle/gpsinfo?vin=](https://vps.zybdkj.com/gisapiservice/Vehicle/gpsinfo?vin=LYVUE25D2LB607728) ```json { "result": { "code": 0, "desc": "success" }, "data": [ { "gpsNo": "81020700101", //设备号 "gpsManufacturer": "万网鑫成", "gpsModelNo": "MT07C",//设备型号名称 "gpsModelSpec": "P2",//设备类型编码 P1:有线,P2:无线 "gpsModelSpecName": "无线",//设备类型名称 "gpsCardNo": "1440036051107",//设备卡号 "gpsLocationDate": "2024-02-07",//定位时间 "gpsLocationRes": "离线",//定位状态 离线、在线 "gpsLocationAddr": "云南省文山壮族苗族自治州麻栗坡县八布乡炭山新寨"//定位地址 "activation": "1" //激活状态 1激活,0未激活 } ], "documentation_url": null } ``` ### 设备检测 **POST spa.vps.wwvas.com/gisapiservice/Prod/proddetail** {"id":"780000020237103"} isate!=1就是在线 响应描述: <http://mqtt.wwvas.com:9204/Help/ResourceModel?modelName=ProdInfo> { "result": { "code": 0, "desc": "success" }, "data": { "realdata": { "wifiinfo": [], "vehicleid": "643937",//车辆ID "prodnum": "780000020237103",//设备号 "istate": 2, "duration": 24049, "cstate": "GPS已定位 长电", "lng": 110.915608723958, "lat": 21.6457682291667, "gpstime": "2021-04-23 03:13:08", "veo": 0.0, "direct": 118, "recvtime": "2021-04-23 09:54:44", "power": 100, "locationmode": "GPS", "entitytype": 5, "datasource": "history", "creditScore": 100.0, "gps_satellite_count": 4, "lbsinfo": [ { "mcc": 460, "mnc": 0, "lac": 10232, "cellid": 10126, "signal": 0 } ], "signalqulity": 3, "acc_status": 0 }, "basicdata": { "carno": "LBV5S3103ESJ42075", "vin": "LBV5S3103ESJ42075", "ownername": "杨仔", "ownermobile": "13542393838", "idcard": "440902198104204017", "appointdate": "1564564365000", "vehicletype": "1", "model": "宝马2014款 525Li 豪华设计套装宝马5系", "hastheftinsurance": "1 ", "isdebt": "0", "corpname": "众汇广东公司", "corpid": "6", "vehicleid": "643937" }, "proddata": { "prodnum": "780000020237103", "prodmodel": "WA(GM)", "prodspec": "有线", "simcard": "1440022417896", "installtime": "1564564365000", "ismain": 0, "feature": 0 } } } ### 设备检测页面 **GET <http://spa.vps.wwvas.com/#/signalChecker?prodnum=>** ### WEB端GPS安装地址 <http://dev.wwvas.com:10000/#/vehicleLoan/newInstallOrder?externalid=XM201119811510&externalcustnum=KH190531250628&externalvehicleid=201119811521&username=gz0119&loanAmount=150000&prodqty=1&insurance=1&vehiclecategory=1&vehicletype=%E4%B9%98%E7%94%A8%E8%BD%A6&model=%E5%A5%A5%E8%BF%AA2004%E6%AC%BE%201.8L%20%E6%89%8B%E5%8A%A8%E5%9F%BA%E6%9C%AC%E5%9E%8B%E5%A5%A5%E8%BF%AAA6&contactname=%E4%BD%95%E6%99%93%E6%B3%A2&contactmobile=18389323404&ownername=%E9%BB%84%E5%BF%83&mobile=13158965896&idcard=230623197210058190&price=200000&capital=&tabPageId=jerichotabiframe_2> | 参数 | 描述 | 示例 | | ----------------- | ----------- | ---------------------- | | externalid | 业务系统ID | XM201119811510 | | externalcustnum | 客户编号 | KH190531250628 | | externalvehicleid | 车辆ID | 201119811521 | | username | 客户经理账号 | gz0119 | | loanAmount | 贷款金额 | 150000 | | prodqty | 设备数量(套餐ID) | 1 | | insurance | 保险标志 | 1=有,0=无) | | vehiclecategory | 车辆分类 | 1=新车,2=二手车,3=资管追回 | | vehicletype | 车辆类型名称 | 乘用车 | | model | 车辆型号 | 奥迪2004款 1.8L 手动基本型奥迪A6 | | contactname | 现场联系人姓名 | 何晓波 | | contactmobile | 现场联系人手机号码 | 18389323404 | | ownername | 车主姓名 | 黄心 | | mobile | 车主联系电话 | 13158965896 | | idcard | 车主身份证 | 230623197210058190 | | price | 车辆价格 | 200000 | | capital | 资方(JYR=嘉易融) | | | tabPageId | | jerichotabiframe\_2 | ~~移动端~~[~~http://dev.wwvas.com:10001/#/installOrderList?externalid=XM201119811510\&externalcustnum=KH190531250628\&externalvehicleid=201119811521\&username=gz0119\&loanAmount=150000\&prodqty=1\&insurance=1\&vehiclecategory=1\&vehicletype=%E4%B9%98%E7%94%A8%E8%BD%A6\&model=%E5%A5%A5%E8%BF%AA2004%E6%AC%BE%201.8L%20%E6%89%8B%E5%8A%A8%E5%9F%BA%E6%9C%AC%E5%9E%8B%E5%A5%A5%E8%BF%AAA6\&contactname=%E4%BD%95%E6%99%93%E6%B3%A2\&contactmobile=18389323404\&ownername=%E9%BB%84%E5%BF%83\&mobile=13158965896\&idcard=230623197210058190\&price=200000\&capital=~~](http://dev.wwvas.com:10001/#/installOrderList?externalid=XM201119811510\&externalcustnum=KH190531250628\&externalvehicleid=201119811521\&username=gz0119\&loanAmount=150000\&prodqty=1\&insurance=1\&vehiclecategory=1\&vehicletype=%E4%B9%98%E7%94%A8%E8%BD%A6\&model=%E5%A5%A5%E8%BF%AA2004%E6%AC%BE%201.8L%20%E6%89%8B%E5%8A%A8%E5%9F%BA%E6%9C%AC%E5%9E%8B%E5%A5%A5%E8%BF%AAA6\&contactname=%E4%BD%95%E6%99%93%E6%B3%A2\&contactmobile=18389323404\&ownername=%E9%BB%84%E5%BF%83\&mobile=13158965896\&idcard=230623197210058190\&price=200000\&capital=) ### ==查询订单信息== /business/busiDeclaration/query/declarationDetail?id=76134 /business/busiDeclaration/query/declarationDetailbyOrderno?orderno= "status": "6", 1 待派单 2 待接单 3 待施工 4 施工中 5 保险出单 6 订单完成 7 待退保 ```json { "msg": "success", "code": 0, "data": { "id": 348598, "oriid": null, "orderno": "NBWW20210520152060", "ordertype": "INSTALL", "corpid": 31880, "vehicleid": 749570, "declarereason": "1", "declareremark": null, "declaretype": "SELF", "declareby": "10702", "declaredate": "2021-05-20T10:27:42.000+0800", "assignby": 10702, "assigndate": "2021-05-20T10:27:42.000+0800", "assignremark": null, "contactid": null, "contactname": "浦", "contactmobile": "18280445290", "vehiclestatus": 1, "servicestartdate": null, "serviceenddate": null, "hastheftinsurance": 0, "packageid": 10, "status": "6", "externalstatus": null, "externalsystem": null, "externalid": null, "externalcustnum": null, "externalvehicleid": null, "impapplydate": "2021-05-31T00:00:00.000+0800", "acceptdate": "2021-05-20T10:38:46.000+0800", "impactualstartdate": "2021-05-20T10:38:51.000+0800", "impactualenddate": "2021-05-20T10:40:23.000+0800", "impaddresscode": "510107", "impaddress": "四川省成都市武侯区火车南站西路1689号B栋四川新元素鑫威汽车服务有限公司", "impaddresslng": 104.040401, "impaddresslat": 30.596817, "impgroupid": 31182, "impby": 224, "impvin": "LSJA36E35MZ110432", "impplate": null, "impvehicletype": "3", "impvehiclecategory": "2", "impremark": null, "implateremark": null, "reviewby": null, "reviewdate": null, "reviewremark": null, "iscancelled": "0", "ectfinalremark": null, "userconfirmremark": null, "insurancedate": null, "actfinishdate": null, "attentionmatters": null, "rpFaultcode": null, "rpFaultremark": null, "rpCardstatus": null, "rpCheckresult": null, "rpActionresult": null, "isadd": "0", "isskip": null, "cancelremark": null, "returnremark": null, "impvalidateby": 224, "impvalidatedate": "2021-05-20T10:38:51.000+0800", "declarefrom": "VAS", "impstartaddress": "四川省成都市武侯区石羊场街道火车南站西路1699号B幢四川新元素汽车服务有限公司", "impstartaddresslng": 104.0306157248, "impstartaddresslat": 30.5895161813, "impendaddress": "四川省成都市武侯区石羊场街道火车南站西路四川新元素汽车服务有限公司", "impendaddresslng": 104.0305891144, "impendaddresslat": 30.5895426076, "insuranceby": null, "impmile": null, "unimpremark": null, "unimpremarkby": null, "unimpremarkdate": null, "canceldate": null, "cancelby": null, "orderprovince": "四川省", "ordercity": "成都市", "ordercategory": "1", "agentName": null, "agentMobile": null, "loginidZh": null, "installMethod": "1,2", "installMethodName": null, "currStatus": "4", "currStatusName": null, "mileageRemark": null, "busiImpdetails": [ { "id": 582298, "declarationid": 348598, "prodmodelid": 39, "installpositioncode": "1", "installpositioncodename": "驾驶室脚踏板处", "packid": 562081, "oripackid": null, "imppic1": null, "imppic2": null, "imppic3": null, "impdate": "2021-05-20T10:40:23.000+0800", "impby": "224", "actiontype": "INSTALL", "actiontypename": "新装", "onlinestatus": "F", "firstonlineposition": null, "impremark": null, "status": "1", "isactive": "1", "platid": 2, "accessorymodelid": null, "accessoryqty": null, "oriimpid": null, "isremoved": null, "busiPictures": [ { "id": 1321173, "pictype": "IMP", "linkid": 582298, "piclink": "template/20210520/869f4ec5-5af8-47ee-8647-c1f2a12a93f5.jpeg", "piccode": "20", "picdesc": "设备+铭牌", "isdelete": "0" }, { "id": 1321174, "pictype": "IMP", "linkid": 582298, "piclink": "template/20210520/60db650a-e6b0-43d6-abf5-67dab4c67ea4.jpeg", "piccode": "1", "picdesc": "驾驶室脚踏板处", "isdelete": "0" } ], "busiPicturesOrg": null, "detailImpby": { "employeetype": "WW_CONTRACT", "oauserid": null, "showorder": 1343, "employeecode": "ww0049", "employeename": "四川成都毛强", "employeenamepy": "mq", "gender": "M", "dateofbirth": "1987-04-02T00:00:00.000+0800", "positioncode": "1907", "deptid": 58, "userid": 224, "username": null, "superiorcode": null, "tel": null, "mobile": "18140000518", "email": "18140000518@cnzhjk.com", "fax": null, "emplevel": "0", "isenable": null, "isdelete": "0", "isactive": "1", "isgroupleader": null, "iscompanyleader": null, "isdeptleader": null, "wechatid": null, "standardheadiconpath": null, "headiconpath": null, "qq": null, "address": null, "region": "四川,成都", "act_id": null, "act_status": null, "province": "四川", "city": "成都", "addresslng": null, "addresslat": null, "deptname": null, "rolename": null, "positionname": null, "groupid": null, "strogisneed": null, "hasstorage": "Y", "createdate": null, "createby": "10668", "updatedate": "2021-04-30T11:54:06.000+0800", "updateby": "69", "idcard": "513902198704028476", "bankcard": "6217003810033867535", "bankname": "中国建设银行", "traffictype": "CAR", "idcardPic1": "VAS3/20200417/cd9518ab-c55b-4e5f-8e7c-4be765168675.jpeg", "idcardPic2": "VAS3/20200417/240f1ea9-38f1-403d-9ce8-b13768e8ccde.jpeg", "bankcardPic": "VAS3/20200417/5d9edb00-574a-4825-a0d0-e29870eb31c7.jpeg", "traffictypePic": "template/20210430/2f8bb2d4-9a58-4d96-8dd9-c7c9de144397.jpeg", "temp_id": 224, "id": 224 }, "stoPackinfoDto": { "id": 562081, "prodid": 764610, "simid": 765546, "isactive": "1", "createdate": "2021-04-15T10:40:01.000+0800", "createby": "11238", "updatedate": "2021-04-15T10:40:01.000+0800", "updateby": "11238", "prodnum": "780000020263509", "promodelid": 39, "promodelname": "WA(GM)", "promodelspec": "P1", "promodelspecname": "有线", "insuranceflag": "Y", "simnum": "1440021703236", "iccid": "89860402102080371103", "simmodelid": 18, "simmodelname": "30M三年物联卡", "simmodelspec": "C2", "simmodelspecname": "物联卡", "status": "INSTALL" }, "stoPackinfoDtoOrg": { "id": 562081, "prodid": 764610, "simid": 765546, "isactive": "1", "createdate": "2021-04-15T10:40:01.000+0800", "createby": "11238", "updatedate": "2021-04-15T10:40:01.000+0800", "updateby": "11238", "prodnum": "780000020263509", "promodelid": 39, "promodelname": "WA(GM)", "promodelspec": "P1", "promodelspecname": "有线", "insuranceflag": "Y", "simnum": "1440021703236", "iccid": "89860402102080371103", "simmodelid": 18, "simmodelname": "30M三年物联卡", "simmodelspec": "C2", "simmodelspecname": "物联卡", "status": "INSTALL" } }, { "id": 582299, "declarationid": 348598, "prodmodelid": 62, "installpositioncode": "38", "installpositioncodename": "后备箱左下", "packid": 551993, "oripackid": null, "imppic1": null, "imppic2": null, "imppic3": null, "impdate": "2021-05-20T10:40:23.000+0800", "impby": "224", "actiontype": "INSTALL", "actiontypename": "新装", "onlinestatus": "F", "firstonlineposition": null, "impremark": null, "status": "1", "isactive": "1", "platid": 2, "accessorymodelid": null, "accessoryqty": null, "oriimpid": null, "isremoved": null, "busiPictures": [ { "id": 1321175, "pictype": "IMP", "linkid": 582299, "piclink": "template/20210520/dcce1119-e9f1-4812-9c83-7788d5ec42ba.jpeg", "piccode": "20", "picdesc": "设备+铭牌", "isdelete": "0" }, { "id": 1321176, "pictype": "IMP", "linkid": 582299, "piclink": "template/20210520/67fd4042-2a67-4c9c-be3f-a79038be93fb.jpeg", "piccode": "38", "picdesc": "后备箱左下", "isdelete": "0" } ], "busiPicturesOrg": null, "detailImpby": { "employeetype": "WW_CONTRACT", "oauserid": null, "showorder": 1343, "employeecode": "ww0049", "employeename": "四川成都毛强", "employeenamepy": "mq", "gender": "M", "dateofbirth": "1987-04-02T00:00:00.000+0800", "positioncode": "1907", "deptid": 58, "userid": 224, "username": null, "superiorcode": null, "tel": null, "mobile": "18140000518", "email": "18140000518@cnzhjk.com", "fax": null, "emplevel": "0", "isenable": null, "isdelete": "0", "isactive": "1", "isgroupleader": null, "iscompanyleader": null, "isdeptleader": null, "wechatid": null, "standardheadiconpath": null, "headiconpath": null, "qq": null, "address": null, "region": "四川,成都", "act_id": null, "act_status": null, "province": "四川", "city": "成都", "addresslng": null, "addresslat": null, "deptname": null, "rolename": null, "positionname": null, "groupid": null, "strogisneed": null, "hasstorage": "Y", "createdate": null, "createby": "10668", "updatedate": "2021-04-30T11:54:06.000+0800", "updateby": "69", "idcard": "513902198704028476", "bankcard": "6217003810033867535", "bankname": "中国建设银行", "traffictype": "CAR", "idcardPic1": "VAS3/20200417/cd9518ab-c55b-4e5f-8e7c-4be765168675.jpeg", "idcardPic2": "VAS3/20200417/240f1ea9-38f1-403d-9ce8-b13768e8ccde.jpeg", "bankcardPic": "VAS3/20200417/5d9edb00-574a-4825-a0d0-e29870eb31c7.jpeg", "traffictypePic": "template/20210430/2f8bb2d4-9a58-4d96-8dd9-c7c9de144397.jpeg", "temp_id": 224, "id": 224 }, "stoPackinfoDto": { "id": 551993, "prodid": 754546, "simid": 755472, "isactive": "1", "createdate": "2021-03-04T15:05:48.000+0800", "createby": "11238", "updatedate": "2021-03-04T15:05:48.000+0800", "updateby": "11238", "prodnum": "14184005725", "promodelid": 62, "promodelname": "A5C-11WL", "promodelspec": "P2", "promodelspecname": "无线", "insuranceflag": "N", "simnum": "1440779746949", "iccid": "89860477012070146949", "simmodelid": 244, "simmodelname": "2M三年物联卡(BSJ)", "simmodelspec": "C2", "simmodelspecname": "物联卡", "status": "INSTALL" }, "stoPackinfoDtoOrg": { "id": 551993, "prodid": 754546, "simid": 755472, "isactive": "1", "createdate": "2021-03-04T15:05:48.000+0800", "createby": "11238", "updatedate": "2021-03-04T15:05:48.000+0800", "updateby": "11238", "prodnum": "14184005725", "promodelid": 62, "promodelname": "A5C-11WL", "promodelspec": "P2", "promodelspecname": "无线", "insuranceflag": "N", "simnum": "1440779746949", "iccid": "89860477012070146949", "simmodelid": 244, "simmodelname": "2M三年物联卡(BSJ)", "simmodelspec": "C2", "simmodelspecname": "物联卡", "status": "INSTALL" } } ], "oldbusiImpdetails": null, "busiPictures": [ { "id": 1321169, "pictype": "DC", "linkid": 348598, "piclink": "template/20210520/ef27786a-00a0-475f-885d-c45d8d11d326.jpeg", "piccode": "1", "picdesc": "车前45°照", "isdelete": "0" } ], "busiVehicleinfo": { "id": 394330, "declarationid": 348598, "vehicletype": 3, "vehicletypename": "小型汽车、轻便摩托车(蓝色)", "vehicleuse": null, "vehiclecategory": 2, "model": "荣威I5", "color": null, "colorname": null, "firstregisterdate": null, "licenseplatenum": null, "licenseplatecolor": "蓝色", "platecolorid": "3", "vin": "LSJA36E35MZ110432", "enginenum": null, "price": null, "corpid": null, "receivingbankid": null, "hastheftinsurance": 0, "generalproductcount": 2, "yearsofservice": 3, "loanenddate": null, "ownerid": null, "ownername": "古秀丽", "idcard": null, "gender": null, "type": null, "parentid": null, "maritalstatus": null, "mobile": "18980877679", "tel": null, "email": null, "addresshome": null, "homelng": null, "homelat": null, "addressoffice": null, "officelng": null, "officelat": null, "postcodehome": null, "postcodeoffice": null, "accountnum": null, "isdelete": "0", "createdate": "2021-05-20T10:39:15.000+0800", "createby": "224", "updatedate": "2021-05-20T10:39:15.000+0800", "updateby": "224", "indemnitylimit": null, "beneficiary": null, "priceInsucorp": null, "capital": null, "vehiclepower": null, "vehiclePic": null, "vinEqual": true, "impvin": null, "complete": null }, "busiVehicleinfoDel": { "id": 394322, "declarationid": 348598, "vehicletype": 3, "vehicletypename": null, "vehicleuse": null, "vehiclecategory": 2, "model": "荣威I5", "color": null, "colorname": null, "firstregisterdate": null, "licenseplatenum": null, "licenseplatecolor": "蓝色", "platecolorid": "3", "vin": null, "enginenum": null, "price": null, "corpid": null, "receivingbankid": null, "hastheftinsurance": 0, "generalproductcount": null, "yearsofservice": 3, "loanenddate": null, "ownerid": null, "ownername": "古秀丽", "idcard": null, "gender": null, "type": null, "parentid": null, "maritalstatus": null, "mobile": "18980877679", "tel": null, "email": null, "addresshome": null, "homelng": null, "homelat": null, "addressoffice": null, "officelng": null, "officelat": null, "postcodehome": null, "postcodeoffice": null, "accountnum": null, "isdelete": "1", "createdate": "2021-05-20T10:27:42.000+0800", "createby": "10702", "updatedate": "2021-05-20T10:39:15.000+0800", "updateby": "224", "indemnitylimit": null, "beneficiary": null, "priceInsucorp": null, "capital": null, "vehiclepower": null, "vehiclePic": null, "vinEqual": true, "impvin": null, "complete": null }, "busiVehicleinfoFix": { "id": 135594, "declarationid": 348598, "vehicletype": 3, "vehicleuse": null, "vehiclecategory": 2, "vehiclepower": null, "model": "荣威I5", "color": null, "colorname": null, "firstregisterdate": null, "licenseplatenum": null, "platecolorid": "3", "licenseplatecolor": "蓝色", "vin": null, "enginenum": null, "price": null, "corpid": null, "receivingbankid": null, "hastheftinsurance": 0, "generalproductcount": null, "yearsofservice": 3, "loanenddate": null, "ownerid": null, "ownername": "古秀丽", "idcard": null, "gender": null, "type": null, "parentid": null, "maritalstatus": null, "mobile": "18980877679", "tel": null, "email": null, "addresshome": null, "homelng": null, "homelat": null, "addressoffice": null, "officelng": null, "officelat": null, "postcodehome": null, "postcodeoffice": null, "accountnum": null, "indemnitylimit": null, "beneficiary": null, "priceInsucorp": null, "isdelete": "0", "createdate": "2021-05-20T10:27:42.000+0800", "createby": "10702", "updatedate": "2021-05-20T10:27:42.000+0800", "updateby": "10702", "capital": null }, "busiVehiclecomb": null, "cmsPackageDto": { "id": 10, "packcode": "TC010", "packdesc": "有线设备1台+无线设备1台", "packcontent": "1台有线+1台无线+3年服务期", "isdelete": "0", "remark": null, "createdate": "2019-03-14T16:45:36.000+0800", "createby": "0", "updatedate": null, "updateby": null, "cmsPackprod": [ { "id": 17, "packageid": 10, "productid": 1, "prodqty": 1, "isdelete": "0", "createdate": "2019-03-14T16:58:13.000+0800", "createby": "0", "updatedate": null, "updateby": null, "cmsProduct": null }, { "id": 18, "packageid": 10, "productid": 2, "prodqty": 1, "isdelete": "0", "createdate": "2019-03-14T16:58:13.000+0800", "createby": "0", "updatedate": null, "updateby": null, "cmsProduct": null } ], "cmsProduct": [ { "id": 1, "prodcode": "YX001", "proddesc": "有线设备", "prodcategory": "P_WIRE", "prodmodelscope": null, "supplierid": null, "isdelete": "0", "remark": null, "produnit": "台", "createdate": "2019-03-14T16:42:49.000+0800", "createby": "0", "updatedate": null, "updateby": null, "yearsofservice": 3, "prodqty": 1 }, { "id": 2, "prodcode": "WX001", "proddesc": "无线设备", "prodcategory": "P_WIRELESS", "prodmodelscope": null, "supplierid": null, "isdelete": "0", "remark": null, "produnit": "台", "createdate": "2019-03-14T16:42:49.000+0800", "createby": "0", "updatedate": null, "updateby": null, "yearsofservice": 3, "prodqty": 1 } ], "insurance": null, "prodqty": 2, "packageprod": "有线设备1台+无线设备1台" }, "storageids": null, "userid": null, "corporateinfo": { "id": 31880, "corpcode": "XJQC", "corpname": "成都西江汽车销售有限公司", "corpshortname": "XJQC", "parentid": 10730, "parentname": "体系外", "corptype": "EXTERNAL", "corpcategory": null, "corpcategoryname": null, "source": null, "corplevel": 1, "tel1": null, "tel2": null, "tel3": null, "address": null, "addresslng": null, "addresslat": null, "contactperson": null, "area": "四川,成都,高新区", "isactive": "1", "isdelete": "0", "createdate": "2020-11-03T10:29:10.000+0800", "createby": "11618", "updatedate": "2020-11-03T10:29:10.000+0800", "updateby": "11618", "beneficiaryflag": null, "showorder": 0, "corporateinfos": null, "corpshort": null }, "declarebyname": "熊唯", "assignbyname": "熊唯", "impbyname": "四川成都毛强", "impvalidatebyname": "四川成都毛强", "reviewbyname": null, "declarefromname": "VAS系统", "impgroupname": "四川技术组", "platid": null, "declarereasonname": "新装报单", "reviewvin": null, "reviewplate": null, "reviewvehicletype": null, "reviewflag": false, "partsinstoflag": false, "insuranceinfo": null, "mileageBillPicList": null } } ``` ### 订单修改 PUT /business/orderNewBuild/custModify ```json { "externalvehicleid": "201119811521",//业务系统车辆ID "externalcustnum": "KH190531250628",//业务系统客户编号 "corpid": 5,//报单公司ID "ordertype": "INSTALL",//订单类型 "declaretype": "CUST",//报单类型 "vehiclestatus": 1,//车辆状态(1=已到,0=未到) "hastheftinsurance": 0,//是否有盗抢险(1=有,0=无) "packageid": 1,//套餐ID "loginidZh": "gz0119",//报单登陆人账号, "externalstatus": "1",//业务系统状态 "externalsystem": "ZH4.1",//业务系统名称 "externalid": "XM201119811510",//业务系统ID "contactname": "何晓波",//现场联系人姓名 "contactmobile": "18389323404",//现场联系人手机号码 "declareremark": "",//报单备注 "impapplydate": "2020-12-01T10:03:00.000Z",//申请施工时间 "impaddresscode": "110105",//施工地址编码 "impaddress": "北京市朝阳区朝阳北路北京像素南区4号楼0117号OK24小时便利店",//施工地址 "impaddresslng": 116.61695,//施工地址经度 "impaddresslat": 39.926122,//施工地址纬度 "busiVehicleinfo": {//报单车辆信息 "vehicletype": 3,//车类型 接口 /admin/vehicleInfo/query/vehicleplatecolor?page=1&limit=10000&isactive=1 "vehiclecategory": 1,//车辆分类(1=新车,2=二手车,3=资管追回) "model": "奥迪奥迪A62004款 1.8L 手动基本型", //车型 "vin": "LWLTFS2DXGL021763", //车架号 "corpid": 5,//报单公司 "hastheftinsurance": 0,//是否有盗抢险(1有0无) "ownername": "黄心",//车主姓名 "idcard": "230623197210058190",//身份证 "mobile": "13158965896",//电话 "colorname": "",//车辆颜色名称 "firstregisterdate": "2020-12-01T10:03:00.000Z",//车辆初始登记日期 "licenseplatenum": "川AQWERT",//车牌 "enginenum": "",//发动机号 "price": "200000",//车价(元) "addresshome": "ok",//家庭住址 "indemnitylimit": "1",//保单赔偿限额 "beneficiary": "",//保险受益人 "priceInsucorp": "1",//保险公司保费 "loanAmount": "150000", "capital": ""//资方(JYR=嘉易融) }, "declarefrom": "FIN4.1"//报单来源(VAS,ECT,YCH,FIN=集团车贷系统) "platformName":"放款平台", "platformId":"放款平台ID" } ``` <http://dev.wwvas.com:10001/#/modifyOrder?externalid=XM200320544735&externalcustnum=KH190531250185&externalvehicleid=200320544749&username=gz0119&loanAmount=50000&id=76134> | 参数 | 描述 | 示例 | | ----------------- | ---------- | -------------- | | externalid | 业务系统ID | XM201119811510 | | externalcustnum | 客户编号 | KH190531250628 | | externalvehicleid | 车辆ID | 201119811521 | | username | 客户经理账号 | gz0119 | | loanAmount | 贷款金额 | 150000 | | prodqty | 设备数量(套餐ID) | 1 | | id | 报单系统ID | | ### 完成报单通知 ``` @ApiModelProperty(value = "业务系统车辆id或业务系统id") private String id; @ApiModelProperty(value = "报单订单id") private String orderId; @ApiModelProperty(value = "报单订单号") private String orderNo; @ApiModelProperty(value = "订单类型(INSTALL=安装单,REMOVE=拆除单,REPAIR=维修单)") private String orderType; @ApiModelProperty(value = "车架号") private String carFrameNum; @ApiModelProperty(value = "gps当前订单状态 ") private String gpsIsDone; ``` ### ==取消订单== DELETE /business/carLoanRequest/cancelledOrder/orderno/{orderno} ### 根据projectId查询安装设备 GET /business/busiDeclaration/query/declarationDetail/externalid?externalid=100314 ### 车架号查询最新安装订单 GET /business/busiDeclaration/query/declarationDetail/vin?vin= ```json { "msg": "success", "code": 0, "data": { "id": 336452, "oriid": null, "orderno": "NBZH20210331139550", "ordertype": "INSTALL", "corpid": 6, "vehicleid": 739493, "declarereason": "1", "declareremark": null, "declaretype": "CUST", "declareby": "1023185", "declaredate": "2021-03-31T19:04:14.000+0800", "assignby": 1804, "assigndate": "2021-04-01T09:12:57.000+0800", "assignremark": null, "contactid": null, "contactname": "杨海英", "contactmobile": "13686751283", "vehiclestatus": 1, "servicestartdate": null, "serviceenddate": null, "hastheftinsurance": 1, "packageid": 10, "status": "6", "externalstatus": null, "externalsystem": "ZH4.1", "externalid": "1377151263265464321", "externalcustnum": "2869", "externalvehicleid": "504", "impapplydate": "2021-04-07T19:03:00.000+0800", "acceptdate": "2021-04-01T09:13:54.000+0800", "impactualstartdate": "2021-04-01T11:48:14.000+0800", "impactualenddate": "2021-04-01T11:52:30.000+0800", "impaddresscode": "440902", "impaddress": "广东省茂名市茂南区茂南开发区茂南大道西28号", "impaddresslng": 110.916452, "impaddresslat": 21.631287, "impgroupid": 279, "impby": 1002565, "impvin": "LVGBM51K0GG653761", "impplate": null, "impvehicletype": "3", "impvehiclecategory": "2", "impremark": "无线安装左侧C柱", "implateremark": null, "reviewby": null, "reviewdate": null, "reviewremark": null, "iscancelled": "1", "ectfinalremark": null, "userconfirmremark": null, "insurancedate": null, "actfinishdate": null, "attentionmatters": null, "rpFaultcode": null, "rpFaultremark": null, "rpCardstatus": null, "rpCheckresult": null, "rpActionresult": null, "isadd": "0", "isskip": null, "cancelremark": "车贷系统订单取消", "returnremark": null, "impvalidateby": 1002565, "impvalidatedate": "2021-04-01T11:48:14.000+0800", "declarefrom": "FIN4.1", "impstartaddress": "广东省茂名市化州市鉴江开发区大桥路", "impstartaddresslng": 110.64391, "impstartaddresslat": 21.672689, "impendaddress": "广东省茂名市化州市鉴江开发区大桥路", "impendaddresslng": 110.643897, "impendaddresslat": 21.672584, "insuranceby": null, "impmile": null, "unimpremark": null, "unimpremarkby": null, "unimpremarkdate": null, "canceldate": "2021-04-02T08:39:03.000+0800", "cancelby": 1, "orderprovince": "广东省", "ordercity": "茂名市", "ordercategory": "1", "agentName": null, "agentMobile": null, "loginidZh": "gd0341", "installMethod": null, "installMethodName": null, "currStatus": null, "currStatusName": null, "mileageRemark": null, "iscancelledExternal": null, "canceldateExternal": null, "busiImpdetails": [ { "id": 568413, "declarationid": 336452, "prodmodelid": 145, "installpositioncode": "37", "installpositioncodename": "方向盘下", "packid": 541298, "oripackid": null, "imppic1": null, "imppic2": null, "imppic3": null, "impdate": "2021-04-01T11:52:30.000+0800", "impby": "1002565", "actiontype": "INSTALL", "actiontypename": null, "onlinestatus": "O", "firstonlineposition": "广东省茂名市茂南区高山镇富文路", "impremark": null, "status": "1", "isactive": "1", "platid": 2, "accessorymodelid": null, "accessoryqty": null, "oriimpid": null, "isremoved": null, "repairReason": null, "repairReasonLabel": null, "repairReasonRemark": null, "busiPictures": [ { "id": 1279722, "pictype": "IMP", "linkid": 568413, "piclink": "template/20210401/928d4d68-6d2d-495f-be63-fd87f0327d8f.jpeg", "piccode": "20", "picdesc": "设备+铭牌", "isdelete": "0" }, { "id": 1279723, "pictype": "IMP", "linkid": 568413, "piclink": "VAS3/20210401/c1d2f4b3-bbc7-4ce8-87e9-005d592382d3.jpg", "piccode": "37", "picdesc": "方向盘下", "isdelete": "0" } ], "busiPicturesOrg": null, "detailImpby": null, "stoPackinfoDto": { "id": 541298, "prodid": 744011, "simid": 744936, "isactive": "1", "createdate": "2021-01-18T15:12:52.000+0800", "createby": "11238", "updatedate": "2021-01-18T15:12:52.000+0800", "updateby": "11238", "prodnum": "80222106344", "promodelid": 145, "promodelname": "MT02S", "promodelspec": "P1", "promodelspecname": "有线", "insuranceflag": "Y", "simnum": "1440269041254", "iccid": "89860426102071566504", "simmodelid": 243, "simmodelname": "30M三年物联卡(2020)", "simmodelspec": "C2", "simmodelspecname": "物联卡", "status": "INSTALL" }, "stoPackinfoDtoOrg": null }, { "id": 568414, "declarationid": 336452, "prodmodelid": 245, "installpositioncode": "31", "installpositioncodename": "左B柱", "packid": 538902, "oripackid": null, "imppic1": null, "imppic2": null, "imppic3": null, "impdate": "2021-04-01T11:52:30.000+0800", "impby": "1002565", "actiontype": "INSTALL", "actiontypename": null, "onlinestatus": "F", "firstonlineposition": null, "impremark": null, "status": "1", "isactive": "1", "platid": 2, "accessorymodelid": null, "accessoryqty": null, "oriimpid": null, "isremoved": null, "repairReason": null, "repairReasonLabel": null, "repairReasonRemark": null, "busiPictures": [ { "id": 1279724, "pictype": "IMP", "linkid": 568414, "piclink": "template/20210401/4b4b8a58-4ebb-48b4-b82b-0745a3ec47f7.jpeg", "piccode": "20", "picdesc": "设备+铭牌", "isdelete": "0" }, { "id": 1279725, "pictype": "IMP", "linkid": 568414, "piclink": "VAS3/20210401/f5ace34a-f1bb-45b5-93c1-df11a8a32261.jpg", "piccode": "31", "picdesc": "左B柱", "isdelete": "0" } ], "busiPicturesOrg": null, "detailImpby": null, "stoPackinfoDto": { "id": 538902, "prodid": 741615, "simid": 742540, "isactive": "1", "createdate": "2021-01-18T14:22:20.000+0800", "createby": "11238", "updatedate": "2021-01-18T14:22:20.000+0800", "updateby": "11238", "prodnum": "81010701378", "promodelid": 245, "promodelname": "MT07C", "promodelspec": "P2", "promodelspecname": "无线", "insuranceflag": "N", "simnum": "1440269043636", "iccid": "89860426102071568886", "simmodelid": 243, "simmodelname": "30M三年物联卡(2020)", "simmodelspec": "C2", "simmodelspecname": "物联卡", "status": "INSTALL" }, "stoPackinfoDtoOrg": null } ], "oldbusiImpdetails": null, "busiPictures": [ { "id": 1279720, "pictype": "DC", "linkid": 336452, "piclink": "VAS3/20210401/0ca4ea10-e511-4399-b5e4-8c51cd3ebbe0.jpg", "piccode": "1", "picdesc": "车辆照片", "isdelete": "0" } ], "busiVehicleinfo": { "id": 739493, "declarationid": null, "vehicletype": 3, "vehicletypename": "小型汽车、轻便摩托车(蓝色)", "vehicleuse": null, "vehiclecategory": 2, "model": "丰田 凯美瑞 2016款 凯美瑞 2.0G 十周年纪念领先版", "color": null, "colorname": null, "firstregisterdate": null, "licenseplatenum": null, "licenseplatecolor": null, "platecolorid": null, "vin": "LVGBM51K0GG653761", "enginenum": null, "price": 153000.0, "corpid": null, "receivingbankid": null, "hastheftinsurance": null, "generalproductcount": null, "yearsofservice": null, "loanenddate": null, "ownerid": 350798, "ownername": "周俊宇", "idcard": "44098119880518371X", "gender": null, "type": null, "parentid": null, "maritalstatus": null, "mobile": "15218346048", "tel": null, "email": null, "addresshome": null, "homelng": null, "homelat": null, "addressoffice": null, "officelng": null, "officelat": null, "postcodehome": null, "postcodeoffice": null, "accountnum": null, "isdelete": null, "createdate": null, "createby": null, "updatedate": null, "updateby": null, "indemnitylimit": null, "beneficiary": null, "priceInsucorp": null, "capital": null, "vehiclepower": null, "vehiclePic": null, "vinEqual": true, "impvin": null, "complete": null }, "busiVehicleinfoDel": null, "busiVehicleinfoFix": null, "busiVehiclecomb": null, "cmsPackageDto": { "id": 10, "packcode": "TC010", "packdesc": "有线设备1台+无线设备1台", "packcontent": "1台有线+1台无线+3年服务期", "isdelete": "0", "remark": null, "createdate": "2019-03-14T16:45:36.000+0800", "createby": "1", "updatedate": "2021-08-20T13:06:48.000+0800", "updateby": "1", "cmsPackprod": [ { "id": 17, "packageid": 10, "productid": 1, "prodqty": 1, "isdelete": "0", "createdate": "2019-03-14T16:58:13.000+0800", "createby": "1", "updatedate": "2021-08-20T13:07:44.000+0800", "updateby": "1", "cmsProduct": null }, { "id": 18, "packageid": 10, "productid": 2, "prodqty": 1, "isdelete": "0", "createdate": "2019-03-14T16:58:13.000+0800", "createby": "1", "updatedate": "2021-08-20T13:07:44.000+0800", "updateby": "1", "cmsProduct": null } ], "cmsProduct": [ { "id": 1, "prodcode": "YX001", "proddesc": "有线设备", "prodcategory": "P_WIRE", "prodmodelscope": null, "supplierid": null, "isdelete": "0", "remark": null, "produnit": "台", "createdate": "2019-03-14T16:42:49.000+0800", "createby": "0", "updatedate": null, "updateby": null, "yearsofservice": 3, "prodqty": 1 }, { "id": 2, "prodcode": "WX001", "proddesc": "无线设备", "prodcategory": "P_WIRELESS", "prodmodelscope": null, "supplierid": null, "isdelete": "0", "remark": null, "produnit": "台", "createdate": "2019-03-14T16:42:49.000+0800", "createby": "0", "updatedate": null, "updateby": null, "yearsofservice": 3, "prodqty": 1 } ], "insurance": null, "prodqty": 2, "packageprod": "有线设备1台+无线设备1台" }, "storageids": null, "userid": null, "corporateinfo": { "id": 6, "corpcode": "170824133545", "corpname": "天祥广东公司", "corpshortname": "zhgdgs", "parentid": 11001, "parentname": "天祥海南公司", "corptype": "INTERNAL", "corpcategory": "GROUP", "corpcategoryname": "集团公司", "source": "1", "corplevel": 1, "tel1": "13876956717", "tel2": null, "tel3": null, "address": "康顺路33号虹都大厦C栋801", "addresslng": null, "addresslat": null, "contactperson": null, "area": "广东,湛江,赤坎区", "isactive": "1", "isdelete": "0", "createdate": "2017-05-10T10:53:50.000+0800", "createby": "10668", "updatedate": "2017-12-14T16:19:00.000+0800", "updateby": "219", "beneficiaryflag": null, "showorder": 2, "corporateinfos": null, "corpshort": null }, "declarebyname": "杨海英", "assignbyname": "王静", "impbyname": "彭春燕", "impvalidatebyname": "彭春燕", "reviewbyname": null, "declarefromname": "集团车贷系统4.1", "impgroupname": "广东技术组", "platid": null, "declarereasonname": null, "reviewvin": null, "reviewplate": null, "reviewvehicletype": null, "reviewflag": false, "partsinstoflag": false, "insuranceinfo": null, "mileageBillPicList": null } } ``` { orderno vehicleid busiImpdetails:[ { prodmodelid installpositioncode packid oriimpid } ] } ### 提交拆除订单 POST /business/orderVindicateRemove/custstart { "corpid": 1,//报单公司 "ordertype": "REMOVE",//订单类型(INSTALL=安装单,REMOVE=拆除单,REPAIR=维修单) "declaretype": "CUST",//报单类型(自主保单,客户保单) "vehicleid": 607089,//拆除车辆ID "rpFaultremark": "test",//维修拆除单故障现象描述 "declarereason": "2",//拆除原因 "busiImpdetails": [ { "prodmodelid": 56,//设备型号ID "installpositioncode": "25",//安装位置代码 "packid": 379,//安装套餐ID "onlinestatus": "N", "id": "", "orilmpid": 77508 } ], "impapplydate": "2021-12-26 16:00:00",//申请施工时间 "impaddresscode": "510108", //施工地址编码 "impaddress": "四川省成都市成华区青衣江路成都东站",//施工地址 "impaddresslng": 104.142672,//施工地址经度 "impaddresslat": 30.629002,//施工地址纬度 "declareremark": "备注",//备注 "contactname": "",//联系人 "contactmobile": "18985859696",//联系电话 "declarefrom": "FIN4.1"//报单来源 "loginidZh":"gz001" } ### 拆除原因 declarereason 1 结清拆除 ==2 客户退单== 3 设备换装 4 多装或错装 ==5 其它== 6 客户退单(自拆) ### 车架号查询最新安装订单 GET /business/query/lastfinish/declarationDetail?vin= ### ==推送数据== { "carFrameNum": "WP1AA29Y5JDA04849", //车架号 "gpsIsDone": "6", //状态 参考报单状态 "id": "134196", // 业务系统 externalvehicleid "orderId": "514681", //VAS系统ID "orderNo": "NBZH20230523320160",//VAS系统订单号 "orderType": "INSTALL", //工单类型 "prods": [ //设备信息 { "prod": "19122034511", //设备号 "istate": 1000 //GPS状态 }, { "prod": "14184032069", "istate": 3 } ], "transmissionField": "张明(13980545381)" //施工人信息 } ### 通盛自行安装 POST <http://user.test.wwvas.net:10001/basic/c/third/vehicle/platpoint> { "model":"TESLA", //车型 "vin":"ZXC1122333",//车架 "licenseplatenum":"川A99999", //车牌 "prodNum":"999988887777",//设备号 "simNum":"777788889999",//SIM卡号 "sys":"TONGSHENG"//系统标识 } //响应 { "msg": "success", "code": 0 } ### 报单状态 1 待派单 2 待接单 3 待施工 4 施工中 5 保险出单 6 订单完成 7 待退保 8 取消订单 ### 订单推送 ```json { "carFrameNum": "SALAN2V67GA844645", //车架号, "orderType": "INSTALL" ,//订单类型, "orderNo": "NBZH20230912356867", //订单号, "prods": ["123456","333222"] ,//设备号 数组, "transmissionField": "名字(手机号)" ,//安装技术人, "orderId": "549828" ,//订单ID, "gpsIsDone": "2" ,//订单状态, "externalsystem":"三方系统标识", "externalid":"三方系统ID", "externalvehicleid":"三方系统车辆ID" } ``` 查询车辆位置 [http://mqtt.wwvas.com:9209/gisapiservice/Vehicle/gpsinfo?vin=](http://mqtt.wwvas.com:9209/gisapiservice/Vehicle/gpsinfo?vin=LYVUE25D2LB607728)
zhangyang
2025年8月20日 17:15
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
PDF文档(打印)
分享
链接
类型
密码
更新密码