openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSBB_WHERE_USED_LIST:
    post:
      tags:
      - RSMENU
      operationId: /rfc/RSBB_WHERE_USED_LIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ACCESSIBLE_ONLY:
                  type: string
                  maxLength: 1
                I_ACTIVE_ONLY:
                  type: string
                  maxLength: 1
                I_CHANGABLE_ONLY:
                  type: string
                  maxLength: 1
                I_DELIVERY_ONLY:
                  type: string
                  maxLength: 1
                I_PROHIBITED_ONLY:
                  type: string
                  maxLength: 1
                I_ROLES_ONLY:
                  type: string
                  maxLength: 1
                I_SAP_GUID:
                  type: string
                  maxLength: 32
                I_SHOW_TEXT:
                  type: string
                  maxLength: 1
                E_T_TREE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      ROLE:
                        type: string
                        maxLength: 30
                        description: Role Name
                      ROLE_TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
                      NODE:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
                      PARENT_NODE:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      PARENT_TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
              required:
              - I_SAP_GUID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_NUMBER:
                    type: integer
                    format: int32
                  E_NUMBER_CHANGEABLE:
                    type: integer
                    format: int32
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_TREE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        ROLE:
                          type: string
                          maxLength: 30
                          description: Role Name
                        ROLE_TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
                        NODE:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
                        PARENT_NODE:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        PARENT_TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
