openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_CACHEPROFILE_SWITCH:
    post:
      tags:
      - SFMSS_SYSTAB
      summary: Cacheprofile switch for SQL Server
      operationId: /rfc/MSS_CACHEPROFILE_SWITCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BUCKETID:
                  type: integer
                  format: int32
                  description: Bucket id
                COMMAND:
                  type: integer
                  format: int32
                  default: 1
                  description: Command for SQL Server cache profile switch
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name of a database connection
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Target schema
              required:
              - COMMAND
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ONOFF:
                    type: integer
                    format: int32
                    description: On or off.
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
