openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSBB_TREE_READ:
    post:
      tags:
      - RSMENU
      operationId: /rfc/RSBB_TREE_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ALL_ROLES:
                  type: string
                  maxLength: 1
                I_CHILDREN:
                  type: string
                  maxLength: 1
                I_CRYSTAL_REPORT:
                  type: string
                  maxLength: 1
                I_DOCUMENT:
                  type: string
                  maxLength: 1
                I_FAVORITES_ONLY:
                  type: string
                  maxLength: 1
                I_FOLDER:
                  type: string
                  maxLength: 1
                I_INFOSET_QUERY:
                  type: string
                  maxLength: 1
                I_ITEM_LIBRARY:
                  type: string
                  maxLength: 1
                I_LEVEL:
                  type: integer
                  format: int64
                I_MINIAPP:
                  type: string
                  maxLength: 1
                I_NODE:
                  type: integer
                  format: int64
                I_OPEN:
                  type: string
                  default: X
                  maxLength: 1
                I_QUERY:
                  type: string
                  maxLength: 1
                I_REFRESH:
                  type: string
                  maxLength: 1
                I_REFRESH_CACHE:
                  type: string
                  default: X
                  maxLength: 1
                I_ROLE:
                  type: string
                  maxLength: 30
                I_ROLES_ONLY:
                  type: string
                  maxLength: 1
                I_SHORTCUT:
                  type: string
                  maxLength: 1
                I_SORT:
                  type: string
                  maxLength: 1
                I_TEMPLATE:
                  type: string
                  maxLength: 1
                I_TRANSACTION:
                  type: string
                  maxLength: 1
                I_URL:
                  type: string
                  maxLength: 1
                I_VIEW:
                  type: string
                  maxLength: 1
                I_WEB_REPORT:
                  type: string
                  maxLength: 1
                I_WORKBOOK:
                  type: string
                  maxLength: 1
                E_T_TREENODES:
                  type: array
                  items:
                    type: object
                    properties:
                      NODEID:
                        type: string
                        maxLength: 12
                        description: 'Tree Control: Node Key'
                      PARENTID:
                        type: string
                        maxLength: 12
                        description: 'Tree Control: Node Key'
                      OBJUID:
                        type: string
                        maxLength: 40
                        description: ID in the tree of the Open-Save dialog
                      OBJTYPE:
                        type: string
                        maxLength: 2
                        description: 'Type of reporting object  enumValues: KF=Key Figure,BT=BEx Web Template,BI=BEx Web Item,VA=Variable,SO=Selection Object (in BW WEb Applications),QU=Query,CH=Characteristic,IP=InfoProvider (As Data Provider),""=Nothing,WB=Workbook,IC=InfoCube,IL=Library of Web Items,HT=HTML Template,IT=Item,VW=View of a Query,IA=InfoArea,ST=Structure (Reusable),DP=DataProvider for Web Reporting (Queries and Views),CR=Crystal Report'
                        enum:
                        - KF
                        - BT
                        - BI
                        - VA
                        - SO
                        - QU
                        - CH
                        - IP
                        - ''
                        - WB
                        - IC
                        - IL
                        - HT
                        - IT
                        - VW
                        - IA
                        - ST
                        - DP
                        - CR
                      OBJTEXT:
                        type: string
                        maxLength: 60
                        description: Long description
                      OBJTECHNAME:
                        type: string
                        maxLength: 32
                        description: Name of the hierarchy node
                      ISFOLDER:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      EXPANDED:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      EXPANDER:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      AUTH:
                        type: string
                        maxLength: 2
                        description: 'Object Authorizations  enumValues: ""=Blank,AL=All,DI=Read/Display Only,CH=Change (Incl. New, Delete and Read/Display),EX=Execute Only,NO=No Authorization'
                        enum:
                        - ''
                        - AL
                        - DI
                        - CH
                        - EX
                        - 'NO'
                      ICONID:
                        type: string
                        maxLength: 10
                        description: Icon ID in a Tree Node
                      TMSTMP_MOD:
                        type: integer
                        format: int64
                        description: Time Stamp (for example, last changed on/by)
                      TMSTMP_MOD_EXT:
                        type: string
                        maxLength: 16
                        description: Time Stamp in External Format
                      USER_MOD:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      ATTRIBKEY:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
                      ATTRIBTEXT:
                        type: string
                        maxLength: 60
                        description: Long description
                      PATH:
                        type: string
                        maxLength: 100
                        description: Character 100
                      QUERY_ROLE_ID:
                        type: string
                        maxLength: 40
                        description: ID in the tree of the Open-Save dialog
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_TREENODES:
                    type: array
                    items:
                      type: object
                      properties:
                        NODEID:
                          type: string
                          maxLength: 12
                          description: 'Tree Control: Node Key'
                        PARENTID:
                          type: string
                          maxLength: 12
                          description: 'Tree Control: Node Key'
                        OBJUID:
                          type: string
                          maxLength: 40
                          description: ID in the tree of the Open-Save dialog
                        OBJTYPE:
                          type: string
                          maxLength: 2
                          description: 'Type of reporting object  enumValues: KF=Key Figure,BT=BEx Web Template,BI=BEx Web Item,VA=Variable,SO=Selection Object (in BW WEb Applications),QU=Query,CH=Characteristic,IP=InfoProvider (As Data Provider),""=Nothing,WB=Workbook,IC=InfoCube,IL=Library of Web Items,HT=HTML Template,IT=Item,VW=View of a Query,IA=InfoArea,ST=Structure (Reusable),DP=DataProvider for Web Reporting (Queries and Views),CR=Crystal Report'
                          enum:
                          - KF
                          - BT
                          - BI
                          - VA
                          - SO
                          - QU
                          - CH
                          - IP
                          - ''
                          - WB
                          - IC
                          - IL
                          - HT
                          - IT
                          - VW
                          - IA
                          - ST
                          - DP
                          - CR
                        OBJTEXT:
                          type: string
                          maxLength: 60
                          description: Long description
                        OBJTECHNAME:
                          type: string
                          maxLength: 32
                          description: Name of the hierarchy node
                        ISFOLDER:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        EXPANDED:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        EXPANDER:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        AUTH:
                          type: string
                          maxLength: 2
                          description: 'Object Authorizations  enumValues: ""=Blank,AL=All,DI=Read/Display Only,CH=Change (Incl. New, Delete and Read/Display),EX=Execute Only,NO=No Authorization'
                          enum:
                          - ''
                          - AL
                          - DI
                          - CH
                          - EX
                          - 'NO'
                        ICONID:
                          type: string
                          maxLength: 10
                          description: Icon ID in a Tree Node
                        TMSTMP_MOD:
                          type: integer
                          format: int64
                          description: Time Stamp (for example, last changed on/by)
                        TMSTMP_MOD_EXT:
                          type: string
                          maxLength: 16
                          description: Time Stamp in External Format
                        USER_MOD:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        ATTRIBKEY:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                        ATTRIBTEXT:
                          type: string
                          maxLength: 60
                          description: Long description
                        PATH:
                          type: string
                          maxLength: 100
                          description: Character 100
                        QUERY_ROLE_ID:
                          type: string
                          maxLength: 40
                          description: ID in the tree of the Open-Save dialog
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
