openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSQ_START_NEW_SESSION_RFC:
    post:
      tags:
      - SMSSREMOTE
      summary: Start a new session
      operationId: /rfc/MSQ_START_NEW_SESSION_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DB_NAME:
                  type: string
                  maxLength: 128
                  description: Database name
                DEST:
                  type: string
                  maxLength: 32
                  description: Logical Destination (Specified in Function Call)
                MODE:
                  type: string
                  maxLength: 1
                  description: Stored procedure name
                SCHEMA_NAME:
                  type: string
                  maxLength: 128
                  description: Schema name
                SPNAME:
                  type: string
                  default: ''
                  maxLength: 128
                  description: Stored procedure name
                TABNAME:
                  type: string
                  maxLength: 128
                  description: Table name
              required:
              - DEST
              - MODE
              - TABNAME
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
