openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BX_AGR_CONVERT_FORMAT:
    post:
      tags:
      - SMTR_NAVIGATION_MODULES_AX
      operationId: /rfc/BX_AGR_CONVERT_FORMAT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INPUT_NODES:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for Menu ID
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: Counter for Menu ID
                      FOLDER:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                      MENU_LEVEL:
                        type: integer
                        format: int64
                        description: Level in the menu
                      SORT_ORDER:
                        type: integer
                        format: int64
                        description: Counter for Menu ID
                      STRING1:
                        type: string
                        maxLength: 255
                        description: URL for the SAP Portal
                      STRING2:
                        type: string
                        maxLength: 255
                        description: URL for the SAP Portal
                      ICON:
                        type: string
                        maxLength: 128
                        description: Icons for Role Menu Entries
                      FLAGS:
                        type: string
                        maxLength: 16
                        description: Attributes for Menu Entry
                INPUT_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language of menu texts
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for Menu ID
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
                      DESCRIPTION:
                        type: string
                        maxLength: 255
                        description: Long Text for Menu Entry
                OUTPUT_NODES_AND_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      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: Type of node ( U = URL, F = folder, T = transaction)
                      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
                      INFOS:
                        type: string
                        maxLength: 12
                        description: 'Structures: name of the structure'
                      URL_TYPE:
                        type: string
                        maxLength: 20
                        description: Type of URL
                      URL:
                        type: string
                        maxLength: 255
                        description: URL for the SAP Portal
                      SOURCEROLE:
                        type: string
                        maxLength: 30
                        description: Role Name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INPUT_NODES:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for Menu ID
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: Counter for Menu ID
                        FOLDER:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                        MENU_LEVEL:
                          type: integer
                          format: int64
                          description: Level in the menu
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: Counter for Menu ID
                        STRING1:
                          type: string
                          maxLength: 255
                          description: URL for the SAP Portal
                        STRING2:
                          type: string
                          maxLength: 255
                          description: URL for the SAP Portal
                        ICON:
                          type: string
                          maxLength: 128
                          description: Icons for Role Menu Entries
                        FLAGS:
                          type: string
                          maxLength: 16
                          description: Attributes for Menu Entry
                  INPUT_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language of menu texts
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for Menu ID
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
                        DESCRIPTION:
                          type: string
                          maxLength: 255
                          description: Long Text for Menu Entry
                  OUTPUT_NODES_AND_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        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: Type of node ( U = URL, F = folder, T = transaction)
                        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
                        INFOS:
                          type: string
                          maxLength: 12
                          description: 'Structures: name of the structure'
                        URL_TYPE:
                          type: string
                          maxLength: 20
                          description: Type of URL
                        URL:
                          type: string
                          maxLength: 255
                          description: URL for the SAP Portal
                        SOURCEROLE:
                          type: string
                          maxLength: 30
                          description: Role Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
