openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSBB_NODES_PROCESS:
    post:
      tags:
      - RSMENU
      operationId: /rfc/RSBB_NODES_PROCESS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                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
                    description: Return Value, Return Value After ABAP Statements
                  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.
