openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ER_TRAN_GET_LIST:
    post:
      tags:
      - ER_TRAN_API
      summary: Returns a list of transactions
      operationId: /rfc/ER_TRAN_GET_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                I_MAX_NUMBER:
                  type: integer
                  format: int32
                  default: 100
                  description: Maximum Number of transactions to be returned (-1 = all)
                I_TCODE_SELECTION:
                  type: string
                  default: '*'
                  maxLength: 20
                  description: Transaction code search pattern
                I_TTEXT_SELECTION:
                  type: string
                  default: '*'
                  maxLength: 36
                  description: Transaction text search pattern
                E_T_TSTCV:
                  type: array
                  items:
                    type: object
                    properties:
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Transaction Code
                      SPRSL:
                        type: string
                        maxLength: 1
                        description: Language Key
                      PGMNA:
                        type: string
                        maxLength: 40
                        description: Program Name
                      DYPNO:
                        type: integer
                        format: int64
                        description: Screen number
                      MENUE:
                        type: string
                        maxLength: 5
                        description: CHAR05 data element for SYST
                      CINFO:
                        type: string
                        format: byte
                        description: HEX01 data element for SYST
                      ARBGB:
                        type: string
                        maxLength: 20
                        description: Message identification
                      TTEXT:
                        type: string
                        maxLength: 36
                        description: Transaction text
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_TSTCV:
                    type: array
                    items:
                      type: object
                      properties:
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Transaction Code
                        SPRSL:
                          type: string
                          maxLength: 1
                          description: Language Key
                        PGMNA:
                          type: string
                          maxLength: 40
                          description: Program Name
                        DYPNO:
                          type: integer
                          format: int64
                          description: Screen number
                        MENUE:
                          type: string
                          maxLength: 5
                          description: CHAR05 data element for SYST
                        CINFO:
                          type: string
                          format: byte
                          description: HEX01 data element for SYST
                        ARBGB:
                          type: string
                          maxLength: 20
                          description: Message identification
                        TTEXT:
                          type: string
                          maxLength: 36
                          description: Transaction text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
