openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSCR_TREE_WBPATHS:
    post:
      tags:
      - RSCR
      operationId: /rfc/RSCR_TREE_WBPATHS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_AGR_NAME:
                  type: string
                  maxLength: 30
                I_GET_TEXTS:
                  type: string
                  default: X
                  maxLength: 1
                E_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJUID:
                        type: string
                        maxLength: 40
                        description: ID in the tree of the Open-Save dialog
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
                E_TREE:
                  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
                      ISFOLDER:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      SAP_GUID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      VERSION:
                        type: integer
                        format: int32
                        description: CR Version of a Report
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJUID:
                          type: string
                          maxLength: 40
                          description: ID in the tree of the Open-Save dialog
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key of Current Text Environment
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
                  E_TREE:
                    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
                        ISFOLDER:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        SAP_GUID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        VERSION:
                          type: integer
                          format: int32
                          description: CR Version of a Report
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
