openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TWPN_GET_AV_TRANSACTIONS:
    post:
      tags:
      - PWP2
      operationId: /rfc/TWPN_GET_AV_TRANSACTIONS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GET_SUBTYPES:
                  type: string
                  default: ' '
                  maxLength: 1
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                TCODE_RANGE:
                  type: string
                  maxLength: 20
                TRANSACTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Transaction Code
                      TYPE:
                        type: string
                        maxLength: 30
                        description: R/3 service type
                      SUBTYPE:
                        type: string
                        maxLength: 30
                        description: R/3 service subtype
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Transaction title
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TRANSACTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Transaction Code
                        TYPE:
                          type: string
                          maxLength: 30
                          description: R/3 service type
                        SUBTYPE:
                          type: string
                          maxLength: 30
                          description: R/3 service subtype
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key of Current Text Environment
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Transaction title
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
