openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDL_TRACEFILE_DISPLAY:
    post:
      tags:
      - RSDL
      operationId: /rfc/RSDL_TRACEFILE_DISPLAY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_S_DBCON:
                  type: object
                  properties:
                    CON_NAME:
                      type: string
                      maxLength: 30
                      description: Logical name for a database connection
                    DBMS:
                      type: string
                      maxLength: 3
                      description: 'Database system  enumValues: DB2=DB2 UDB for OS/390,MSS=Microsoft SQL Server,ADA=SAP DB (ADABAS/D),INF=Informix,ORA=Oracle,DB4=DB2 UDB for AS/400,DB6=DB2 UDB for Unix and Windows'
                      enum:
                      - DB2
                      - MSS
                      - ADA
                      - INF
                      - ORA
                      - DB4
                      - DB6
                    USER_NAME:
                      type: string
                      maxLength: 30
                      description: Database User
                    PASSWORD:
                      type: string
                      maxLength: 255
                      description: Password for setting up the connection to the database
                    CON_ENV:
                      type: string
                      maxLength: 255
                      description: Database-specific information for a database connection
                    DB_RECO:
                      type: string
                      maxLength: 1
                      description: 'Availability type for an open database connect  enumValues: ""=Not Selected,X=Selected'
                      enum:
                      - ''
                      - X
                    MAX_CONNECTIONS:
                      type: integer
                      format: int32
                      description: Maximum Number of Connections
                    OPT_CONNECTIONS:
                      type: integer
                      format: int32
                      description: Optimum Number of Connections
                I_S_MSXXLIST:
                  type: object
                  properties:
                    NAME:
                      type: string
                      maxLength: 40
                      description: Application Server Name
                    HOST:
                      type: string
                      maxLength: 32
                      description: Name of Application Server
                    SERV:
                      type: string
                      maxLength: 20
                      description: Service
                    MSGTYPES:
                      type: string
                      format: byte
                      description: Services
                    HOSTADR:
                      type: string
                      format: byte
                      description: Host IP address
                    SERVNO:
                      type: string
                      format: byte
                      description: Service port number
                    STATE:
                      type: string
                      format: byte
                      description: Server Status
              required:
              - I_S_DBCON
              - I_S_MSXXLIST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_S_BALMI:
                    type: object
                    properties:
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      ALTEXT:
                        type: string
                        maxLength: 28
                        description: 'Application log: Standard text'
                      USEREXITP:
                        type: string
                        maxLength: 40
                        description: 'Application Log: Callback: Program name'
                      USEREXITF:
                        type: string
                        maxLength: 30
                        description: 'Application Log: Callback: Routine name'
                      DETLEVEL:
                        type: string
                        maxLength: 1
                        description: 'Application Log: Level of detail  enumValues: 1=Level of detail 1,3=Level of detail 3,2=Level of detail 2,5=Level of detail 5,4=Level of detail 4,7=Level of detail 7,6=Level of detail 6,9=Level of detail 9,8=Level of detail 8'
                        enum:
                        - '1'
                        - '3'
                        - '2'
                        - '5'
                        - '4'
                        - '7'
                        - '6'
                        - '9'
                        - '8'
                      PROBCLASS:
                        type: string
                        maxLength: 1
                        description: 'Application log: Message problem class  enumValues: 2=important,4=Additional information,1=very important,3=medium,""=Other'
                        enum:
                        - '2'
                        - '4'
                        - '1'
                        - '3'
                        - ''
                      ALSORT:
                        type: string
                        maxLength: 3
                        description: 'Application log: Sort criterion/grouping'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
