openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RRX_MESSAGES_GET:
    post:
      tags:
      - RRX1
      operationId: /rfc/RRX_MESSAGES_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_HANDLE:
                  type: integer
                  format: int64
                I_LAST_N_CALLS:
                  type: integer
                  format: int64
                E_T_MESG:
                  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, ...)  enumValues: W=Warning,E=Error,A=Termination,I=Information,S=Success message'
                        enum:
                        - W
                        - E
                        - A
                        - I
                        - S
                      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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_MESG:
                    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, ...)  enumValues: W=Warning,E=Error,A=Termination,I=Information,S=Success message'
                          enum:
                          - W
                          - E
                          - A
                          - I
                          - S
                        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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
