Department
新增部门信息http://[customer-site]/WebApi/Handler/1.0/IBP/Department/Insert.ashx 功能:
新增部门信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Department/Insert.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 FK_OrganID True Int32 机构id iParentID True Int32 上级部门id sName True String 名称 sTel True String 电话 sFax True String 传真 sAddress True String 地址 sRemark True String 备注 Json返回结果:
{"value": message (成功:"";失败:错误消息)}
关于错误返回值与错误代码,参见 错误代码说明
删除部门信息http://[customer-site]/WebApi/Handler/1.0/IBP/Department/Delete.ashx 功能:
删除部门信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Department/Delete.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 deptId True Int32 部门id Json返回结果:
{"value": message (成功:"";失败:错误消息)}
关于错误返回值与错误代码,参见 错误代码说明
更新部门信息http://[customer-site]/WebApi/Handler/1.0/IBP/Department/Update.ashx 功能:
更新部门信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Department/Update.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 PK_ID True Int32 id FK_OrganID True Int32 机构id iParentID True Int32 上级部门id sName True String 名称 sTel True String 电话 sFax True String 传真 sAddress True String 地址 sRemark True String 备注 Json返回结果:
{"value": message (成功:"";失败:错误消息)}
关于错误返回值与错误代码,参见 错误代码说明
根据层级获取部门信息http://[customer-site]/WebApi/Handler/1.0/IBP/Department/GetByLevelName.ashx 功能:
根据层级获取部门信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Department/GetByLevelName.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 levelName True String 层级名称字符"|"或"/" Json返回结果:
{"value": value_content(参考部门Department对象)}
关于错误返回值与错误代码,参见 错误代码说明
Job
新增职位信息http://[customer-site]/WebApi/Handler/1.0/IBP/Job/Insert.ashx 功能:
新增职位信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Job/Insert.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 sName True String 名称 FK_OrganID True Int32 机构id FK_DeptID True Int32 部门id ParentId True Int32 上级职位id iOrder True Int32 排序 sDescription True String 描述 iJobCount True Int32 编制 JobSummary True String 工作责职 sRequirement True String 工作要求 iIsmanager True Int32 是否管理员 Json返回结果:
{"value": message (成功:"";失败:错误消息)}
关于错误返回值与错误代码,参见 错误代码说明
删除职位信息http://[customer-site]/WebApi/Handler/1.0/IBP/Job/Delete.ashx 功能:
删除职位信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Job/Delete.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 jobId True Int32 职位id Json返回结果:
{"value": message (成功:"";失败:错误消息)}
关于错误返回值与错误代码,参见 错误代码说明
更新职位信息http://[customer-site]/WebApi/Handler/1.0/IBP/Job/Update.ashx 功能:
更新职位信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Job/Update.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 PK_ID True Int32 职位id sName True String 名称 FK_OrganID True Int32 机构id FK_DeptID True Int32 部门id ParentId True Int32 上级职位id iOrder True Int32 排序 sDescription True String 描述 iJobCount True Int32 编制 JobSummary True String 工作责职 sRequirement True String 工作要求 iIsmanager True Int32 是否管理员 Json返回结果:
{"value": message (成功:"";失败:错误消息)}
关于错误返回值与错误代码,参见 错误代码说明
职位中添加用户http://[customer-site]/WebApi/Handler/1.0/IBP/Job/AddUser.ashx 功能:
职位中添加用户
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Job/AddUser.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 jobId True Int32 职位id loginName True String 登录名 userName True String 用户名 password True String 密码 Json返回结果:
{"value": message (成功:"";失败:错误消息)}
关于错误返回值与错误代码,参见 错误代码说明
根据层级获取职位信息http://[customer-site]/WebApi/Handler/1.0/IBP/Job/GetByLeveName.ashx 功能:
根据层级获取职位信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Job/GetByLeveName.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 levelName True String 层级名称字符"|"或"/" Json返回结果:
{"value": value_content(参考职位IBP_T_Position对象)}
关于错误返回值与错误代码,参见 错误代码说明
Menu
获取当前用户菜单树http://[customer-site]/WebApi/Handler/1.0/IBP/Menu/GetMenuTree.ashx 功能:
获取当前用户菜单树
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Menu/GetMenuTree.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 typeId True String 模块类型id nodeType True String 节点类型(父节点:parent) Json返回结果:
{"value": value_content(参考用户模块List(Model)对象)}
关于错误返回值与错误代码,参见 错误代码说明
获得当前用户模块菜单http://[customer-site]/WebApi/Handler/1.0/IBP/Menu/GetCurrentUserSelectMenu.ashx 功能:
获得当前用户模块菜单
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Menu/GetCurrentUserSelectMenu.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 modelTypeID True Int32 模块类型id(1:决策、6:财务、9:商务、12:人事 等)当为空时则返回所有的模块菜单 Json返回结果:
{"value": value_content(参考模块菜单List(Menu)对象)}
关于错误返回值与错误代码,参见 错误代码说明
获得当前用户快捷菜单http://[customer-site]/WebApi/Handler/1.0/IBP/Menu/GetCurrentUserShortMenu.ashx 功能:
获得当前用户快捷菜单
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Menu/GetCurrentUserShortMenu.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": value_content(参考模块菜单List(Menu)对象)}
关于错误返回值与错误代码,参见 错误代码说明
根据id获取菜单信息http://[customer-site]/WebApi/Handler/1.0/IBP/Menu/GetMenu.ashx 功能:
根据id获取菜单信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Menu/GetMenu.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 menuId True Int32 菜单id Json返回结果:
{"value": value_content(参考模块菜单Menu对象)}
关于错误返回值与错误代码,参见 错误代码说明
Model
获得当前用户模块http://[customer-site]/WebApi/Handler/1.0/IBP/Model/GetCurrentUserSelectModel.ashx 功能:
获得当前用户模块
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Model/GetCurrentUserSelectModel.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": value_content(参考用户模块List(Model)对象)}
关于错误返回值与错误代码,参见 错误代码说明
Organization
新增组织机构信息http://[customer-site]/WebApi/Handler/1.0/IBP/Organization/Insert.ashx 功能:
新增组织机构信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Organization/Insert.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 sName True String 机构名,必须唯一 sSimpleName True String 机构简称 sAddress True String 机构地址 sTel True String 联系电话 sPostCode True String 邮政编码 sFax True String 传真号码 sWebSite True String 网址 Json返回结果:
{"value": message (成功:"";失败:错误消息)}
关于错误返回值与错误代码,参见 错误代码说明
删除组织机构信息http://[customer-site]/WebApi/Handler/1.0/IBP/Organization/Delete.ashx 功能:
删除组织机构信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Organization/Delete.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 orgId True Int32 机构id Json返回结果:
{"value": message (成功:"";失败:错误消息)}
关于错误返回值与错误代码,参见 错误代码说明
更新组织机构信息http://[customer-site]/WebApi/Handler/1.0/IBP/Organization/Update.ashx 功能:
更新组织机构信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Organization/Update.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 PK_ID True Int32 机构id sName True String 机构名,必须唯一 sSimpleName True String 机构简称 sAddress True String 机构地址 sTel True String 联系电话 sPostCode True String 邮政编码 sFax True String 传真号码 sWebSite True String 网址 Json返回结果:
{"value": message (成功:"";失败:错误消息)}
关于错误返回值与错误代码,参见 错误代码说明
获取组织机构列表http://[customer-site]/WebApi/Handler/1.0/IBP/Organization/GetList.ashx 功能:
获取组织机构列表
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Organization/GetList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token False string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": value_content(参考组织机构List(Organization)对象)}
关于错误返回值与错误代码,参见 错误代码说明
获得组织机构列表(全)http://[customer-site]/WebApi/Handler/1.0/IBP/Organization/GetOrganizationFullList.ashx 功能:
获得组织机构列表(全)
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Organization/GetOrganizationFullList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token False string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 organization_ids True String Json返回结果:
{"value": value_content(参考组织机构List(OrganizationFull)对象)}
关于错误返回值与错误代码,参见 错误代码说明
Power
权限校验http://[customer-site]/WebApi/Handler/1.0/IBP/Power/CheckPower.ashx 功能:
权限校验
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Power/CheckPower.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 power True String Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
Product
获取产品信息http://[customer-site]/WebApi/Handler/1.0/IBP/Product/GetProductInfo.ashx 功能:
获取产品信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Product/GetProductInfo.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": value_content(参考产品IBP_T_Product对象)}
关于错误返回值与错误代码,参见 错误代码说明
Statistics
获取系统使用信息http://[customer-site]/WebApi/Handler/1.0/IBP/Statistics/GetUsageInfo.ashx 功能:
获取系统使用信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Statistics/GetUsageInfo.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token False string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": value_content(参考系统使用信息UsageInfo对象)}
关于错误返回值与错误代码,参见 错误代码说明
获取系统应用报表http://[customer-site]/WebApi/Handler/1.0/IBP/Statistics/BuildNewestReport.ashx 功能:
获取系统应用报表
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Statistics/BuildNewestReport.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token False string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": Result(应用报表字符串)}
关于错误返回值与错误代码,参见 错误代码说明
获取页面访问统计信息列表http://[customer-site]/WebApi/Handler/1.0/IBP/Statistics/GetPageVisitInfoList.ashx 功能:
获取页面访问统计信息列表
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Statistics/GetPageVisitInfoList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token False string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 begin True DateTime 开始日期 end True DateTime 结束日期 Json返回结果:
{"value": value_content(参考页面访问统计List(PageVisitInfo)对象)}
关于错误返回值与错误代码,参见 错误代码说明
获取表数据统计信息列表http://[customer-site]/WebApi/Handler/1.0/IBP/Statistics/GetTableCountInfoList.ashx 功能:
获取表数据统计信息列表
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Statistics/GetTableCountInfoList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token False string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 begin True DateTime 开始日期 end True DateTime 结束日期 Json返回结果:
{"value": value_content(参考表数据统计List(TableCountInfo)对象)}
关于错误返回值与错误代码,参见 错误代码说明
获取登陆统计信息列表http://[customer-site]/WebApi/Handler/1.0/IBP/Statistics/GetLoginInfoList.ashx 功能:
获取登陆统计信息列表
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/Statistics/GetLoginInfoList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token False string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 begin True DateTime 开始日期 end True DateTime 结束日期 Json返回结果:
{"value": value_content(参考登陆统计List(LoginInfo)对象)}
关于错误返回值与错误代码,参见 错误代码说明
User
更新用户http://[customer-site]/WebApi/Handler/1.0/IBP/User/Update.ashx 功能:
更新用户
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/User/Update.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 PK_ID True Int32 用户id sName True String 名称 sNameEn True String 英文名称 sLoginName True String 登录名称 sEmp_ID True String 员工id iSex True Int32 性别 TrueDate True DateTime 有效期 Mobile True String 电话 Email True String 邮箱 OfficePhone True String 办公电话 FamilyPhone True String 家庭电话 NetSize True Int32 网络空间 MailSize True Int32 邮件空间 iSuspend True Int32 状态 iAuthLogin True Int32 授权登录 iLock True Int32 锁定 Json返回结果:
{"value": message (成功:"";失败:错误消息)}
关于错误返回值与错误代码,参见 错误代码说明
根据登录名获取用户信息http://[customer-site]/WebApi/Handler/1.0/IBP/User/GetByLoginName.ashx 功能:
根据登录名获取用户信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/User/GetByLoginName.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 loginName True String 登录帐号 Json返回结果:
{"value": value_content(参考用户IBP_T_User对象)}
关于错误返回值与错误代码,参见 错误代码说明
校验密码http://[customer-site]/WebApi/Handler/1.0/IBP/User/CheckFlowPassword.ashx 功能:
校验密码
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/User/CheckFlowPassword.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 password True String 密码 Json返回结果:
{"value": true (true:成功,false:失败)}
关于错误返回值与错误代码,参见 错误代码说明
新增用户http://[customer-site]/WebApi/Handler/1.0/IBP/User/Insert.ashx 功能:
新增用户
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/User/Insert.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 sName True String 名称 sNameEn True String 英文名称 sLoginName True String 登录名称 sEmp_ID True String 员工id iSex True Int32 性别 TrueDate True DateTime 有效期 Mobile True String 电话 Email True String 邮箱 OfficePhone True String 办公电话 FamilyPhone True String 家庭电话 NetSize True Int32 网络空间 MailSize True Int32 邮件空间 iSuspend True Int32 状态 iAuthLogin True Int32 授权登录 iLock True Int32 锁定 Json返回结果:
{"value": message (成功:"";失败:错误消息)}
关于错误返回值与错误代码,参见 错误代码说明
获取当前用户信息http://[customer-site]/WebApi/Handler/1.0/IBP/User/GetCurrentUser.ashx 功能:
获取当前用户信息
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/User/GetCurrentUser.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": value_content(参考用户信息IBP_T_User对象)}
关于错误返回值与错误代码,参见 错误代码说明
获取当前用户职位http://[customer-site]/WebApi/Handler/1.0/IBP/User/GetCurrentUserJob.ashx 功能:
获取当前用户职位
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/User/GetCurrentUserJob.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": value_content(参考职位IBP_T_UserHoldPost对象)}
关于错误返回值与错误代码,参见 错误代码说明
获取当前用户角色列表http://[customer-site]/WebApi/Handler/1.0/IBP/User/GetCurrentUserRoles.ashx 功能:
获取当前用户角色列表
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/User/GetCurrentUserRoles.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": value_content(参考角色List(IBP_T_RoleMember)对象)}
关于错误返回值与错误代码,参见 错误代码说明
根据id获得用户名称http://[customer-site]/WebApi/Handler/1.0/IBP/User/GetUserName.ashx 功能:
根据id获得用户名称
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/User/GetUserName.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 user_id True Int32 用户编号 Json返回结果:
{"value": userName (用户名称)}
关于错误返回值与错误代码,参见 错误代码说明
更新用户在线状态http://[customer-site]/WebApi/Handler/1.0/IBP/User/UpdateUserOnlineStatus.ashx 功能:
更新用户在线状态
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/User/UpdateUserOnlineStatus.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 user_id True Int32 用户编号 status_id True Int32 状态编号Unknown = 0,Online= 1,Welcome = 2,Away= 3,Busy= 4,Mute= 5,Invisible = 6,Offline = 7 Json返回结果:
{"value": count (行数)}
关于错误返回值与错误代码,参见 错误代码说明
获取用户在线状态http://[customer-site]/WebApi/Handler/1.0/IBP/User/GetUserOnlineStatus.ashx 功能:
获取用户在线状态
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/User/GetUserOnlineStatus.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 user_id True Int32 用户编号 Json返回结果:
{"value": value_content(参考在线状态UserOnlineStaues对象)}
关于错误返回值与错误代码,参见 错误代码说明
获取用户http://[customer-site]/WebApi/Handler/1.0/IBP/User/Get.ashx 功能:
获取用户
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/User/Get.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 org_id True Int32 机构id login_name True String 登录帐号 Json返回结果:
{"value": value_content(参考用户信息IBP_T_User对象)}
关于错误返回值与错误代码,参见 错误代码说明
UserSelector
选择组织机构http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetOrgList.ashx 功能:
选择组织机构
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetOrgList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": value_content(参考List(SimpleObject)对象)}
关于错误返回值与错误代码,参见 错误代码说明
选择部门http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetDeptList.ashx 功能:
选择部门
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetDeptList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 org_id True Int32 机构id Json返回结果:
{"value": value_content(参考List(SimpleObject)对象)}
关于错误返回值与错误代码,参见 错误代码说明
选择职位http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetPositionList.ashx 功能:
选择职位
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetPositionList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 dept_id True Int32 部门id Json返回结果:
{"value": value_content(参考List(SimpleObject)对象)}
关于错误返回值与错误代码,参见 错误代码说明
选择人员http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetUserList.ashx 功能:
选择人员
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetUserList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 org_id True Int32 机构id dept_id True Int32 部门id Json返回结果:
{"value": value_content(参考List(SimpleObject)对象)}
关于错误返回值与错误代码,参见 错误代码说明
选择角色机构http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetRoleList.ashx 功能:
选择角色机构
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetRoleList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 org_id True Int32 机构id Json返回结果:
{"value": value_content(参考List(SimpleObject)对象)}
关于错误返回值与错误代码,参见 错误代码说明
选择体系http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetSysList.ashx 功能:
选择体系
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetSysList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": value_content(参考List(SimpleObject)对象)}
关于错误返回值与错误代码,参见 错误代码说明
选择分组http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetGroupList.ashx 功能:
选择分组
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetGroupList.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 Json返回结果:
{"value": value_content(参考List(SimpleObject)对象)}
关于错误返回值与错误代码,参见 错误代码说明
根据体系选择用户http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetUserListBySys.ashx 功能:
根据体系选择用户
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetUserListBySys.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 sys_id True String 体系id Json返回结果:
{"value": value_content(参考List(SimpleObject)对象)}
关于错误返回值与错误代码,参见 错误代码说明
根据分组选择用户http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetUserListByGroup.ashx 功能:
根据分组选择用户
接口地址:
http://[customer-site]/WebApi/Handler/1.0/IBP/UserSelector/GetUserListByGroup.ashx测试
返回格式:
JSON
HTTP请求方式:
GET/POST
请求参数:
参数名 是否必须 类型 说明 token True string 当前登录用户访问令牌 format 否 string 返回数据的格式(json或xml),默认为json格式 group_id True Int32 分组id Json返回结果:
{"value": value_content(参考List(SimpleObject)对象)}
关于错误返回值与错误代码,参见 错误代码说明