openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_FUNCTION_POOL_INSERT:
    post:
      tags:
      - SUNI
      summary: Create a new function group
      operationId: /rfc/RS_FUNCTION_POOL_INSERT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AUTHORITY_CHECK:
                  type: string
                  default: X
                  maxLength: 1
                CORRNUM:
                  type: string
                  maxLength: 20
                DEVCLASS:
                  type: string
                  maxLength: 30
                FUNCTION_POOL:
                  type: string
                  maxLength: 26
                NAMESPACE:
                  type: string
                  default: ' '
                  maxLength: 10
                RESPONSIBLE:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                SHORT_TEXT:
                  type: string
                  maxLength: 74
                SUPPRESS_CORR_CHECK:
                  type: string
                  default: X
                  maxLength: 1
                SUPPRESS_LANGUAGE_CHECK:
                  type: string
                  default: X
                  maxLength: 1
                UNICODE_CHECKS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Flag, if unicode check was performed
              required:
              - FUNCTION_POOL
              - SHORT_TEXT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CORRNUM:
                    type: string
                    maxLength: 20
                    description: Flag, if unicode check was performed
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
