职务列表查询

请求方式:POST

请求地址:/api/jediopenplatformopenapi/organization/position/searchPositionByCondition

请求参数:

参数名 描述 数据类型 必填 字节长度
positionUuid 职务uuid String 50
grade 职务等级 Integer
includeDeletedPosition 是否包含删除职务,默认不包含
true 包含  false 不包含
Boolean
positionBusinessLevel 职务类别
{
  business: 置业顾问,
  shopMgr: 店管,
  areaMgr: 区管,
  regionalMgr: 区总,
  viceGeneralMgr: 副总,
  generalMgr: 总经,
  otherMgr: 其他职能
}
String 10
positionName 职务名称 String 20

请求示例:

{
  "param": {
    "grade": 3,
    "includeDeletedPosition": false,
    "positionBusinessLevel": "areaMgr",
    "positionName": "区管",
    "positionUuid": "f25e4301fde240fa9e04978fb5c57a8b"
  }
}

返回参数:List

参数名 描述 数据类型 必填 字节长度
positionUuid 职务uuid String 50
grade 职务等级 Integer
includeDeletedPosition 是否包含删除职务,默认不包含
true 包含  false 不包含
Boolean
positionBusinessLevel 职务类别
{
  business: 置业顾问,
  shopMgr: 店管,
  areaMgr: 区管,
  regionalMgr: 区总,
  viceGeneralMgr: 副总,
  generalMgr: 总经,
  otherMgr: 其他职能
}
String 10
positionName 职务名称 String 20

返回示例:

{
  "responseCode": "1",
  "responseMessage": "success",
  "responseType": null,
  "data": [
    {
      "positionUuid": "398cebedd4bc46d2abdaddeedef5ac5c",
      "positionName": "总经",
      "grade": 1,
      "positionBusinessLevel": regionalMgr,
      "deleted": false
    }
  ]
}

角色列表查询

请求方式:POST

请求地址:/api/jediopenplatformopenapi/organization/position/searchRole

请求参数:

参数名 描述 数据类型 必填 字节长度
roleName 角色名称 String 20
roleType 角色类型
{
  business: 置业顾问,
  shopMgr: 店管,
  areaMgr: 区管,
  regionalMgr: 区总,
  viceGeneralMgr: 副总,
  generalMgr: 总经,
  otherMgr: 其他职能
}
String 20

请求示例:

{
  "param": {
    "roleName": "副总经理",
    "roleType": "viceGeneralMgr"
  }
}

返回参数:List

参数名 描述 数据类型 必填 字节长度
roleUuid 角色uuid String 50
roleName 角色名称 String 20
roleType 角色类型
{
  business: 置业顾问,
  shopMgr: 店管,
  areaMgr: 区管,
  regionalMgr: 区总,
  viceGeneralMgr: 副总,
  generalMgr: 总经,
  otherMgr: 其他职能
}
String 20
createdTime 创建时间(时间戳精确到毫秒) Date
dataUpdatedTime 更新时间(时间戳精确到毫秒) Date

返回示例:

{
  "responseCode": "1",
  "responseMessage": "success",
  "responseType": null,
  "data": [
     {
      "roleUuid": "6bcce273d3bd4e02b087c6db79a7dd64",
      "roleName": "副总经理",
      "roleType": "viceGeneralMgr",
      "createdTime": 1620807891603,
      "dataUpdatedTime": 1625472857557
    }
  ]
}

新增职务

请求方式:POST

请求地址:/api/jediopenplatformopenapi/organization/position/addPosition

请求参数:

参数名 描述 数据类型 必填 字节长度
positionName 职务名称 String 20
grade 职务等级 Integer
positionCategoy 职务类型
{
  business: 置业顾问,
  shopMgr: 店管,
  areaMgr: 区管,
  regionalMgr: 区总,
  viceGeneralMgr: 副总,
  generalMgr: 总经,
  otherMgr: 其他职能
}
List<String>
roleUuidList 角色uuid List<String>

请求示例:

{
  "param": {
    "grade": 1,
    "positionCategoy": "generalMgr",
    "positionName": "总经理",
    "roleUuidList": [
      "4e2ef808daa54da4bf11e6570c1812c5",
      "a2d12550f12d4442a8afdf42307e8ae0"
    ]
  }
}

返回参数:

参数名 描述 数据类型 必填 字节长度
data 职务uuid String 50

返回示例:

{
  "responseCode": "1",
  "responseMessage": "success",
  "responseType": null,
  "data": "a2d12550f12d4442a8afdf42307e8ae0"
}

更新职务

请求方式:POST

请求地址:/api/jediopenplatformopenapi/organization/position/updatePosition

请求参数:

参数名 描述 数据类型 必填 字节长度
positionUuid 职务uuid String 50
positionName 职务名称 String 20
grade 职务等级 Integer
positionCategoy 职务类型
{
  business: 置业顾问,
  shopMgr: 店管,
  areaMgr: 区管,
  regionalMgr: 区总,
  viceGeneralMgr: 副总,
  generalMgr: 总经,
  otherMgr: 其他职能
}
List<String>
roleUuidList 角色uuid List<String>

请求示例:

{
  "param": {
    "grade": 1,
    "positionCategoy": "generalMgr",
    "positionName": "总经理",
    "positionUuid": "a2d12550f12d4442a8afdf42307e8ae0",
    "roleUuidList": [
      "4e2ef808daa54da4bf11e6570c1812c5",
      "a2d12550f12d4442a8afdf42307e8ae0"
    ]
  }
}

返回参数:无

返回示例:

{
  "responseCode": "1",
  "responseMessage": "success",
  "responseType": null,
  "data": null
}

删除职务

请求方式:POST

请求地址:/api/jediopenplatformopenapi/organization/position/removePositionByUuid

请求参数:

参数名 描述 数据类型 必填 字节长度
param 职务uuid String 50

请求示例:

{
  "param": "a2d12550f12d4442a8afdf42307e8ae0"
}

返回参数:无

返回示例:

{
  "responseCode": "1",
  "responseMessage": "success",
  "responseType": null,
  "data": null
}

results matching ""

    No results matching ""