openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_COLL_SWITCH:
    post:
      tags:
      - SMSSDBCOLL
      operationId: /rfc/MSS_COLL_SWITCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVITY:
                  type: string
                  maxLength: 1
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical Name for a Database Connection
                I_FREQ:
                  type: integer
                  format: int32
                  default: 0
                I_RETI:
                  type: integer
                  format: int32
                  default: 0
                  description: Retention Time
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
              required:
              - ACTIVITY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  O_FREQ:
                    type: integer
                    format: int32
                  O_RETI:
                    type: integer
                    format: int32
                    description: Retention Time
                  STATUS:
                    type: string
                    maxLength: 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
