openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_GET_TOPOLOGY_TREE:
    post:
      tags:
      - TREX_RFC_ADMINISTRATION
      summary: getTopologyTree
      operationId: /rfc/TREX_RFC_GET_TOPOLOGY_TREE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PATH:
                  type: string
                  format: byte
                TOPOLOGY:
                  type: array
                  items:
                    type: object
                    properties:
                      NODE_ID:
                        type: integer
                        format: int64
                        description: ''
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: ''
                      NODE_NAME:
                        type: string
                        format: byte
                        description: ''
                      NODE_VALUE:
                        type: string
                        format: byte
                        description: ''
              required:
              - PATH
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: string
                    format: byte
                    description: Return Text
                  RETURN_TEXT:
                    type: integer
                    format: int64
                    description: Return Code
                  TOPOLOGY:
                    type: array
                    items:
                      type: object
                      properties:
                        NODE_ID:
                          type: integer
                          format: int64
                          description: ''
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: ''
                        NODE_NAME:
                          type: string
                          format: byte
                          description: ''
                        NODE_VALUE:
                          type: string
                          format: byte
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
