附件七:XXX系统-接口设计说明书_第1页
附件七:XXX系统-接口设计说明书_第2页
附件七:XXX系统-接口设计说明书_第3页
附件七:XXX系统-接口设计说明书_第4页
附件七:XXX系统-接口设计说明书_第5页
已阅读5页,还剩19页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

XXXX系统接口设计河南新辰环保科技有限公司2020年10月III1登录接口功能登录URLhttp://xxx/beyongd/xinchen/login_new支持格式JSONHTTP请求方式PUT入参{"user"{"user":{:"password:"123456"/密码"platform:/企业类型产废4运输5处置6环保局1"username:"test123/账号}}{{"result":{"appUser":{"enterpriseCategory":4,"enterpriseId:20587,"enterpriseName":河南东方红导弹制造有限公司,"isDF:,"orgId:20587,"orgSort":"0_1_80561_90561_200646_205871","orgType":1,"roleName":"专业版","userId":405239,"userName":"李明","weightManualInput:false},"msg":"登录成功!","success":true}}2退出登录接口功能退出登录URLhttp://xxx/beyongd/xinchen/exit支持格式JSONHTTP请求方式PUT入参{"user":{{"user":{"userId":"405239"/用户id}}{{"resultMessage:{"message":"退出成功!","success":true,"weightManualInput:false}}3查询企业URLhttp://xxx/beyongd/xinchen/query/enterprise支持格式JSONHTTP请求方式PUT入参{{"user":{"enterpriseName":,"orgId:"205871"/登录返回的}}返回{{"result":{"data":[{"danWeiDiZhi":"河南省郑州市新郑市","faRen":"刘洋","huanBaoFuZeRen":"王震","id":205871,"name:河南东方红导弹制造有限公司"},""],"success":true}}4联单查看联单查看URLhttp://xxx/beyongd/xinchen/liandan支持格式JSONHTTP请求方式PUT入参{{"liandan":{"desc":"1",//默认排序1(必传)"sort":"0_1_80561_90561_200646_205871",//登录返回的orgsort(必传)"start":1,//分页(必传)"status":"1",//1未确认2产废确认3运输已确认4已办结5已取消6未确认(非必传项,不传代表全部)"wastename:/危废名称(非必传项)"wastecode:/危废代码(非必传项)"qty":"",//起始重量(非必传项)"qty1":"",//结束重量(非必传项)"beginTime":"",//开始时间(非必传项)"endTime:/结束时间(非必传项)"wasteType:/危废类别(非必传项)"sort":"",//行政区域(非必传项)"cfname":/产废单位(非必传项)"czname":/处置单位(非必传项)}}返回{{"result":{"count":1,"data":[{"YueCl:,"buttJointNo:2019410190000618,"cfaddr":"河南省郑州市新郑市","cfid":205871,"cfname":"河南东方红导弹制造有限公司","cftel":"0371‐65738854","cfzipcode":450000,"chuKuId:3139,"createdAt":"2019‐10‐1510:57:00","czId:21643,"czSignature":"苏有朋","czaddr":"河南省周口市郸城县小左庄","czname":"周口处置公司","cztel":"0394‐52362211","czzipcode":451100,"dangerchengfen":"矿物油","danwei":"吨","expanded":false,"fayunrensignature":"贾丽芳","features":"毒性;易燃性","guid":"EC001DFBDF5445889342C6042C7A769A","hbjPrintStatus":1,"id":54187,"isManual":0,"jinjicuoshi":"安全措施","leaf":false,"liandanType:,"material:铁,"packtype"桶","qty":"0.0200","specificationModel":,"status":1,"transferrestqty":"0.0200","transfertime":"2019‐10‐15","transfertotalqty":"0.0200","updatedAt":"2019‐10‐1510:57:01","waiyunmudi":"D16","warehouseingStatus":0,"wastecode":"900‐214‐08","wastename:废矿物油,"wfleibie":2,"xingtai":"液态","ysId":216428,"ysaddr":"河南省周口市郸城县丁楼","ysbegin":"河南东方红导弹制造有限公司","yschengyunren":"苏轼","ysend":"周口处置公司","ysname":"周口运输公司","yspaihao":"豫P23523","ystel":"0394‐85236414","ystime":"2019‐10‐15","ysxinghao":"中型卡车","yszipcode":451100,"yundadi":"周口处置公司"}],"success":true}}5获取标签信息接口功能获取标签信息URLhttp://xxx/beyongd/xinchen/scanLabel支持格式JSONHTTP请求方式PUT入参{{"label":{"enterpriseId:"205871","operator":1,//产废入库1其他入库2出库3转库4"platform":4,//见登录"qrCode":"320191016242802",//标签号"userId":"405239"//用户id}}返回{"{"resultMessage:{"label":{"cangku":"二号仓库","chanshengyuan":"生产工艺过程中产生","contact":"贾丽芳","containerType:,"createdAt":"2019‐09‐2815:56:29","dangerCase":"毒性;易燃性","dangerType":1,"entId:20587,"gongxu":"喷涂","harmFeature":"油漆","huaxuechengfen":"有机溶剂","id":239984,"ipTel:"0571‐52637622,"isBaofei":0,"isChuku:,"isPrint":1,"isRuku":,"isZhentie":0,"is_re_print":0,"labelType":1,"liandanNo:2019092830512,"lingyou":"贾丽芳","material:铁,"operater":"test123","produceCompany":河南东方红导弹制造有限公司,"produceCompanyAddr":河南省郑州市中原区段庄北街附近,"qrCode":"410100A0211900047491900129","rkWeight":0,"safetyCuoshi":"安全措施","shifter":"贾丽芳","specificationModel":,"0571‐52637654","userId":40523,"wasteCode:"900‐047‐49","wasteId:41010,"wasteName:实验室废液,"wasteType:其他废物/HW49,"wfLeiBie":2,"zhuyaochengfen":"有机溶剂"},"message":"获取标签信息成功!","success":true}}6获取仓库库位接口功能获取仓库库位URLhttp://xxx/beyongd/xinchen/warehouse支持格式JSONHTTP请求方式PUT入参{{"receiveMessage":{"enterpriseId:"205871"}}返回{{"resultMessage:{"message":"获取仓库/库位成功!","success":true,"warehouses":[{"repositoryId":1911,"repositoryName":"一号仓库","step":0,"warehouseLocations":[{"spaceId:1050,"spaceName:默认库位"},{"spaceName:测试仓位_DJY"}]},{"repositoryName":"测试库位_DJY","step":0}]}}7入库操作接口功能入库操作URLhttp://xxx/beyongd/xinchen/inventoryIn支持格式JSONHTTP请求方式PUT入参{"{"receiveMessage":{"csRukuDetails:[{"qrCode":"41018400000900041491900077"}],"enterpriseType":4,"rukuCs":{"carNo":"carNo_test",//脏数据"createdAt":"CreatedAt_test",//脏数据"dangerFeatures":"毒性;易燃性",//标签里的信息"entId:"205871"/企业id"entName:河南东方红导弹制造有限公司/当前企业"locationId":"10505/库位id"locationName:默认库位/库位名称"qty":"1",//标签数量"userId":"405239","userName:李明,"warehouseId:"1911/仓库id"warehouseName:一号仓库/仓库名称"wasteCode:"900‐041‐49"/危废代码"wasteId:"409141"/危废id"wasteName:油漆桶/危废名称"wasteType:其他废物/HW49/危废类别"weight":"2/入库重量"weightNumber:"we‐01‐0868440037572947/设备编号}}}返回{{"resultMessage:{"message":"入库成功!","success":true}}8出库获取车卡信息接口功能出库获取车卡信息URLhttp://xxx/beyongd/xinchen/scanCard支持格式JSONHTTP请求方式PUT入参{{"receiveMessage":{"enterpriseId":"205871","rfid":"c368"}}返回{{"resultMessage:{"carNo":"豫P23523",//车牌号"czQyName":"周口处置公司",//处置公司"driverName":"苏轼",//司机名称"message":"获取车辆信息成功!","success":true,"ysQyName:周口运输公司/运输公司}}9出库操作接口功能出库操作URLhttp://xxx/beyongd/xinchen/inventOut支持格式JSONHTTP请求方式PUT入参{{"receiveMessage":{"chukuCs":{"carNo":"豫P23523",//车牌号"cfId":"205871",//产废企业id"cfName":"河南东方红导弹制造有限公司",//产废名称"chukuType":"委外处置",//出库类型"createdAt":"CreatedAt_test","qty":"1",//出库总标签数"rfid":"FEAF6231",//车牌号"userId":"405239","userName:李明,"warehouseId:"0,"warehouseName:"djy_test/脏数据"wasteCode:"900‐214‐08"/危废代码"wasteId:"410711"/危废id"wasteName:废矿物油/危废名称"wasteType:废矿物油/HW08/危废类别"weight":"2/出库总重量},"chukuCsDetail:[{"qrCode":"320191016242802",//出库的标签号"weight":"2"//标签重量}],"enterpriseType":/企业类型产废4处置6}}返回{{"resultMessage:{"message":"出库成功!","success":true}}10标签查询接口功能标签查询URLhttp://xxx/beyongd/xinchen/labelentRecorder支持格式JSONHTTP请求方式PUT入参{{"label":{"operator":0,//默认0"platform":0,//默认0标签号"userId":"405239"}}返回{{"resultMessage:{"label":{"cangku":"一号仓库",":"chanshengyuan":"生产工艺过程中产生","contact":"贾丽芳","containerType:,"createdAt":"2019‐10‐1610:06:54","dangerCase":"毒性;易燃性","dangerType":1,"entId:20587,"gongxu":"喷涂","harmFeature":"油漆","huaxuechengfen":"矿物油","id":242802,"ipTel:"0571‐52637622,"isBaofei":0,"isChuku:,"isPrint":1,"isRuku":,"liandanNo:2019101630812,"lingyou":"贾丽芳","material:铁,"operater":"test123","produceCompany":"河南东方红导弹制造有限公司","produceCompanyAddr":"河南省郑州市中原区段庄北街附近","qrCode":320191016242802,"rkWeight:,"safetyCuoshi":"安全措施","shifter":"贾丽芳","specificationModel":,"userId":40523,"wasteCode:"900‐214‐08","wasteId:41071,"wasteName:废矿物油,"wasteType:废矿物油/HW08,"weight":,"wfLeiBie":2,"zhuyaochengfen":"矿物油"},"labelEvents":[{"createdAt":"2019‐10‐1617:41:33","eventName":"出库","handleName":李明,"id":429643,"qrCode":320191016242802},{"createdAt":"2019‐10‐1610:12:13","eventName":"入库","handleName":李明,"id":429347,"qrCode":320191016242802},{"createdAt":"2019‐10‐1610:12:13","eventName":"贴标","handleName":李明,"id":429346,"qrCode":320191016242802},{"eventName:测试标签事件"}],"message":"查询标签的历史事件成功!","success":true}}11获取电子锁报警列表接口功能获取电子锁报警列表URLhttp://xxx/beyongd/xinchen/evelist支持格式JSONHTTP请求方式GET入参??alarmDate2019‐1‐17/报警时间&enterpriseId20127/企业id&alarmTypes=开锁//报警类型&page=1//分页当前页码&size=15//分页每页总数量返回{{"开锁":{"content":[{"alarmDate:"2019‐10‐1709:57:39,"alarmType:开锁,"createDate":1571277459836,"detail":"","enterpriseId":201271,"id":34798,"point":[//经纬度113.83112322902804,34.79545115471673],"state":3,"systemCode":"1002,"terminalId":"735180205108,//电子锁id"type":2}],"first":false,"last":false,"number":,"numberOfElements:1,"size":15,"totalElements:26,"totalPages":18}}12获取电子锁报警类型接口功能获取电子锁报警信息一级页面&列表URLhttp://xxx/beyongd/xinchen/alert支持格式JSONHTTP请求方式GET入参?page=?page=1//当前页码&size=15//每页数量&alarmType/报警类型13开锁,是否可以开锁接口功能是否可以开锁URLhttp://xxx/beyongd/xinchen/open支持格式JSONHTTP请求方式GET入参/xxx/xxx//企业id14开锁,申请开锁接口功能是否可以开锁URLhttp://xxx/beyongd/xinchen/oplockment支持格式JSONHTTP请求方式POST入参{{"enterpriseId:/企业id"enterpriseName":/企业名称"reason":"",//开锁原因"remarks:/备注"terminalId":/电子锁id"userId":/用户id"userName:/用户名}15获取电子锁开锁记录接口功能获取电子锁开锁记录URLhttp://xxx/beyongd/xinchen/oprecord支持格式JSONHTTP请求方式GET入参""?terminalId="+terminalI/电子锁id+"&date="+tvDate.geTexttString().tri/时间+"&page="+(pageIndex+)/当前页+"&size=15/每页数量16获取电子锁绑定解锁列表接口功能获取电子锁绑定解锁列表URLhttp://xxx/beyongd/xinchen/lockbindunbind支持格式JSONHTTP请求方式GET入参""?userId="+SPUtilget(mActivity,SPContant.USER_ID,")tString()+"&page=1"+"&size=300;17获取子锁除绑定接口功能获取电子锁解除绑定URLhttp://xxx/beyongd/xinchen/fare支持格式JSONHTTP请求方式GET入参""/"+bean.geId()/电子锁id18绑定电子锁接口功能绑定电子锁URLhttp://xxx/beyongd/xinchen/lock/upTermialId支持格式JSONHTTP请求方式GET入参""?terminalId="/电子锁id+"&vehicleNumber="/车牌号+"&userName="/用户名+"&userId="/用户id19电子锁状态接口功能电子锁状态URLhttp://xxx/beyongd/xinchen/elestate支持格式JSONHTTP请求方式GET入参""?terminalId="/电子锁id20获取电子锁密码接口功能获取电子锁密码URLhttp://xxx/beyongd/xinchen/elePwd支持格式JSONHTTP请求方式GET入参""?terminalId="/电子锁id21获取大地磅重量数据接口功能获取大地磅重量数据URLhttp://xxx/beyongd/xinchen/weight/getWeight支持格式JSONHTTP请求方式POST入参{"sn":{"sn":"0F0F0F0F3B9AC9F7"}返回{{"success":true,"data":[{"bei2":"","secondTime":"0‐00‐0000

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论