最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

用友NC-OA平台API参考手册

IT圈 admin 29浏览 0评论

2024年5月18日发(作者:纳喇睿姿)

用友NC-OA平台API参考手册

© 2006 UFida Co., Ltd.

All rights reserved.

This document contains information that is proprietary

and confidential to UFida., which shall not be disclosed

outside the recipient's company or duplicated, used or

disclosed in whole or in part by the recipient for any

purpose other than to evaluate this file. Any other use or

disclosure in whole or in part of this information without

the express written permission of Ufida. is prohibited.

Date: 2009-02-26

Author:

Version:

王文友

V1.0

用友NC-OA平台API参考手册 ................................................................. 1

修改记录 .............................................................................................. 6

1. 服务参考 ......................................................................................... 7

1.1 概述 ......................................................................................... 7

1.1.1 配置开发环境 ............................................................................................... 7

1.1.2 开始编码(Java) ......................................................................................... 7

1.1.2.1 生成ADB Client Stub ........................................................................ 7

1.1.2.2 编写客户端代码 ................................................................................. 7

1.1.3 开始编码(C#) ........................................................................................... 8

1.1.3.1 添加服务引用 .................................................................................... 8

1.1.3.2 编写客户端代码 ................................................................................ 11

1.1.4 服务列表 ................................................................................................... 11

1.1.5 服务公共实体 .............................................................................................. 12

1.1.5.1 服务响应实体(ServiceResponse) ...................................................... 12

1.1.5.2 服务异常(ServiceException) ............................................................ 13

1.2 验证服务 ............................................................................. …..13

1.2.1 登录验证 ................................................................................................... 13

1.2.1.1 身份验证令牌实体(UserToken) .......................................................... 13

1.2.1.2 身份验证 ........................................................................................ 13

1.3 组织模型管理 ............................................................................ 14

1.3.1 单位管理 ................................................................................................... 14

1.3.1.1 取得单位ID .................................................................................... 14

1.3.2 人员管理 ................................................................................................... 15

1.3.2.1 人员实体(PersonInfoParam_All) ...................................................... 15

1.3.2.2 方法列表 ........................................................................................ 16

1.3.2.3 创建人员 ........................................................................................ 16

1.3.2.4 修改人员信息(按人员ID) .................................................................. 17

1.3.2.5 修改人员信息(按人员登录名) ............................................................. 18

1.3.2.6 删除人员(按人员ID) .......................................................................... 19

1.3.2.7 删除人员(按登录名) ........................................................................ 20

1.3.2.8 启用/停用人员(按人员ID) ................................................................... 20

1.3.2.9 启用/停用人员(按人员登录名) .............................................................. 21

1.3.2.10 修改人员密码(按人员ID) ..................................................................... 22

1.3.2.11 修改人员密码(按人员登录名) ................................................................ 22

1.3.3 部门管理 ................................................................................................... 23

1.3.3.1 部门实体 (DepartmentInfoParam_All) .................................................. 23

1.3.3.2 方法列表 ........................................................................................ 23

1.3.3.3 创建部门 ........................................................................................ 24

1.3.3.4 更新部门(按部门ID) ....................................................................... 25

1.3.3.5 更新部门(按部门路径名称) ................................................................ 25

1.3.3.6 删除部门(按部门ID) ....................................................................... 26

1.3.3.7 删除部门(按部门名称) ..................................................................... 27

1.3.3.8 删除部门(按部门名称及父部门名称) ..................................................... 27

1.3.3.9 删除部门(按部门路径名称) ................................................................ 28

1.3.3.10 启用/禁用部门(按部门ID) ................................................................ 28

1.3.3.11 启用/禁用部门(按部门名称) .............................................................. 29

1.3.3.12 启用/禁用部门(按部门名称及父部门名称) .............................................. 30

1.3.3.13 启用/禁用部门(按部门路径名称) ......................................................... 30

2024年5月18日发(作者:纳喇睿姿)

用友NC-OA平台API参考手册

© 2006 UFida Co., Ltd.

All rights reserved.

This document contains information that is proprietary

and confidential to UFida., which shall not be disclosed

outside the recipient's company or duplicated, used or

disclosed in whole or in part by the recipient for any

purpose other than to evaluate this file. Any other use or

disclosure in whole or in part of this information without

the express written permission of Ufida. is prohibited.

Date: 2009-02-26

Author:

Version:

王文友

V1.0

用友NC-OA平台API参考手册 ................................................................. 1

修改记录 .............................................................................................. 6

1. 服务参考 ......................................................................................... 7

1.1 概述 ......................................................................................... 7

1.1.1 配置开发环境 ............................................................................................... 7

1.1.2 开始编码(Java) ......................................................................................... 7

1.1.2.1 生成ADB Client Stub ........................................................................ 7

1.1.2.2 编写客户端代码 ................................................................................. 7

1.1.3 开始编码(C#) ........................................................................................... 8

1.1.3.1 添加服务引用 .................................................................................... 8

1.1.3.2 编写客户端代码 ................................................................................ 11

1.1.4 服务列表 ................................................................................................... 11

1.1.5 服务公共实体 .............................................................................................. 12

1.1.5.1 服务响应实体(ServiceResponse) ...................................................... 12

1.1.5.2 服务异常(ServiceException) ............................................................ 13

1.2 验证服务 ............................................................................. …..13

1.2.1 登录验证 ................................................................................................... 13

1.2.1.1 身份验证令牌实体(UserToken) .......................................................... 13

1.2.1.2 身份验证 ........................................................................................ 13

1.3 组织模型管理 ............................................................................ 14

1.3.1 单位管理 ................................................................................................... 14

1.3.1.1 取得单位ID .................................................................................... 14

1.3.2 人员管理 ................................................................................................... 15

1.3.2.1 人员实体(PersonInfoParam_All) ...................................................... 15

1.3.2.2 方法列表 ........................................................................................ 16

1.3.2.3 创建人员 ........................................................................................ 16

1.3.2.4 修改人员信息(按人员ID) .................................................................. 17

1.3.2.5 修改人员信息(按人员登录名) ............................................................. 18

1.3.2.6 删除人员(按人员ID) .......................................................................... 19

1.3.2.7 删除人员(按登录名) ........................................................................ 20

1.3.2.8 启用/停用人员(按人员ID) ................................................................... 20

1.3.2.9 启用/停用人员(按人员登录名) .............................................................. 21

1.3.2.10 修改人员密码(按人员ID) ..................................................................... 22

1.3.2.11 修改人员密码(按人员登录名) ................................................................ 22

1.3.3 部门管理 ................................................................................................... 23

1.3.3.1 部门实体 (DepartmentInfoParam_All) .................................................. 23

1.3.3.2 方法列表 ........................................................................................ 23

1.3.3.3 创建部门 ........................................................................................ 24

1.3.3.4 更新部门(按部门ID) ....................................................................... 25

1.3.3.5 更新部门(按部门路径名称) ................................................................ 25

1.3.3.6 删除部门(按部门ID) ....................................................................... 26

1.3.3.7 删除部门(按部门名称) ..................................................................... 27

1.3.3.8 删除部门(按部门名称及父部门名称) ..................................................... 27

1.3.3.9 删除部门(按部门路径名称) ................................................................ 28

1.3.3.10 启用/禁用部门(按部门ID) ................................................................ 28

1.3.3.11 启用/禁用部门(按部门名称) .............................................................. 29

1.3.3.12 启用/禁用部门(按部门名称及父部门名称) .............................................. 30

1.3.3.13 启用/禁用部门(按部门路径名称) ......................................................... 30

发布评论

评论列表 (0)

  1. 暂无评论