openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_LIST_TREX_DIRECTORY:
    post:
      tags:
      - TREX_RFC_TOOLS
      summary: Get list of trace files for one TREX landscape
      operationId: /rfc/TREX_RFC_LIST_TREX_DIRECTORY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DIRECTORY_TYPE:
                  type: integer
                  format: int64
                  description: 1:pythonSupport
                FILE_NAME:
                  type: string
                  format: byte
                  description: Host
                HOST:
                  type: string
                  format: byte
                  description: Host
                MAX_RESULTS:
                  type: integer
                  format: int64
                  description: numc Feld
                FILE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      HOST:
                        type: string
                        format: byte
                        description: Host where the file is located
                      FILE_NAME:
                        type: string
                        format: byte
                        description: File name
                      SIZE:
                        type: integer
                        format: int64
                        description: File size
                      MODIFIED:
                        type: integer
                        format: int64
                        description: Date of last modification
                      ASCII:
                        type: string
                        format: byte
                        description: identifier is content is ASCII (='X') or binary
                      FILE_TYPE:
                        type: integer
                        format: int64
                        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Return code
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Return text
                  FILE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        HOST:
                          type: string
                          format: byte
                          description: Host where the file is located
                        FILE_NAME:
                          type: string
                          format: byte
                          description: File name
                        SIZE:
                          type: integer
                          format: int64
                          description: File size
                        MODIFIED:
                          type: integer
                          format: int64
                          description: Date of last modification
                        ASCII:
                          type: string
                          format: byte
                          description: identifier is content is ASCII (='X') or binary
                        FILE_TYPE:
                          type: integer
                          format: int64
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
