全程云>开发者平台> IBP组织机构(免费)

IBP组织机构(免费)

  • 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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    FK_OrganIDTrueInt32机构id
    iParentIDTrueInt32上级部门id
    sNameTrueString名称
    sTelTrueString电话
    sFaxTrueString传真
    sAddressTrueString地址
    sRemarkTrueString备注

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    deptIdTrueInt32部门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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    PK_IDTrueInt32id
    FK_OrganIDTrueInt32机构id
    iParentIDTrueInt32上级部门id
    sNameTrueString名称
    sTelTrueString电话
    sFaxTrueString传真
    sAddressTrueString地址
    sRemarkTrueString备注

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    levelNameTrueString层级名称字符"|"或"/"

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    sNameTrueString名称
    FK_OrganIDTrueInt32机构id
    FK_DeptIDTrueInt32部门id
    ParentIdTrueInt32上级职位id
    iOrderTrueInt32排序
    sDescriptionTrueString描述
    iJobCountTrueInt32编制
    JobSummaryTrueString工作责职
    sRequirementTrueString工作要求
    iIsmanagerTrueInt32是否管理员

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    jobIdTrueInt32职位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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    PK_IDTrueInt32职位id
    sNameTrueString名称
    FK_OrganIDTrueInt32机构id
    FK_DeptIDTrueInt32部门id
    ParentIdTrueInt32上级职位id
    iOrderTrueInt32排序
    sDescriptionTrueString描述
    iJobCountTrueInt32编制
    JobSummaryTrueString工作责职
    sRequirementTrueString工作要求
    iIsmanagerTrueInt32是否管理员

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    jobIdTrueInt32职位id
    loginNameTrueString登录名
    userNameTrueString用户名
    passwordTrueString密码

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    levelNameTrueString层级名称字符"|"或"/"

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    typeIdTrueString模块类型id
    nodeTypeTrueString节点类型(父节点: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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    modelTypeIDTrueInt32模块类型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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    menuIdTrueInt32菜单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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    sNameTrueString机构名,必须唯一
    sSimpleNameTrueString机构简称
    sAddressTrueString机构地址
    sTelTrueString联系电话
    sPostCodeTrueString邮政编码
    sFaxTrueString传真号码
    sWebSiteTrueString网址

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    orgIdTrueInt32机构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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    PK_IDTrueInt32机构id
    sNameTrueString机构名,必须唯一
    sSimpleNameTrueString机构简称
    sAddressTrueString机构地址
    sTelTrueString联系电话
    sPostCodeTrueString邮政编码
    sFaxTrueString传真号码
    sWebSiteTrueString网址

    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

    请求参数:

    参数名是否必须类型说明
    tokenFalsestring当前登录用户访问令牌
    formatstring返回数据的格式(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

    请求参数:

    参数名是否必须类型说明
    tokenFalsestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    organization_idsTrueString

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    powerTrueString

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(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

    请求参数:

    参数名是否必须类型说明
    tokenFalsestring当前登录用户访问令牌
    formatstring返回数据的格式(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

    请求参数:

    参数名是否必须类型说明
    tokenFalsestring当前登录用户访问令牌
    formatstring返回数据的格式(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

    请求参数:

    参数名是否必须类型说明
    tokenFalsestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    beginTrueDateTime开始日期
    endTrueDateTime结束日期

    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

    请求参数:

    参数名是否必须类型说明
    tokenFalsestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    beginTrueDateTime开始日期
    endTrueDateTime结束日期

    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

    请求参数:

    参数名是否必须类型说明
    tokenFalsestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    beginTrueDateTime开始日期
    endTrueDateTime结束日期

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    PK_IDTrueInt32用户id
    sNameTrueString名称
    sNameEnTrueString英文名称
    sLoginNameTrueString登录名称
    sEmp_IDTrueString员工id
    iSexTrueInt32性别
    TrueDateTrueDateTime有效期
    MobileTrueString电话
    EmailTrueString邮箱
    OfficePhoneTrueString办公电话
    FamilyPhoneTrueString家庭电话
    NetSizeTrueInt32网络空间
    MailSizeTrueInt32邮件空间
    iSuspendTrueInt32状态
    iAuthLoginTrueInt32授权登录
    iLockTrueInt32锁定

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    loginNameTrueString登录帐号

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    passwordTrueString密码

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    sNameTrueString名称
    sNameEnTrueString英文名称
    sLoginNameTrueString登录名称
    sEmp_IDTrueString员工id
    iSexTrueInt32性别
    TrueDateTrueDateTime有效期
    MobileTrueString电话
    EmailTrueString邮箱
    OfficePhoneTrueString办公电话
    FamilyPhoneTrueString家庭电话
    NetSizeTrueInt32网络空间
    MailSizeTrueInt32邮件空间
    iSuspendTrueInt32状态
    iAuthLoginTrueInt32授权登录
    iLockTrueInt32锁定

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    user_idTrueInt32用户编号

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    user_idTrueInt32用户编号
    status_idTrueInt32状态编号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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    user_idTrueInt32用户编号

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    org_idTrueInt32机构id
    login_nameTrueString登录帐号

    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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    org_idTrueInt32机构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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    dept_idTrueInt32部门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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    org_idTrueInt32机构id
    dept_idTrueInt32部门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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    org_idTrueInt32机构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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    sys_idTrueString体系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

    请求参数:

    参数名是否必须类型说明
    tokenTruestring当前登录用户访问令牌
    formatstring返回数据的格式(json或xml),默认为json格式
    group_idTrueInt32分组id

    Json返回结果:

    {"value": value_content(参考List(SimpleObject)对象)}

    关于错误返回值与错误代码,参见 错误代码说明