openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_GET_TRACE_FILE_LIST:
    post:
      tags:
      - TREX_RFC_TRACE
      summary: Get list of trace files for one TREX landscape
      operationId: /rfc/TREX_RFC_GET_TRACE_FILE_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HOST:
                  type: string
                  format: byte
                  description: Host
                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
                      FILE_PATH:
                        type: string
                        format: byte
                        description: Path and name of a file
                      ASCII:
                        type: string
                        format: byte
                        description: identifier is content is ASCII (='X') or binary
                      SIZE_ONLY:
                        type: string
                        format: byte
                        description: only  the size of file is requested
      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
                        FILE_PATH:
                          type: string
                          format: byte
                          description: Path and name of a file
                        ASCII:
                          type: string
                          format: byte
                          description: identifier is content is ASCII (='X') or binary
                        SIZE_ONLY:
                          type: string
                          format: byte
                          description: only  the size of file is requested
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
