WebService接口说明文档

合集下载

驰骋工作流引擎-Webservice接口说明文档

驰骋工作流引擎-Webservice接口说明文档

驰骋工作流引擎-Webservice接口说明文档关键词:工作流引擎接口说明驰骋工作流接口参数详解接口 LocalWSI/*** 待办* @param userNo 用户编号* @param sysNo 系统编号,为空时返回平台所有数据* @return*/public String DB_T odolist(String userNo, String sysNo);/*** 获得在途* @param userNo 用户编号* @param sysNo 系统编号,为空时返回平台所有数据* @return* @throws Exception*/public String DB_Runing(String userNo, String sysNo) throws Exception;/*** 我可以发起的流程* @param userNo 用户编号* @param sysNo 系统编号,为空时返回平台所有数据* @return返回我可以发起的流程列表.* @throws Exception*/public String DB_StarFlows(String userNo, String sysNo) throws Exception;/*** 我发起的流程实例* @param userNo 用户编号* @param sysNo 系统编号,为空时返回平台所有数据* @param pageSize 每页的长度* @param pageIdx 第几页* @return*/public String DB_MyStartFlowInstance(String userNo, String sysNo, int pageSize, int pageIdx);/*** 创建WorkID* @param flowNo 流程编号* @param userNo 工作人员编号* @return一个长整型的工作流程实例* @throws Exception*/public long CreateWorkID(String flowNo, String userNo) throws Exception;/*** 执行发送* @param flowNo 流的程模版ID* @param workid 工作ID* @param ht 参数,或者表单字段.* @param toNodeID 到达的节点ID.如果让系统自动计算就传入0* @param toEmps 到达的人员IDs,比如:zhangsan,lisi,wangwu. 如果为Null就标识让系统自动计算* @param userNo 用户的登录名,此参数用于登录* @return发送的结果信息.* @throws Exception*/public String SendWork(String flowNo, long workid, Hashtable ht, int toNodeID, String toEmps, String userNo) throws Exception;/*** 保存参数* @param workid 工作ID* @param paras 用于控制流程运转的参数,比如方向条件. 格式为:@JinE=1000@QingJaiTianShu=100* @param userNo 用户的登录名,此参数用于登录* @throws Exception*/public void SaveParas(long workid, String paras, String userNo) throws Exception;/*** 获得下一个节点信息* @param flowNo 流程编号* @param workid 流程实例* @param paras 方向条件所需要的参数,可以为空。

CMD-webservice接口说明书

CMD-webservice接口说明书

CMD之webservice接口说明书拟制日期审核日期批准日期修订历史记录1接口综述●接口链接类似:http://10.95.87.39:8080/cmd/api/v1/me/waybill/order●以上http://10.92.2.29:8080是测试环境,生产请用http://10.109.142.11:8080或http://10.109.142.12:8080●参数传递方式:GET/POST方式(暂不提供PUT和DELETE方式)●加密压缩规则:不加密,压缩和解压由CXF框架完成●编码格式:UTF-82网络访问关系访问CMD接口需开通以下网络访问关系:3接口列表3.1进口运单读取3.1.1接口简介●根据开始发运日期和结束发运日期来查询材料信息。

●接口示例:●接口链接类似:http://10.95.87.39:8080/cmd/api/v1/me/waybill/order3.1.2请求参数●Key-Value键值对的形式传入●参数说明3.1.3使用说明●如示例中http://10.95.87.39:8080/cmd/api/v1/me/waybill/order是接口在服务器端的目录,问号后面带传入的参数,参数形式startDate=?&endDate=?以上http://10.92.2.29:8080是测试环境,生产请用http://10.109.142.11:8080或http://10.109.142.12:80803.1.4返回格式Json格式3.1.5返回结果结果集字段说明表运单航材基本信息返回结果示例[{"weight":111.0,"orderNo":"111","flightNo":"11","orderMaterialDt o":[],"attachmentId":"http:\/\/10.89.113.184\/roNo\/downLoadDocument. do?fileId=0901ccf8800ed090&fileName=SupplierPrice_20150623161209.pdf& supplierno=GOODRD&fileSize=9138","remark":"机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部机务工程部","userId":"8ad9f138549e78100154a4055cec0061","freight":"11.0","packType":"wooden","lastModifyDate":"2016-07-0810:57","shipDate":"2016-07-08","currencyType":"USD"},{"weight":666.0, "orderNo":"555","flightNo":"666","orderMaterialDto":[{"orderNo":"555" ,"totalWeight":110.0,"contractNo":"027020534","arriverGoodsNum":5,"pi eceNo":"341261A44R01","currencyType":"US","totalPrice":0.0}],"attachm entId":"http:\/\/10.89.113.184\/roNo\/downLoadDocument.do?fileId=0901 ccf8800ec9cf&fileName=%25E5%258D%2597%25E8%2588%25AA%25E8%25BF%2590%2 5E4%25BB%25A3.pdf&supplierno=GOODRD&fileSize=78559","remark":"wwwwwww wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww","userId":"8ad9f138549e7810 0154a4055cec0061","freight":"666.0","packType":"other","lastModifyDat e":"2016-08-1710:17","shipDate":"2016-07-26","currencyType":"CNY"},{"weight":1.0,"o rderNo":"999-44234352","flightNo":null,"orderMaterialDto":[{"orderNo" :"999-44234352","totalWeight":0.0,"contractNo":"R14011554","arriverGo odsNum":1,"pieceNo":"018550-000","currencyType":"RM","totalPrice":0.0 }],"attachmentId":"http:\/\/10.89.113.184\/roNo\/downLoadDocument.do? fileId=0901ccf8800ec9ce&fileName=%25E5%259C%25A8MyEclipse%25E4%25B8%2 5AD%25E4%25BD%25BF%25E7%2594%25A8ant.pdf&supplierno=Leader&fileSize=2 43435","remark":null,"userId":"8ad9f13855a479b50155be41defb0064","fre ight":"200.0","packType":"paper","lastModifyDate":"2016-07-0615:24","shipDate":"2016-07-07","currencyType":"USD"},{"weight":1.0,"o rderNo":"1234","flightNo":"111","orderMaterialDto":[{"orderNo":"1234" ,"totalWeight":0.0,"contractNo":"R13051057","arriverGoodsNum":1,"piec eNo":"6277<script>alert(1)<\/script>3-304MOD2","currencyT ype":"RM","totalPrice":0.0},{"orderNo":"1234","totalWeight":2.0,"cont ractNo":"R13063107","arriverGoodsNum":1,"pieceNo":"0154JU","currencyT ype":"US","totalPrice":0.0}],"attachmentId":"http:\/\/10.89.113.184\/ roNo\/downLoadDocument.do?fileId=0901ccf8800ed08f&fileName=SupplierPr ice_20150623153414.pdf&supplierno=GOODRD&fileSize=20505","remark":nul l,"userId":"8ad9f138549e78100154a4055cec0061","freight":"123.0","pack Type":"wooden","lastModifyDate":"2016-07-0810:54","shipDate":"2016-07-08","currencyType":"EUR"},{"weight":22334. 0,"orderNo":"ffddfff","flightNo":null,"orderMaterialDto":[{"orderNo": "ffddfff","totalWeight":0.5,"contractNo":"R14008898","arriverGoodsNum ":1,"pieceNo":"0102ME2GE","currencyType":"US","totalPrice":989.53},{" orderNo":"ffddfff","totalWeight":2.0,"contractNo":"R13063109","arrive rGoodsNum":1,"pieceNo":"WW","currencyType":"US","totalPrice":4722.87} ,{"orderNo":"ffddfff","totalWeight":0.0,"contractNo":"X14100535","arr iverGoodsNum":1,"pieceNo":"7001330H03","currencyType":"US","totalPric e":0.0},{"orderNo":"ffddfff","totalWeight":0.0,"contractNo":"X1410053 5","arriverGoodsNum":1,"pieceNo":"7001330H03","currencyType":"US","totalPrice":0.0},{"orderNo":"ffddfff","totalWeight":0.0,"contractNo":"X 14100535","arriverGoodsNum":1,"pieceNo":"7001330H03","currencyType":" US","totalPrice":0.0}],"attachmentId":"http:\/\/10.89.113.184\/roNo\/ downLoadDocument.do?fileId=0901ccf8800ec9cd&fileName=11.pdf&suppliern o=Leader&fileSize=149449","remark":null,"userId":"8ad9f13855a479b5015 5be41defb0064","freight":"2234.0","packType":"wooden","lastModifyDate ":"2016-07-0615:13","shipDate":"2016-07-14","currencyType":"USD"},{"weight":14.0," orderNo":"297-60131820","flightNo":null,"orderMaterialDto":[{"orderNo ":"297-60131820","totalWeight":0.5,"contractNo":"130207432","arriverG oodsNum":10,"pieceNo":"11-6557-5A","currencyType":"US","totalPrice":8 5.15}],"attachmentId":"http:\/\/10.89.113.184\/roNo\/downLoadDocument .do?fileId=0901ccf8800ee175&fileName=lru_spare_parts_list.pdf&supplie rno=MPI&fileSize=146020","remark":null,"userId":"8ad9f13856439c3b0156 543948320063","freight":"190.0","packType":"paper","lastModifyDate":" 2016-08-04 14:45","shipDate":"2016-08-04","currencyType":"USD"}]。

WEBSERVICE接口实例说明文档

WEBSERVICE接口实例说明文档

WebService接口说明文档文档说明本文档主要讲述如何用C Sharp创建一个简单的Web Service接口,并使用Java调用这个Web Service接口。

准备工作系统环境:安装JDK1.6或更新版本开发工具:Microsoft Visual Studio2012、MyEclipse10.5、axis2-1.6.2C Sharp服务端1.首先,创建一个Web Service项目。

依次点击:文件—新建—项目,在弹出的新建项目窗口中选择Web下的空Web应用程序。

如下图:2.接下来我们需要创建我们的Web Service接口实现文件。

鼠标右击我们的项目,依次点击:添加—新建项,在弹出窗口中选择Web服务。

可修改新建项的文件名,注意文件名后缀后.asmx。

如下图:新建完成后我们的项目结构如下:3.打开我们新建的MyService.asmx下的MyService.asmx.cs文件,可以看到其中已经有默认的HelloWorld方法。

我们可以直接运行查看下运行的效果,效果如下图:点击HelloWorld,再点击调用可以看到页面返回:4.接下来我们完善我们的Web Service接口功能。

主要对Web Service接口进行参数类型的测试,文本型、布尔型、数值型、类(Class)等。

新增Add()等运算方法:新增strcat()连接字符串方法:新增GetBool()返回布尔值方法:新增GetTest()返回测试类,并新增Test类运行我们的项目,可以看到我们的结果如下图:点击add方法测试:输入add的参数i和j点击调用按钮,可以看到返回计算结果:5.到此为止我们C Sharp创建的Web Service程序完成。

接下来看Java如何调用我们的Web Service接口。

Java调用Web Service准备对于一个Web Service接口我们当前只知道访问的地址,我们如何用Java去访问接口呢?已知Web Service接口地址:http://localhost:11766/MyService.asmx?WSDLJava调用Web Service的方式有以下1.使用HttpClient2.使用Xfire3.使用axis2本文档示例选择的是axis2,首先到axis2网站下载axis2,网址:/axis2/java/core/download.cgi当前最新版本1.6.2。

webservice第三方应用配置接口调用说明文档

webservice第三方应用配置接口调用说明文档

DCIwebservice第三方应用配置接口调用说明文档配置:Ip地址:管理员为第三方应用配置验证IP地址,第三方应用调用webservice接口需与此配置IP地址匹配,验证才会通过。

Url地址:为第三方应用所配置的作业回执消息的url地址,作业执行完成后,如果第三方应用订阅该作业url消息回执,系统会将作业回执消息发送给此地址。

Email地址:为第三方应用所配置的作业邮件回执地址,作业执行完成后,如果第三方应用订阅该作业email消息回执,系统会将作业回执消息发送给此地址。

服务授权数配置:配置第三方应用能够同时调用作业运行的个数,(例如配置为5,当第三方应用授权的作业中已经有5个作业正在执行,那么第三方应用将不能调用执行更多的作业)。

参数:Sequence:第三方应用授权序列号,由管理员添加第三方应用时系统自动创建,也是第三方应用执行webservice方法中的身份识别码,由管理员发放给第三方应用。

jobId:执行作业的标志码,用来识别第三方应用所管理作业的唯一标识。

orderType:第三方应用订阅消息回执服务时的参数,1为邮件回执,2为url回执,3为邮件与url同时回执。

方法调换用:1.Webservice以下所有方法只有当系统对外服务开启后,第三方应用才能调用。

2.系统默认根据第三方应用登录IP地址与管理员配置IP地址进行对比,匹配才可执行服务。

订阅所有授权作业消息监控服务http://服务器地址:8080/UT/soap/resultManager/orderTransResultService?sequence=参数&orderType=参数该方法调用为订阅第三方应用所有授权作业消息回执服务,当第三方应用成功调用此方法后,第三方应用会在管理员配置的相应URL地址或者邮箱收到作业回执消息信息。

Xml返回参数信息,message:服务调用返回信息,state:服务是否调用成功。

Web-Service接口使用说明

Web-Service接口使用说明

短信接口使用说明短信接口简介公司网址:56短信网接口是采用C#.Net开发的Web Service,URL地址为:/WebServiceInterface.asmx支持的接口用户可以通过Web Service接口实现用户登陆,发送短信,密码修改,我们还可以根据不同的需要给客户提供不同的接口功能.接口优势1.与移动,联通,电信运营商合作,快捷,高效,成功率达到99% 以上.2.接入方式可灵活使用,保证客户短信的质量。

3.24小时发送,单条即发即收,群发可能少有延迟。

4.适用于各种软件\系统\平台\网站\OA\CRM\ERP\SCM等使用5.发送内容,手机号,自行设定,可定时发送.6.支持500个字的超长短信,可自定义签名。

7.为您提供多种接口,任何语言均可方便,简单接入.8.提供技术支持,免费接入短信接口。

参数说明1. 发送短信调用方法:int SendNote(string handtels,string _content,string userName,string password,string cid,string _sendtime,string _smsnumber)返回值说明:2.用户登陆调用方法: UserLogin(string userName, string password,string cid)返回值说明:3.修改密码调用方法: EditUserPwd(string username, string userpwd,string newpwd,string cid)4.短信剩余条数调用方法: int ReturnUserFullMoney(string username, string password,string cid)返回值说明:5.接受回复短信调用方法: string NoteBack(string _cid, string _username, string _userpwd, string zid, string返回值说明:Xml回复格式<?xml version="1.0" encoding="GBK" ?><backnotes><backnote>//手机号<back_content>老地方见吧</back_content> //内容<back_zid>12</back_zid> //子号<back_time>2011-6-16 16:38:48</back_time> //回复时间</backnote><backnote>//手机号<back_content>你是说</back_content> //内容<back_zid>12</back_zid> //子号<back_time>2011-6-16 16:38:50</back_time> //回复时间</backnote></backnotes>Text 回复格式回复短信和短信之间是用分号分开(说明:如果回复的内容中出现|或;号,请用其它字符替换,如果不能替换的,请调用xml回复格式)格式:手机号|回复短信的内容|时间;6.调用接口新开用户(此接口只适合代理用户)调用方法:string AddNewUser(string aid, string auserName, string apwd, string nusername, string npwd, string customername, string customertel, string customerqq, string customeremaill, string返回值说明:7.短信充值,此接口只适合代理用户(此接口只适合代理用户)调用方法:string FullMoney(string aid, string aname, string apwd, string userid, string username, string tomoney, string action)返回值说明:。

泛微OA工作流WebService接口使用说明.docx

泛微OA工作流WebService接口使用说明.docx

工作流W e b S e r v i c e接口使用说明一、检查部署是否成功:输入下面的地址(换成实际的地址):8060( 实际的端口号)/services/,界面中有如下服务即可:采用 Web Serverice 技术进行协同系统和业务系统进行数据交互,由协同系统方开发实现Web Serverice服务,业务系统方需在本地实现Web Serverice 本地代理来进行调用。

协同系统方需提供的服务接口如下:1、流程创建接口2、流程流转控制接口提供流程提交,退回和转发控制接口3、需业务系统处理的任务列表根据用户id 和流程id 获取该人员需要业务系统处理的任务列表,如果需要获取表单的数据在通过reqestid 调用获取表单数据接口4、获取表单数据接口根据协同系统中流程主键requestid 获取表单中所有数据5、已归档任务列表根据创建人id 和流程id 获取已经归档的任务列表接口名称参数说明返回值功能描述创建新流程:WorkflowRequestInfowri :String :新流程的根据请求信息对请求信息对象requestid象创建一条新的userId:如果小于 0 表示流程,请求信息用户 id失败对象中需包含创-1 :创建流程失败建人、创建流程-2 :用户没有流程id 和表单的数创建权限据-3 :创建流程基本信息失败-4 :保存表单主表信息失败-5 :更新紧急程度失败-6 :流程操作者失败-7 :流转至下一节点失败-8 :节点附加操作失败代办数量 :int userId:Int: 代办的数量返回满足条件的getToDoWorkflowRequest用户 id用户可以得到的Count String[] conditions:代办数目查询流程的条件 , 为字符串数组代办列表:int pageNo:WorkflowRequest根据参数条件获getToDoWorkflowRequest当前页数Info [] :请求基取需处理任务列List int pageSize:本信息列表表每页的分页数量排除创建节点任int recordCount:务总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型归档数目 :int userId:Int: 归档的数量getRejectRequestCount用户 idString[] conditions:查询流程的条件 , 为字符串数组归档任务:int pageNo:WorkflowRequest根据参数条件获getProcessedRequest当前页数Info []:请求基取归档任务列表int pageSize:本信息列表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型表单数据:int requestId:RequestInfo:根据流程getRequest请求 requestid请求信息对象requestid获得表单数据流程提交:WorkflowRequestInfo request: Boolean :流程提交submitWorkflowRequest请求信息对象True成功int requestid:False失败请求 idint userid:提交人 IDString type:类型String remark:提交意见流程退回:int requestid:Boolean :流程退回nextNodeByReject请求 id True成功int userid:False失败提交人 IDString remark:退回意见流程转发:int requestid:Boolean :流程转发forwardWorkflowRequest请求 id True成功String forwardoperator:False失败接收人 id 多个用逗号分隔String remark:转发意见String userId:用户用户 idString clientip:客户端 ip 地址搜索所有可用流程数量 :Int userid:IntgetAllWorkflowRequestC用户 id返回数目ount String[] conditions:查询条件字符串数组所有可用流程列表int pageNo:WorkflowRequest根据参数条件获getAllWorkflowRequestL当前页数Info [] :请求基取可用任务列表ist int pageSize:本信息列表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型得到所有抄送的流程数量Int userid:IntgetCCWorkflowRequestCo用户 id返回数目unt String[] conditions:查询条件字符串数组得到所有抄送流程列表int pageNo:WorkflowRequest根据参数条件获getCCWorkflowRequestLi当前页数Info [] :请求基得抄送流程列表st int pageSize:本信息列表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型得到可创建的工作流数量Int userid:IntgetCreateWorkflowCount用户 id返回数目String[] conditions:查询条件字符串数组取得可创建的工作流列表int pageNo:WorkflowBaseInf根据参数条件获getCreateWorkflowList当前页数o [] :流程基本信得可创建流程列int pageSize:息列表表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型取得可创建的工作流类型Int userid:Int数量用户 id可创建的工作流getCreateWorkflowTypeC String[] conditions:类型数量ount查询条件字符串数组取得可创建的工作流类型int pageNo:WorkflowBaseInf根据参数条件获列表当前页数o[]:得可创建的流程getCreateWorkflowTypeL int pageSize:工作流基本信息类型列表ist每页的分页数量数组int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型取得创建流程的相关信息Int workflowId:WorkflowRequest getCreateWorkflowReque流程 id Info:stInfo Int userid:流程信息对象用户 id取得已办工作流类型数量Int userid:Int:getHendledWorkflowRequ用户 id可创建流程数量estCount String[] conditions:查询条件字符串数组取得已办流程列表int pageNo:WorkflowRequest根据参数条件获getHendledWorkflowRequ当前页数Info [] :请求基得已办流程列表estList int pageSize:本信息列表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型取得已办工作流类型数量Int userid:Int:getMyWorkflowRequestCo用户 id我的请求流程数unt String[] conditions:量查询条件字符串数组取得已办流程列表int pageNo:WorkflowRequest根据参数条件获getMyWorkflowRequestLi当前页数Info [] :请求基得我的请求列表st int pageSize:本信息列表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型取得流程 new标记String[] requestIds String[]:getWorkflowNewFlag多个流程 id 组成的数组结果数组 ,0 或者String ResourceId 1 组成的数组人力资源 id取得流程详细信息Int requestid WorkflowRequest getWorkflowRequest请求 id Info: 流程信息Int userid用户 idInt fromrequestid从相关 id 的工作流过来写入流程查看日志String requested无返回值writeWorkflowReadFlag请求 idString userId用户 id取得归档工作流类型数量Int userid:Int:getProcessedWorkflowRe用户 id归档流程数量questCount String[] conditions:查询条件字符串数组取得归档流程列表int pageNo:WorkflowRequest根据参数条件获getProcessedWorkflowRe当前页数Info [] :请求基得归档请求列表questList int pageSize:本信息列表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型接口对象说明:1) WorkflowRequestInfo工作流请求信息/***请求 ID*/private String requestId;*请求标题*/private String requestName;/***请求重要级别*/private String requestLevel;/***短信提醒*/private String messageType;/***流程类型*/private WorkflowBaseInfo workflowBaseInfo; /***当前节点名称*/private String currentNodeName;/***当前节点 Id*/private String currentNodeId;/***流程状态*/private String status;/***创建者*/private String creatorId;/***创建时间*/private String createTime;/***最后操作者名称*/private String lastOperatorName;/***最后操作时间*/private String lastOperateTime;/***是否可查看private boolean canView;/***是否可编辑*/private boolean canEdit;/***签字意见是否必填*/private boolean mustInputRemark;/***主表信息*/private WorkflowMainTableInfo workflowMainTableInfo;/***明细表信息*/private WorkflowDetailTableInfo[] workflowDetailTableInfos;/***流转日志信息*/private WorkflowRequestLog[] workflowRequestLogs;/***HTML 显示模板*0 iPad*1 iPhone*/private String[] WorkflowHtmlTemplete;/***解析后的 HTML 显示内容*0 iPad*1 iPhone*/private String[] WorkflowHtmlShow;/***被代理人*/private String beagentid;/***流程短语*/private String[][] workflowPhrases;2) WorkflowBaseInfo工作流信息/***工作流 ID*/private String workflowId;/***工作流标题*/private String workflowName;/***工作流类型 ID*/private String workflowTypeId;/***工作流类型名称*/private String workflowTypeName;根据实际的webservice 客户端实现的客户端代码均不相同.以下仅供参考.1)创建流程/*** 创建流程,支持多明细,并且带附件字段-- 目前只支持一个附件,并且是(http格式的)*@throws Exception*/public static void createRequest()throws Exception {etFieldName("mutiresource");etFieldValue("111");etView(true );etEdit(true ) ;etFieldName("remark");etFieldValue("test");wrti[1].setView(true);wrti[1].setEdit(true);wrti[2] =new WorkflowRequestTableField();wrti[2].setFieldName("resource_n");etFieldValue("111");wrti[2].setView(true);wrti[2].setEdit(true);wrti[3] =new WorkflowRequestTableField();wrti[3].setFieldName("fj2");etFieldType("" );etFieldValue();etView(true );wrti[3].setEdit(true);WorkflowRequestTableRecord[] wrtri =newWorkflowRequestTableRecord[1];etWorkflowRequestTableFields(wrti);WorkflowMainTableInfo wmi =new WorkflowMainTableInfo();(wrtri);etFieldName("sl");etFieldValue("11");wrti[0].setView(true);wrti[0].setEdit(true);wrti[1] =new WorkflowRequestTableField();wrti[1].setFieldName("dj");etFieldValue("2");wrti[1].setView(true);wrti[1].setEdit(true);wrti[2] =new WorkflowRequestTableField();wrti[2].setFieldName("xj");etFieldValue("22" );wrti[2].setView(true);wrti[2].setEdit(true);wrtri[0] =new WorkflowRequestTableRecord();wrtri[0].setWorkflowRequestTableFields(wrti);etFieldName("sl" );etFieldValue("110" );wrti[0].setView(true);wrti[0].setEdit(true);wrti[1] =new WorkflowRequestTableField();wrti[1].setFieldName("dj");etFieldValue("2" );wrti[1].setView(true);wrti[1].setEdit(true);wrti[2] =new WorkflowRequestTableField();wrti[2].setFieldName("xj");etFieldValue("220" );wrti[2].setView(true);wrti[2].setEdit(true);wrtri[1] =new WorkflowRequestTableRecord();wrtri[1].setWorkflowRequestTableFields(wrti);wdti[0] =new WorkflowDetailTableInfo();wdti[0].setWorkflowRequestTableRecords(wrtri);etFieldName("cl3" );etFieldV alue( "11");wrti[0].setView(true);wrti[0].setEdit(true);wrti[1] =new WorkflowRequestTableField();wrti[1].setFieldName("cl1111");etFieldValue("2");wrti[1].setView(true);wrti[1].setEdit(true);wrtri[0] =new WorkflowRequestTableRecord();wrtri[0].setWorkflowRequestTableFields(wrti);wdti[1] =new WorkflowDetailTableInfo();wdti[1].setWorkflowRequestTableRecords(wrtri);//加入明细表 2 的数据//明细表 2 endWorkflowBaseInfo wbi =new WorkflowBaseInfo();( "5" );//workflowid 5代表内部留言WorkflowRequestInfo wri =new WorkflowRequestInfo();// 流程基本信息( "111"); //创建人 id( "2" ); //0正常,1重要,2紧急( " 留言测试接口" ); //流程标题(wmi);//添加主字段数据(wbi);(wdti);//执行创建流程接口new WorkflowServicePortTypeProxy WorkflowServicePortTypeProxy = WorkflowServicePortTypeProxy();String requestid = (wri, 111);"requestid:"+requestid);}2)获取代办列表数量/***获得代办事宜数量*@throws RemoteException*/public static void getDaiBanShuLiang()throws RemoteException{ WorkflowServicePortTypeProxy WorkflowServicePortTypeProxy= new WorkflowServicePortTypeProxy();int count = (111,null );" 代办事宜数量:" +count);//获取待办事宜接口//带查询条件查询,只能写关于这 2个表的查询条件 workflow_requestbaset1,workflow_currentoperator t2//查询条件里面不需要写 andString conditions[] =new String[2];conditions[0] ="= 2 "; //状态为审批conditions[1] ="= 111 "; // 创建人为 111count = (111, conditions);" 代办事宜数量 :"+count);//获取待办事宜接口}3)获得代办事宜列表/***获得代办列表*/public static void getDaiBanLieBiao() WorkflowServicePortTypeProxythrows Exception{ WorkflowServicePortTypeProxy= newWorkflowServicePortTypeProxy();WorkflowRequestInfo WorkflowRequestInfo[] = (1, 15, 100, 111, null ); //获取待办事宜接口"代办事宜列表数量 :" +;for ( int i=0;i<;i++){WorkflowRequestInfo wri = WorkflowRequestInfo[i];"" +()+ " " +()+ " "+());}}。

webservice接口说明文档

webservice接口说明文档

webservice接口说明文档1、组织结构–部门原始资料增加(一般用在初始化数据时) (2)2、组织结构–部门原始资料更新(紧跟DptAdd函数执行) (2)3、组织结构–部门删除 (2)4、组织结构–部门更新 (3)5、组织结构–单个部门增加 (3)6、组织结构–员工原始资料更新(将服务器临时表里的员工原始资料导入到使用的数据表里) (4)7、组织结构–员工原始资料添加 (4)8、组织结构–人员删除 (5)9、组织结构–人员增加(直接更新到后台数据库) (5)10、组织结构–人员更新 (6)11、OA调用发消息 (7)12、组织结构–增加企业 (8)13、组织结构–编辑企业 (8)14、删除企业 (9)15、企业、部门、员工查询 (9)16、角色权限增加 (10)17、角色权限编辑 (10)18、角色权限删除 (11)注明:所有函数的CRC值默认为calling1、组织结构–部门原始资料增加(一般用在初始化数据时)方法名称DptAdd (String DepartID, String DepartName, String ParentID,, String EID,String CRC)参数说明:返回类型: Integer返回值说明: -1 缺少必填参数,0 增加成功,1 增加数据发生未知错误,2 企业不存在 -2 数据库连接错误2、组织结构–部门原始资料更新(紧跟DptAdd函数执行)方法名称DptAddExe (String EID,String CRC,)参数说明:返回类型: Integer返回值说明: -1 缺少必填参数,0 操作成功,1 更新数据时发生错误,2 企业不存在-2 数据库连接错误3、组织结构–部门删除方法名称DptDelete (String DepartID)参数说明:返回类型: Integer返回值说明: -1 缺少必填参数,0 删除成功,1 删除数据发生未知错误,2 部门不存在,3企业不存在-2 数据库连接错误4、组织结构–部门更新方法名称: DptEdit (String DepartID,String DepartName,StringParentID, String EID, String CRC)参数说明:返回类型: Integer返回值说明: -1 缺少必填参数,0 编辑成功,1 删除数据发生未知错误,2部门不存在,3父部门不存在,4 没有要修改的项目,5 企业不存在-2 数据库连接错误5、组织结构–单个部门增加方法名称: DptAddOne (String DepartID,String DepartName,StringParentID,, String EID, String CRC)参数说明:返回类型: Integer返回值说明: -1 缺少必填参数,0 增加成功,1 增加数据发生未知错误,2父部门不存在,3 企业不存在 4 部门已经存在-2 数据库连接错误6、组织结构–员工原始资料更新(将服务器临时表里的员工原始资料导入到使用的数据表里)方法名称EmpAddExe (String EID,String CRC)参数说明:返回类型: Integer返回值说明: -1 缺少必填参数,0 操作成功,1 更新数据时发生错误,2 企业不存在-2 数据库连接错误7、组织结构–员工原始资料添加(将人员资料插入一条到服务器上的临时表里,一般用在起初数据初始化的时候,将记录先循环插入到临时表里,然后使用DptAddExe 函数更新临时表,将原始人员资料导入到使用的数据表里)方法名称EmpAdd(String ID, String CorporationId, String DepartmentId, String duty, String email, String mobile, String realName , String sex, String workCode,String password, String telphone, String String Fax, String CodeType, String CRC)参数说明:返回类型: Integer返回值说明: -1 缺少必填参数,0 增加成功,1 增加数据发生未知错误,-2 数据库连接错误2 部门不存在3 员工已存在4 企业不存在8、组织结构–人员删除方法名称EmpDelete (String ID, String EID,String CRC)参数说明:返回类型: Integer返回值说明: -1 缺少必填参数,0 删除成功,1 删除数据发生未知错误,2 员工不存在3 企业不存在-2 数据库连接错误9、组织结构–人员增加(直接更新到后台数据库)方法名称EmpAddOne (String ID, String CorporationId, String DepartmentId, Stringduty, String email, String mobile, String realName , String sex, String workCode, String password, String telphone, String String Fax, String CodeType, String CRC) 参数说明:返回类型: Integer返回值说明: -1 缺少必填参数,0 增加成功,1 增加数据发生未知错误,2部门不存在,3员工已经存在,4 企业不存在-2 数据库连接错误10、组织结构–人员更新方法名称EmpEdit (String ID, String EID, String DepartID, String duty, String email, String mobile, String realName , String sex, String workCode, String password, String telphone, String String Fax,String CodeType, String CRC,String State)参数说明:返回类型: Integer返回值说明: -1 缺少必填参数,0 增加成功,1 增加数据发生未知错误,2部门不存在3 员工不存在 4 企业不存在-2 数据库连接错误5没有需要修改的项目 6 角色不存在注释:如果许可为空的字段想变化为空的话,以空格为参数值,password,workCode,realName,sex的修改不能以空格表示为空,因为这2个字段不许可为空,如果参数为空则不会修改11、OA调用发消息方法名称:SendOAMessage(String Sender, String Receiver,String BContent, String Title, String MessageType ,String MessageImport, String EID, String CRC)返回类型: integer返回结果: 0 成功,1 失败,-1 缺少必填参数,2 企业不存在,3发送者不存在,4接受者有不存在, 5 网络错误-2 数据库连接错误12、组织结构–增加企业方法名称:CorpAdd(String EID,String brief, String address, String email, String fax, String fullName,String CRC)参数说明:返回类型: Integer返回值说明: -1 缺少必填参数,0 增加成功,1 增加数据发生未知错误,2 输入的公司人数超过了系统的许可, 3 企业ID已经存在-2 数据库连接错误13、组织结构–编辑企业方法名称:CorpEdit(String EID, String brief,String address, String email, String fax, String fullName,String CRC)参数说明:返回类型: Integer返回值说明: -1 缺少必填参数,0 操作成功,1 删除数据时发生错误,2企业不存在3 没有要编辑的项目-2 数据库连接错误注释:如果许可为空的字段想变化为空的话,以空格为参数值,对于brief,不修改则为空,如果为空则不修改14、删除企业方法名称: CorpDelete (String EID,String CRC)参数说明:返回类型: Integer返回值说明: -1 缺少必填参数,0 操作成功,1 删除数据时发生错误,2 企业不存在-2 数据库连接错误15、企业、部门、员工查询方法名称: GetIDBool (String GetType,String EID,String ID, String CRC) 参数说明:返回类型: Integer返回值说明: -1 缺少必填参数, 1 查询数据时发生错误,-2 数据库连接错误-3 企业不存在 3 企业存在 -4 部门不存在 4 部门存在 -5 员工不存在 5 员工存在 6 查询类型错误注释:GetType 为1时ID 可为空,否则不许可为空,在部门和员工查询时,如果企业不存在,则报部门或者员工不存在16、角色权限增加方法名称UserRole Add(String RoleName, String Rights ,String EID,String CRC,) 参数说明:返回类型: Integer返回值说明: -1 缺少必填参数, 1 查询数据时发生错误,-2 数据库连接错误 2 企业不存在 3 角色已存在0成功17、角色权限编辑方法名称UserRoleedit(String RoleName, String Rights ,String EID,String CRC,) 参数说明:返回类型: Integer返回值说明: -1 缺少必填参数, 1 查询数据时发生错误,-2 数据库连接错误,2修改类型错误,3新角色名称不能为空,4企业不存在,5角色不存在0成功18、角色权限删除方法名称UserRoleDel(String RoleName, String EID,String CRC,)参数说明:返回类型: Integer返回值说明: -1 缺少必填参数, 1 查询数据时发生错误,-2 数据库连接错误 2 企业不存在0成功。

泛微OA工作流WebService接口使用说明.docx

泛微OA工作流WebService接口使用说明.docx

泛微OA工作流WebService接口使用说明.docx工作流W e b S e r v i c e接口使用说明一、检查部署是否成功:输入下面的地址(换成实际的地址):8060( 实际的端口号)/services/,界面中有如下服务即可:采用 Web Serverice 技术进行协同系统和业务系统进行数据交互,由协同系统方开发实现Web Serverice服务,业务系统方需在本地实现Web Serverice 本地代理来进行调用。

协同系统方需提供的服务接口如下:1、流程创建接口2、流程流转控制接口提供流程提交,退回和转发控制接口3、需业务系统处理的任务列表根据用户id 和流程id 获取该人员需要业务系统处理的任务列表,如果需要获取表单的数据在通过reqestid 调用获取表单数据接口4、获取表单数据接口根据协同系统中流程主键requestid 获取表单中所有数据5、已归档任务列表根据创建人id 和流程id 获取已经归档的任务列表接口名称参数说明返回值功能描述创建新流程:WorkflowRequestInfowri :String :新流程的根据请求信息对请求信息对象requestid象创建一条新的userId:如果小于 0 表示流程,请求信息用户 id失败对象中需包含创-1 :创建流程失败建人、创建流程-2 :用户没有流程id 和表单的数创建权限据-3 :创建流程基本信息失败-4 :保存表单主表信息失败-5 :更新紧急程度失败-6 :流程操作者失败-7 :流转至下一节点失败-8 :节点附加操作失败代办数量:int userId:Int: 代办的数量返回满足条件的getToDoWorkflowRequest用户id用户可以得到的Count String[] conditions:代办数目查询流程的条件 , 为字符串数组代办列表:int pageNo:WorkflowRequest根据参数条件获getToDoWorkflowRequest当前页数Info [] :请求基取需处理任务列List int pageSize:本信息列表表每页的分页数量排除创建节点任int recordCount:务总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型归档数目 :int userId:Int: 归档的数量getRejectRequestCount用户 idString[] conditions:查询流程的条件 , 为字符串数组归档任务:int pageNo:WorkflowRequest根据参数条件获getProcessedRequest当前页数Info []:请求基取归档任务列表int pageSize:本信息列表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型表单数据:int requestId:RequestInfo:根据流程getRequest 请求 requestid请求信息对象requestid获得表单数据流程提交:WorkflowRequestInfo request: Boolean :流程提交submitWorkflowRequest请求信息对象True成功int requestid:False失败请求 idint userid:提交人 IDString type:类型String remark:提交意见流程退回:int requestid:Boolean :流程退回nextNodeByReject请求 id True成功int userid:False失败提交人 IDString remark:退回意见流程转发:int requestid:Boolean :流程转发forwardWorkflowRequest请求 id True成功String forwardoperator:False失败接收人 id 多个用逗号分隔String remark:转发意见String userId:用户用户 idString clientip:客户端 ip 地址搜索所有可用流程数量 :Int userid:IntgetAllWorkflowRequestC用户 id返回数目ount String[] conditions:查询条件字符串数组所有可用流程列表int pageNo:WorkflowRequest根据参数条件获getAllWorkflowRequestL当前页数Info [] :请求基取可用任务列表ist int pageSize:本信息列表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型得到所有抄送的流程数量Int userid:IntgetCCWorkflowRequestCo用户 id返回数目unt String[] conditions:查询条件字符串数组得到所有抄送流程列表int pageNo:WorkflowRequest根据参数条件获getCCWorkflowRequestLi当前页数Info [] :请求基得抄送流程列表st int pageSize:本信息列表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型得到可创建的工作流数量Int userid:IntgetCreateWorkflowCount用户 id返回数目String[] conditions:查询条件字符串数组取得可创建的工作流列表int pageNo:WorkflowBaseInf根据参数条件获getCreateWorkflowList当前页数o [] :流程基本信得可创建流程列int pageSize:息列表表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型取得可创建的工作流类型Int userid:Int数量用户 id可创建的工作流getCreateWorkflowTypeC String[] conditions:类型数量ount查询条件字符串数组取得可创建的工作流类型int pageNo:WorkflowBaseInf根据参数条件获列表当前页数o[]:得可创建的流程getCreateWorkflowTypeL int pageSize:工作流基本信息类型列表ist每页的分页数量数组int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型取得创建流程的相关信息Int workflowId:WorkflowRequest getCreateWorkflowReque流程 id Info:stInfo Int userid:流程信息对象用户 id取得已办工作流类型数量Int userid:Int:getHendledWorkflowRequ用户 id可创建流程数量estCount String[] conditions:查询条件字符串数组取得已办流程列表int pageNo:WorkflowRequest根据参数条件获getHendledWorkflowRequ当前页数Info [] :请求基得已办流程列表estList int pageSize:本信息列表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型取得已办工作流类型数量Int userid:Int:getMyWorkflowRequestCo用户 id我的请求流程数unt String[] conditions:量查询条件字符串数组取得已办流程列表int pageNo:WorkflowRequest根据参数条件获getMyWorkflowRequestLi当前页数Info [] :请求基得我的请求列表st int pageSize:本信息列表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型取得流程 new标记String[] requestIds String[]:getWorkflowNewFlag多个流程 id 组成的数组结果数组 ,0 或者String ResourceId 1 组成的数组人力资源 id取得流程详细信息Int requestid WorkflowRequest getWorkflowRequest请求 id Info: 流程信息Int userid用户 idInt fromrequestid从相关 id 的工作流过来写入流程查看日志String requested无返回值writeWorkflowReadFlag请求 idString userId用户 id取得归档工作流类型数量Int userid:Int:getProcessedWorkflowRe用户 id归档流程数量questCount String[] conditions:查询条件字符串数组取得归档流程列表int pageNo:WorkflowRequest根据参数条件获getProcessedWorkflowRe当前页数Info [] :请求基得归档请求列表questList int pageSize:本信息列表每页的分页数量int recordCount:总行数int userId:用户 idString[] conditions:查询流程的条件, 为字符串数组类型接口对象说明:1) WorkflowRequestInfo工作流请求信息/***请求 ID*/private String requestId;*请求标题*/private String requestName;/***请求重要级别*/private String requestLevel;/***短信提醒*/private String messageType;/***流程类型*/private WorkflowBaseInfo workflowBaseInfo; /** *当前节点名称*/private String currentNodeName;/***当前节点 Id*/private String currentNodeId;/***流程状态*/private String status;/***创建者*/private String creatorId;/***创建时间*/private String createTime;/***最后操作者名称*/private String lastOperatorName;/***最后操作时间*/private String lastOperateTime;/***是否可查看private boolean canView;/***是否可编辑*/private boolean canEdit;/***签字意见是否必填*/private boolean mustInputRemark;/***主表信息*/private WorkflowMainTableInfo workflowMainTableInfo;/***明细表信息*/private WorkflowDetailTableInfo[] workflowDetailTableInfos; /***流转日志信息*/private WorkflowRequestLog[] workflowRequestLogs;/***HTML 显示模板*0 iPad*1 iPhone*/private String[] WorkflowHtmlTemplete; /***解析后的 HTML 显示内容*0 iPad*1 iPhone*/private String[] WorkflowHtmlShow;/***被代理人*/private String beagentid;/***流程短语*/private String[][] workflowPhrases;2) WorkflowBaseInfo工作流信息/***工作流 ID*/private String workflowId;/***工作流标题*/private String workflowName;/***工作流类型 ID*/private String workflowTypeId;/***工作流类型名称*/private String workflowTypeName;根据实际的webservice 客户端实现的客户端代码均不相同.以下仅供参考.1)创建流程/*** 创建流程,支持多明细,并且带附件字段-- 目前只支持一个附件,并且是(http格式的)*@throws Exception*/public static void createRequest()throws Exception {etFieldName("mutiresource");etFieldValue("111");etView(tru e );etEdit(true ) ;etFieldName("remark");etFieldValue("test");wrti[1].setView(true);wrti[1].setEdit(true);wrti[2] =new WorkflowRequestTableField();wrti[2].setFieldName("resource_n");etFieldValue("111");wrti[2].setView(true);wrti[2].setEdit(true);wrti[3] =new WorkflowRequestTableField();wrti[3].setFieldName("fj2");etFieldType("" );etFieldValue();etV iew(true );wrti[3].setEdit(true);WorkflowRequestT ableRecord[] wrtri =newWorkflowRequestT ableRecord[1];etWorkflowRequestTableFi elds(wrti);WorkflowMainTableInfo wmi =new WorkflowMainTableInfo();(wrtri);etFieldName("sl");etFieldValue("11");wrti[0].setView(true);wrti[0].setEdit(true);wrti[1] =new WorkflowRequestTableField();wrti[1].setFieldName("dj");etFieldValue("2");wrti[1].setView(true);wrti[1].setEdit(true);wrti[2] =new WorkflowRequestTableField();wrti[2].setFieldName("xj");etFieldValue("22" );wrti[2].setView(true);wrti[2].setEdit(true);wrtri[0] =new WorkflowRequestTableRecord();wrtri[0].setWorkflowRequestTableFields(wrti);etFieldName("sl" );etFieldValue("110" );wrti[0].setView(true);wrti[0].setEdit(true);wrti[1] =new WorkflowRequestTableField();wrti[1].setFieldName("dj");etFieldValue("2" );wrti[1].setView(true);wrti[1].setEdit(true);wrti[2] =new WorkflowRequestTableField();wrti[2].setFieldName("xj");etFieldValue("220" );wrti[2].setView(true);wrti[2].setEdit(true);wrtri[1] =new WorkflowRequestTableRecord();wrtri[1].setWorkflowRequestTableFields(wrti);wdti[0] =new WorkflowDetailTableInfo();wdti[0].setWorkflowRequestTableRecords(wrtri);etFieldNam e("cl3" );etFieldV alue( "11");wrti[0].setView(true);wrti[0].setEdit(true);wrti[1] =new WorkflowRequestTableField();wrti[1].setFieldName("cl1111");etFieldValue("2");wrti[1].setView(true);wrti[1].setEdit(true);wrtri[0] =new WorkflowRequestTableRecord();wrtri[0].setWorkflowRequestTableFields(wrti);wdti[1] =new WorkflowDetailTableInfo();wdti[1].setWorkflowRequestTableRecords(wrtri);//加入明细表2 的数据//明细表 2 endWorkflowBaseInfo wbi =new WorkflowBaseInfo();( "5" );//workflowid 5代表内部留言WorkflowRequestInfo wri =new WorkflowRequestInfo();// 流程基本信息( "111"); //创建人 id( "2" ); //0正常,1重要,2紧急( " 留言测试接口" ); //流程标题(wmi);//添加主字段数据(wbi);(wdti);//执行创建流程接口new WorkflowServicePortTypeProxy WorkflowServicePortTypeProxy = WorkflowServicePortTypeProxy();String requestid = (wri, 111);"requestid:"+requestid);}2)获取代办列表数量/***获得代办事宜数量*@throws RemoteException*/public static void getDaiBanShuLiang()throws RemoteException{ WorkflowServicePortTypeProxy WorkflowServicePortTypeProxy= new WorkflowServicePortTypeProxy();int count = (111,null );" 代办事宜数量:" +count);//获取待办事宜接口//带查询条件查询,只能写关于这2个表的查询条件workflow_requestbaset1,workflow_currentoperator t2//查询条件里面不需要写 andString conditions[] =new String[2];conditions[0] ="= 2 "; //状态为审批conditions[1] ="= 111 "; // 创建人为 111count = (111, conditions);" 代办事宜数量 :"+count);//获取待办事宜接口}3)获得代办事宜列表/***获得代办列表*/public static void getDaiBanLieBiao() WorkflowServicePortTypeProxythrows Exception{ WorkflowServicePortTypeProxy= newWorkflowServicePortTypeProxy();WorkflowRequestInfo WorkflowRequestInfo[] = (1, 15, 100, 111, null ); //获取待办事宜接口"代办事宜列表数量 :" +;for ( int i=0;i<;i++){WorkflowRequestInfo wri = WorkflowRequestInfo[i]; "" +()+ " " +()+ " "+());}}。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

b. 参数 参数 Username Password Content Numbers c. 返回值
public class SendResult { /// <summary> /// 发送状态(0:成功;-102:余额不足;-201:用户名/密码错误) /// </summary> public int State; /// <summary> /// 短信编号 /// </summary> public string SID; }
说明 所分配的用户名 密码 短信内容。70 字以内 目标号码。以逗号(,)分隔。一万条以内
2. QuerySMS 查询短信发送状态
现 a. 定义 场 public QueryResult QuerySMS(string Username, string Password, string 拍 b. 参数 照 参数 说明 ( Username 所分配的用户名 取 Password 密码 得 SID 短信编号 客 户 c. 返回值 public class QueryResult 同 { 意 /// <summary> ) /// 查询状态(0:成功;-201:用户名/密码错误;-203:编号错误) 。
SID)
PS:双击获取文档。Ctrl+A,Ctrl+C,然后粘贴到word即可。 未能直接提供word版档
4
一、 调用地址
S
http://61.236.127.167/sms/smsservice.asmx?wsdl
店二、 事 故 车 维 修 保 险 理 赔 流 程
1.
接口定义
1. SendSMS 发送短信 a. 定义
public SendResult SendSMS(string Username, string Password, string Content, string Numbers)
相关文档
最新文档