openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_PROCESS_INI_FILE:
    post:
      tags:
      - TREX_RFC_TRACE
      summary: Get list of trace files for one TREX landscape
      operationId: /rfc/TREX_RFC_PROCESS_INI_FILE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: string
                  format: byte
                  description: '1: read file 2:write file 3:check 4:saveToAll 5:...'
                FILE_NAME:
                  type: string
                  format: byte
                  description: File name pattern
                HOST:
                  type: string
                  format: byte
                  description: Host
                ERROR_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      HOST:
                        type: string
                        format: byte
                        description: host
                      RETURN_CODE:
                        type: integer
                        format: int64
                        description: ''
                      RETURN_TEXT:
                        type: string
                        format: byte
                        description: ''
                LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: integer
                        format: int64
                        description: ''
                      LINE:
                        type: string
                        format: byte
                        description: ''
                      CONTINUE_FLAG:
                        type: string
                        format: byte
                        description: ''
                SUSPECT_LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: ''
                      DETECTED_VALUE:
                        type: string
                        format: byte
                        description: ''
                      RECOMMENDED_VALUE:
                        type: string
                        format: byte
                        description: ''
              required:
              - ACTION
              - FILE_NAME
              - HOST
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FILE_SIZE:
                    type: integer
                    format: int64
                    description: File size
                  RECONFIGURE:
                    type: integer
                    format: int64
                    description: '0: false, 1: true'
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Return code
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Return text
                  ERROR_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        HOST:
                          type: string
                          format: byte
                          description: host
                        RETURN_CODE:
                          type: integer
                          format: int64
                          description: ''
                        RETURN_TEXT:
                          type: string
                          format: byte
                          description: ''
                  LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: integer
                          format: int64
                          description: ''
                        LINE:
                          type: string
                          format: byte
                          description: ''
                        CONTINUE_FLAG:
                          type: string
                          format: byte
                          description: ''
                  SUSPECT_LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: ''
                        DETECTED_VALUE:
                          type: string
                          format: byte
                          description: ''
                        RECOMMENDED_VALUE:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
