openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_PROCESS_TRACE_LEVELS:
    post:
      tags:
      - TREX_RFC_TRACE
      summary: get trace levels of ini files
      operationId: /rfc/TREX_RFC_PROCESS_TRACE_LEVELS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: integer
                  format: int64
                  description: Zweistellige Nummer
                SERVER_TYPE:
                  type: integer
                  format: int64
                TRACE_HOSTS:
                  type: array
                  items:
                    type: object
                    properties:
                      LOCATION:
                        type: string
                        format: byte
                        description: ''
                      SERVER_TYPE:
                        type: integer
                        format: int64
                        description: counter
                TRACE_LEVEL_IN:
                  type: array
                  items:
                    type: object
                    properties:
                      SERVER_TYPE:
                        type: integer
                        format: int64
                        description: ''
                      TRACE_COMPONENT:
                        type: string
                        format: byte
                        description: name of trace component
                      TRACE_LEVEL:
                        type: string
                        format: byte
                        description: ''
                TRACE_LEVEL_OUT:
                  type: array
                  items:
                    type: object
                    properties:
                      SERVER_TYPE:
                        type: integer
                        format: int64
                        description: ''
                      TRACE_COMPONENT:
                        type: string
                        format: byte
                        description: name of trace component
                      TRACE_LEVEL:
                        type: string
                        format: byte
                        description: ''
              required:
              - ACTION
              - SERVER_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Returncode
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Rückgabetext
                  TRACE_HOSTS:
                    type: array
                    items:
                      type: object
                      properties:
                        LOCATION:
                          type: string
                          format: byte
                          description: ''
                        SERVER_TYPE:
                          type: integer
                          format: int64
                          description: counter
                  TRACE_LEVEL_IN:
                    type: array
                    items:
                      type: object
                      properties:
                        SERVER_TYPE:
                          type: integer
                          format: int64
                          description: ''
                        TRACE_COMPONENT:
                          type: string
                          format: byte
                          description: name of trace component
                        TRACE_LEVEL:
                          type: string
                          format: byte
                          description: ''
                  TRACE_LEVEL_OUT:
                    type: array
                    items:
                      type: object
                      properties:
                        SERVER_TYPE:
                          type: integer
                          format: int64
                          description: ''
                        TRACE_COMPONENT:
                          type: string
                          format: byte
                          description: name of trace component
                        TRACE_LEVEL:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
