# 添加排班关联人员

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /j4-orgmanager/scheduling/save-Associated-Personnel:
    post:
      summary: 添加排班关联人员
      deprecated: false
      description: ''
      operationId: addAssociatedPersonnelUsingPOST
      tags:
        - j4/组织管理/排班设置接口
        - 排班设置接口
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/%E6%B7%BB%E5%8A%A0%E5%85%B3%E8%81%94%E5%91%98%E5%B7%A5
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/JsonVO%C2%ABstring%C2%BB'
          headers: {}
          x-apifox-name: 成功
        '201':
          description: Created
          content:
            '*/*':
              schema:
                type: object
                properties: {}
                x-apifox-orders: []
                x-apifox-ignore-properties: []
          headers: {}
          x-apifox-name: 成功
        '401':
          description: Unauthorized
          content:
            '*/*':
              schema:
                type: object
                properties: {}
                x-apifox-orders: []
                x-apifox-ignore-properties: []
          headers: {}
          x-apifox-name: 没有权限
        '403':
          description: Forbidden
          content:
            '*/*':
              schema:
                type: object
                properties: {}
                x-apifox-orders: []
                x-apifox-ignore-properties: []
          headers: {}
          x-apifox-name: 禁止访问
        '404':
          description: Not Found
          content:
            '*/*':
              schema:
                type: object
                properties: {}
                x-apifox-orders: []
                x-apifox-ignore-properties: []
          headers: {}
          x-apifox-name: 记录不存在
      security: []
      x-apifox-folder: j4/组织管理/排班设置接口
      x-apifox-status: integrating
      x-run-in-apifox: https://app.apifox.com/web/project/6386631/apis/api-305748853-run
components:
  schemas:
    添加关联员工:
      type: object
      required:
        - scheduleId
        - staffId
        - staffName
        - storeId
      properties:
        createTime:
          type: string
          format: date-time
          description: 创建时间
          examples:
            - '2023-10-01 12:00:00'
        scheduleId:
          type: string
          description: 班次ID
          examples:
            - 426614174001
        staffId:
          type: string
          description: 员工ID
          examples:
            - 426614174002
        staffName:
          type: string
          description: 员工姓名
          examples:
            - 张三
        statusCd:
          type: integer
          format: int32
          description: 状态
          examples:
            - 1
        storeId:
          type: string
          description: 组织ID
          examples:
            - 426614174003
      title: 添加关联员工
      x-apifox-orders:
        - createTime
        - scheduleId
        - staffId
        - staffName
        - statusCd
        - storeId
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    JsonVO«string»:
      type: object
      properties:
        code:
          type: integer
          format: int32
          description: 状态码
          examples:
            - 10000
        data:
          type: string
          description: 数据对象
        message:
          type: string
          description: 提示消息
          examples:
            - 提示消息内容
      title: JsonVO«string»
      x-apifox-orders:
        - code
        - data
        - message
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    bearer_auth:
      type: jwt
      description: Default HTTP Bearer Authorization
      name: Authorization
      in: header
      scheme: bearer
      bearerFormat: JWT
    Authorization:
      type: apikey
      name: Authorization
      in: header
servers: []
security: []

```
