openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSRD_X_DIALOG_LOG:
    post:
      tags:
      - RSRD_X_ITEM
      operationId: /rfc/RSRD_X_DIALOG_LOG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_REFERENCE_ID:
                  type: string
                  maxLength: 32
                I_TH_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 30
                        description: Parameter ID
                      INDEX:
                        type: integer
                        format: int32
                        description: Parameter Index
                      VALUE:
                        type: string
                        description: ''
              required:
              - I_REFERENCE_ID
              - I_TH_PARAMETER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SX_RENDER_INFO:
                    type: object
                    properties:
                      T_TREE:
                        type: array
                        items:
                          type: object
                          properties:
                            ID:
                              type: string
                              maxLength: 30
                              description: 30 Characters
                            HLEVEL:
                              type: integer
                              format: int64
                              description: Hierarchy Level in Hierarchical Data (for Tree Display)
                            TEXT:
                              type: string
                              maxLength: 60
                              description: Long description
                            IS_LEAF:
                              type: string
                              maxLength: 1
                              description: Boolean
                            IS_OPEN:
                              type: string
                              maxLength: 1
                              description: Boolean
                            EXPAND_PAR:
                              type: string
                              maxLength: 12
                              description: 'Tree Control: Node Key'
                            PAR0:
                              type: string
                              maxLength: 10
                              description: Character Field Length = 10
                            PAR1:
                              type: string
                              maxLength: 30
                              description: 30 Characters
                            PAR2:
                              type: string
                              maxLength: 30
                              description: 30 Characters
                            PAR3:
                              type: string
                              maxLength: 30
                              description: 30 Characters
                            PAR4:
                              type: string
                              maxLength: 30
                              description: 30 Characters
                      T_BAL_MESSAGE:
                        type: array
                        items:
                          type: object
                          properties:
                            LOG_HANDLE:
                              type: string
                              maxLength: 22
                              description: 'Application Log: Log Handle'
                            MSGNUMBER:
                              type: integer
                              format: int64
                              description: 'Application log: Internal message serial number'
                            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
                            TEXT:
                              type: string
                              maxLength: 200
                              description: Text field length 200
                  E_T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        ZEILE:
                          type: string
                          maxLength: 22
                          description: Line number
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message type (E, I, W, ...)
                        TEXT:
                          type: string
                          maxLength: 132
                          description: Message Text
                        ARBGB:
                          type: string
                          maxLength: 20
                          description: Application Area
                        TXTNR:
                          type: string
                          maxLength: 3
                          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
                  E_T_RETURN_DIALOG_PARAMETER:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 30
                          description: Parameter ID
                        INDEX:
                          type: integer
                          format: int32
                          description: Parameter Index
                        VALUE:
                          type: string
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
