岗位列表

接口地址:/openapi/position/query

请求方式:POST

请求数据类型:application/json

响应数据类型:*/*

接口描述:

请求示例:

{
  "enabled": false,
  "name": "",
  "type": ""
}

请求参数:

参数名称 参数说明 请求类型 是否必须 数据类型 schema
open-platform Position 请求对象 岗位 body true open-platform Position 请求对象 open-platform Position 请求对象
  enabled 是否启用 false boolean
  name 岗位名称 false string
  type 岗位类型 false string
pageNo pageNo query false integer(int64)
pageSize pageSize query false integer(int64)

响应状态:

状态码 说明 schema
200 OK R«open-platform 分页简单对象«open-platform Position对象»»
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
code integer(int32) integer(int32)
data open-platform 分页简单对象«open-platform Position对象» open-platform 分页简单对象«open-platform Position对象»
  current 当前页 integer(int64)
  records 查询数据列表 array open-platform Position对象
    description 岗位描述 string
    enabled 是否启用 boolean
    id ID integer
    level 岗位等级 string
    name 岗位名称 string
    quantity 编制数量 integer
    type 岗位类型,可用值:DELIVER,DESIGNER,DESIGNER_MANAGER,FINANCE,NONE,OPERATION,PROJECT_MANAGER,PROJECT_SUPERVISOR,SALES,SALES_MANAGER string
    typeName 岗位类型名称 string
  size 每页显示条数 integer(int64)
  total 总数 integer(int64)
message string
successful boolean

响应示例:

{
    "code": 0,
    "data": {
        "current": 0,
        "records": [
            {
                "description": "",
                "enabled": false,
                "id": 0,
                "level": "",
                "name": "",
                "quantity": 0,
                "type": "",
                "typeName": ""
            }
        ],
        "size": 0,
        "total": 0
    },
    "message": "",
    "successful": true
}

根据ID查询

接口地址:/openapi/position/{id}

请求方式:GET

请求数据类型:application/x-www-form-urlencoded

响应数据类型:*/*

接口描述:

请求参数:

参数名称 参数说明 请求类型 是否必须 数据类型 schema
id id path true integer(int64)

响应状态:

状态码 说明 schema
200 OK R«open-platform Position对象»
401 Unauthorized
403 Forbidden
404 Not Found

响应参数:

参数名称 参数说明 类型 schema
code integer(int32) integer(int32)
data open-platform Position对象 open-platform Position对象
  description 岗位描述 string
  enabled 是否启用 boolean
  id ID integer(int64)
  level 岗位等级 string
  name 岗位名称 string
  quantity 编制数量 integer(int32)
  type 岗位类型,可用值:DELIVER,DESIGNER,DESIGNER_MANAGER,FINANCE,NONE,OPERATION,PROJECT_MANAGER,PROJECT_SUPERVISOR,SALES,SALES_MANAGER string
  typeName 岗位类型名称 string
message string
successful boolean

响应示例:

{
    "code": 0,
    "data": {
        "description": "",
        "enabled": false,
        "id": 0,
        "level": "",
        "name": "",
        "quantity": 0,
        "type": "",
        "typeName": ""
    },
    "message": "",
    "successful": true
}
作者:admin  创建时间:2021-07-06 11:11
最后编辑:admin  更新时间:2025-05-30 16:03