openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSWB_TREE_PATHS2WB:
    post:
      tags:
      - RSWB
      operationId: /rfc/RSWB_TREE_PATHS2WB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_AGR_NAME:
                  type: string
                  maxLength: 30
                I_WBTYP:
                  type: string
                  maxLength: 1
                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
              required:
              - I_WBTYP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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.
