openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_GET_SERVER_STATUS:
    post:
      tags:
      - TREX_RFC_ADMINISTRATION
      summary: get the status info of the server
      operationId: /rfc/TREX_RFC_GET_SERVER_STATUS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INDEXSERVER_LOCATION:
                  type: string
                  format: byte
                  description: Host:Port
                RETURN_STATUS_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: integer
                        format: int64
                        description: ''
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: ''
                      THREAD_ID:
                        type: integer
                        format: int64
                        description: ''
                      STARTED:
                        type: string
                        format: byte
                        description: ''
                      FUNCTION_NAME:
                        type: string
                        format: byte
                        description: ''
                      FILE_NAME:
                        type: string
                        format: byte
                        description: ''
                      LINE_NUMBER:
                        type: integer
                        format: int64
                        description: ''
                      MESSAGE:
                        type: string
                        format: byte
                        description: ''
              required:
              - INDEXSERVER_LOCATION
      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
                  RETURN_STATUS_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: integer
                          format: int64
                          description: ''
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: ''
                        THREAD_ID:
                          type: integer
                          format: int64
                          description: ''
                        STARTED:
                          type: string
                          format: byte
                          description: ''
                        FUNCTION_NAME:
                          type: string
                          format: byte
                          description: ''
                        FILE_NAME:
                          type: string
                          format: byte
                          description: ''
                        LINE_NUMBER:
                          type: integer
                          format: int64
                          description: ''
                        MESSAGE:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
