openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSBB_NODES_READ_ALL_ROLES:
    post:
      tags:
      - RSMENU
      operationId: /rfc/RSBB_NODES_READ_ALL_ROLES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                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_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_WEB_REPORT:
                  type: string
                  maxLength: 1
                I_WORKBOOK:
                  type: string
                  maxLength: 1
                C_T_NODES:
                  type: array
                  items:
                    type: object
                    properties:
                      STATE:
                        type: string
                        maxLength: 3
                        description: Status of Entry
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      ORIGIN_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      SORT_ORDER:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      MENU_LEVEL:
                        type: integer
                        format: int64
                        description: Level in the menu
                      NODE_TYPE:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                      TCODE:
                        type: string
                        maxLength: 20
                        description: Current Transaction Code
                      SAP_GUID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      TARGET_SYS:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
                      X_POS:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      Y_POS:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      COLOR:
                        type: string
                        maxLength: 2
                        description: Color
                      URL:
                        type: string
                        maxLength: 255
                        description: URL for the SAP Portal
                      AUTHORITY:
                        type: string
                        maxLength: 8
                        description: Authorization of activity groups
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  C_T_NODES:
                    type: array
                    items:
                      type: object
                      properties:
                        STATE:
                          type: string
                          maxLength: 3
                          description: Status of Entry
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        ORIGIN_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        MENU_LEVEL:
                          type: integer
                          format: int64
                          description: Level in the menu
                        NODE_TYPE:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                        TCODE:
                          type: string
                          maxLength: 20
                          description: Current Transaction Code
                        SAP_GUID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        TARGET_SYS:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
                        X_POS:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        Y_POS:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        COLOR:
                          type: string
                          maxLength: 2
                          description: Color
                        URL:
                          type: string
                          maxLength: 255
                          description: URL for the SAP Portal
                        AUTHORITY:
                          type: string
                          maxLength: 8
                          description: Authorization of activity groups
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
