openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPOR_NODES_READ:
    post:
      tags:
      - RSPOR
      operationId: /rfc/RSPOR_NODES_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BIAUTHEN:
                  type: string
                I_OBJECT_KEY:
                  type: string
                I_OBJTYPE:
                  type: string
                  maxLength: 2
                I_OBJVIEW:
                  type: integer
                  format: int64
                I_OPEN:
                  type: string
                  default: X
                  maxLength: 1
                I_PARENT_KEY:
                  type: string
                I_PATH:
                  type: string
                I_SYSTEM_NAME:
                  type: string
                E_T_NODES:
                  type: array
                  items:
                    type: object
                    properties:
                      TITLE:
                        type: string
                        maxLength: 80
                        description: Title
                      OBJECT:
                        type: string
                        maxLength: 80
                        description: Object
                      SHORT_NAME:
                        type: string
                        maxLength: 32
                        description: Short Name (Short Name from Portal)
                      ISFOLDER:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      OBJECT_KEY:
                        type: string
                        maxLength: 12
                        description: 'Tree Control: Node Key'
                      PARENT_KEY:
                        type: string
                        maxLength: 12
                        description: 'Tree Control: Node Key'
                      TYPE:
                        type: string
                        maxLength: 80
                        description: Type (Java Class Name)
              required:
              - BIAUTHEN
              - I_OBJECT_KEY
              - I_OBJTYPE
              - I_OBJVIEW
              - I_OPEN
              - I_PARENT_KEY
              - I_PATH
              - I_SYSTEM_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_NODES:
                    type: array
                    items:
                      type: object
                      properties:
                        TITLE:
                          type: string
                          maxLength: 80
                          description: Title
                        OBJECT:
                          type: string
                          maxLength: 80
                          description: Object
                        SHORT_NAME:
                          type: string
                          maxLength: 32
                          description: Short Name (Short Name from Portal)
                        ISFOLDER:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        OBJECT_KEY:
                          type: string
                          maxLength: 12
                          description: 'Tree Control: Node Key'
                        PARENT_KEY:
                          type: string
                          maxLength: 12
                          description: 'Tree Control: Node Key'
                        TYPE:
                          type: string
                          maxLength: 80
                          description: Type (Java Class Name)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
