openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STU3_CONNECT_IFI:
    post:
      tags:
      - STU3
      summary: Creates tables used by SAPCL and JCL parameters
      operationId: /rfc/STU3_CONNECT_IFI
      requestBody:
        content:
          application/json:
            schema:
              properties:
                REMOTE_DBCON:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                TESTMODE:
                  type: string
                  default: ''
                  maxLength: 1
                  description: test mode flag
                IFI_RC_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      CLGUID:
                        type: string
                        maxLength: 32
                        description: ''
                      CMDDATE:
                        type: string
                        format: date
                        description: Field of type DATS
                      LODLKTIME:
                        type: string
                        maxLength: 6
                        description: Field of type TIMS
                      USERID:
                        type: integer
                        format: int32
                        description: ''
                      FKTID:
                        type: integer
                        format: int32
                        description: ''
                      ACE:
                        type: integer
                        format: int32
                        description: Field type raw, length 8, 4 bytes
                      STMTID:
                        type: integer
                        format: int32
                        description: SQL STATEMENT IDENTIFIER
                      STMTTOKEN:
                        type: string
                        format: byte
                        description: DB2 statement name
                      IDSCFTYP:
                        type: integer
                        format: int32
                        description: type field for dynamic statement cache
                      IDSCFFLD:
                        type: integer
                        format: int32
                        description: ''
                      IDSCFVAL:
                        type: integer
                        format: int32
                        description: ''
                      RETRY:
                        type: integer
                        format: int32
                        description: ''
                      TRCLVL:
                        type: integer
                        format: int32
                        description: ''
                      DB2CLRC:
                        type: integer
                        format: int32
                        description: ''
                      MEMBNM:
                        type: string
                        maxLength: 8
                        description: DB2 member name in data sharing environment
                      IFRALEN:
                        type: integer
                        format: int32
                        description: ''
                      DSECPROCD:
                        type: integer
                        format: int32
                        description: ''
                      DSECNPROCD:
                        type: integer
                        format: int32
                        description: ''
                      COMMANDLEN:
                        type: integer
                        format: int32
                        description: ''
                      COMMAND:
                        type: string
                        maxLength: 256
                        description: ''
                      DBTRCLVL:
                        type: integer
                        format: int32
                        description: IFI DB trace level
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DS_MEMBER_USED:
                    type: string
                    maxLength: 8
                    description: Name of the data sharing group member
                  IFIRC:
                    type: integer
                    format: int32
                    description: 'DB2 Performance Monitor: Commands'
                  RFC_OUT:
                    type: string
                    maxLength: 512
                    description: Character 512
                  SQLCODE:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  IFI_RC_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        CLGUID:
                          type: string
                          maxLength: 32
                          description: ''
                        CMDDATE:
                          type: string
                          format: date
                          description: Field of type DATS
                        LODLKTIME:
                          type: string
                          maxLength: 6
                          description: Field of type TIMS
                        USERID:
                          type: integer
                          format: int32
                          description: ''
                        FKTID:
                          type: integer
                          format: int32
                          description: ''
                        ACE:
                          type: integer
                          format: int32
                          description: Field type raw, length 8, 4 bytes
                        STMTID:
                          type: integer
                          format: int32
                          description: SQL STATEMENT IDENTIFIER
                        STMTTOKEN:
                          type: string
                          format: byte
                          description: DB2 statement name
                        IDSCFTYP:
                          type: integer
                          format: int32
                          description: type field for dynamic statement cache
                        IDSCFFLD:
                          type: integer
                          format: int32
                          description: ''
                        IDSCFVAL:
                          type: integer
                          format: int32
                          description: ''
                        RETRY:
                          type: integer
                          format: int32
                          description: ''
                        TRCLVL:
                          type: integer
                          format: int32
                          description: ''
                        DB2CLRC:
                          type: integer
                          format: int32
                          description: ''
                        MEMBNM:
                          type: string
                          maxLength: 8
                          description: DB2 member name in data sharing environment
                        IFRALEN:
                          type: integer
                          format: int32
                          description: ''
                        DSECPROCD:
                          type: integer
                          format: int32
                          description: ''
                        DSECNPROCD:
                          type: integer
                          format: int32
                          description: ''
                        COMMANDLEN:
                          type: integer
                          format: int32
                          description: ''
                        COMMAND:
                          type: string
                          maxLength: 256
                          description: ''
                        DBTRCLVL:
                          type: integer
                          format: int32
                          description: IFI DB trace level
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
