# 添加班次信息

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /j4-orgmanager/shiftSetting/addShiftSetting:
    post:
      summary: 添加班次信息
      deprecated: false
      description: ''
      operationId: addShiftSettingUsingPOST
      tags:
        - j4/组织管理/班次设置接口
        - 班次设置接口
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/%E6%B7%BB%E5%8A%A0%E7%8F%AD%E6%AC%A1%E6%95%B0%E6%8D%AE%E4%BC%A0%E8%BE%93%E5%AF%B9%E8%B1%A1
      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-305748860-run
components:
  schemas:
    添加班次数据传输对象:
      type: object
      required:
        - name
        - remark
        - workTime
      properties:
        name:
          type: string
          description: 班次名称
          examples:
            - 早班1
        remark:
          type: string
          description: 备注说明
          examples:
            - 早班加点油
        workTime:
          type: array
          description: 工作时间段
          items:
            type: string
          examples:
            - - 4:30~11:30
      title: 添加班次数据传输对象
      x-apifox-orders:
        - name
        - remark
        - workTime
      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: []

```
