openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_COMPONENT_VIEW_READ_31:
    post:
      tags:
      - SIBM
      summary: Read Business Navigator Component View Hierarchy
      operationId: /rfc/RPY_COMPONENT_VIEW_READ_31
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language to read
                OBJECT_ID:
                  type: string
                  default: HLA0009999
                  maxLength: 10
                  description: Root node
                READ_LEVEL_WISE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: When SPACE, all levels are read
                ERRORS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTID:
                        type: string
                        maxLength: 30
                        description: Object name
                      OBJECTTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      MSGID:
                        type: string
                        maxLength: 2
                        description: Message ID
                      MSGTYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGVAR1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGVAR4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      ERRORCLASS:
                        type: string
                        maxLength: 10
                        description: 'Error class repository API  enumValues: ERR_AUTH=Authorization error,ERR_INT=Internal error,ERR_TRLOCK=Long-term lock on object,ERR_CONSIS=Object is inconsistent,ERR_LANGU=Object has other master language,ERR_PARAM=Function module incorrectly parameterized,ERR_ENQ=Temporary lock on object,ERR_EXIST=Object does not exist,ERR_DOUBLE=Object already exists'
                        enum:
                        - ERR_AUTH
                        - ERR_INT
                        - ERR_TRLOCK
                        - ERR_CONSIS
                        - ERR_LANGU
                        - ERR_PARAM
                        - ERR_ENQ
                        - ERR_EXIST
                        - ERR_DOUBLE
                NODETAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: integer
                        format: int64
                        description: 'Internal: Node ID'
                      TYPE:
                        type: string
                        maxLength: 4
                        description: Node type
                      NAME:
                        type: string
                        maxLength: 10
                        description: 10 figure 3.0/3.1 ID for Business Navigator objects
                      CMODNAME:
                        type: string
                        maxLength: 10
                        description: 10 figure 3.0/3.1 ID for Business Navigator objects
                      TLEVEL:
                        type: integer
                        format: int64
                        description: Node level
                      LINK:
                        type: string
                        maxLength: 1
                        description: Link ID
                      COMPRESS:
                        type: string
                        maxLength: 1
                        description: 'Internal: Compression ID'
                      LEAF:
                        type: string
                        maxLength: 1
                        description: 'Internal: Page ID'
                      TLOCK:
                        type: string
                        maxLength: 1
                        description: 'Internal: Selection ID'
                      PARENT:
                        type: integer
                        format: int64
                        description: 'Internal: Node ID'
                      CHILD:
                        type: integer
                        format: int64
                        description: 'Internal: Node ID'
                      NEXT:
                        type: integer
                        format: int64
                        description: 'Internal: Node ID'
                      COLOR:
                        type: integer
                        format: int64
                        description: Color display of a hierarchy node
                      INTENSIV:
                        type: string
                        maxLength: 1
                        description: Intensity of display
                      TEXT:
                        type: string
                        maxLength: 75
                        description: Text/icon/symbol
                      TCOLOR:
                        type: integer
                        format: int64
                        description: Color display of a hierarchy node
                      TINTENSIV:
                        type: string
                        maxLength: 1
                        description: Intensity of display
                      MODEL1:
                        type: string
                        maxLength: 4
                        description: Object Type
                      CMODFLG1:
                        type: string
                        maxLength: 1
                        description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                        enum:
                        - C
                        - ''
                        - M
                      MODEL2:
                        type: string
                        maxLength: 4
                        description: Object Type
                      CMODFLG2:
                        type: string
                        maxLength: 1
                        description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                        enum:
                        - C
                        - ''
                        - M
                      MODEL3:
                        type: string
                        maxLength: 4
                        description: Object Type
                      CMODFLG3:
                        type: string
                        maxLength: 1
                        description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                        enum:
                        - C
                        - ''
                        - M
                      MODEL4:
                        type: string
                        maxLength: 4
                        description: Object Type
                      CMODFLG4:
                        type: string
                        maxLength: 1
                        description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                        enum:
                        - C
                        - ''
                        - M
                      MODEL5:
                        type: string
                        maxLength: 4
                        description: Object Type
                      CMODFLG5:
                        type: string
                        maxLength: 1
                        description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                        enum:
                        - C
                        - ''
                        - M
                      MODEL6:
                        type: string
                        maxLength: 4
                        description: Object Type
                      CMODFLG6:
                        type: string
                        maxLength: 1
                        description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                        enum:
                        - C
                        - ''
                        - M
                      FORCE_PLUS:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      CMODFLGP:
                        type: string
                        maxLength: 1
                        description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                        enum:
                        - C
                        - ''
                        - M
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR_OCCURED:
                    type: string
                    maxLength: 1
                    description: Error occured, error table has entries
                  ERRORS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTID:
                          type: string
                          maxLength: 30
                          description: Object name
                        OBJECTTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MSGID:
                          type: string
                          maxLength: 2
                          description: Message ID
                        MSGTYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGVAR1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGVAR4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        ERRORCLASS:
                          type: string
                          maxLength: 10
                          description: 'Error class repository API  enumValues: ERR_AUTH=Authorization error,ERR_INT=Internal error,ERR_TRLOCK=Long-term lock on object,ERR_CONSIS=Object is inconsistent,ERR_LANGU=Object has other master language,ERR_PARAM=Function module incorrectly parameterized,ERR_ENQ=Temporary lock on object,ERR_EXIST=Object does not exist,ERR_DOUBLE=Object already exists'
                          enum:
                          - ERR_AUTH
                          - ERR_INT
                          - ERR_TRLOCK
                          - ERR_CONSIS
                          - ERR_LANGU
                          - ERR_PARAM
                          - ERR_ENQ
                          - ERR_EXIST
                          - ERR_DOUBLE
                  NODETAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: integer
                          format: int64
                          description: 'Internal: Node ID'
                        TYPE:
                          type: string
                          maxLength: 4
                          description: Node type
                        NAME:
                          type: string
                          maxLength: 10
                          description: 10 figure 3.0/3.1 ID for Business Navigator objects
                        CMODNAME:
                          type: string
                          maxLength: 10
                          description: 10 figure 3.0/3.1 ID for Business Navigator objects
                        TLEVEL:
                          type: integer
                          format: int64
                          description: Node level
                        LINK:
                          type: string
                          maxLength: 1
                          description: Link ID
                        COMPRESS:
                          type: string
                          maxLength: 1
                          description: 'Internal: Compression ID'
                        LEAF:
                          type: string
                          maxLength: 1
                          description: 'Internal: Page ID'
                        TLOCK:
                          type: string
                          maxLength: 1
                          description: 'Internal: Selection ID'
                        PARENT:
                          type: integer
                          format: int64
                          description: 'Internal: Node ID'
                        CHILD:
                          type: integer
                          format: int64
                          description: 'Internal: Node ID'
                        NEXT:
                          type: integer
                          format: int64
                          description: 'Internal: Node ID'
                        COLOR:
                          type: integer
                          format: int64
                          description: Color display of a hierarchy node
                        INTENSIV:
                          type: string
                          maxLength: 1
                          description: Intensity of display
                        TEXT:
                          type: string
                          maxLength: 75
                          description: Text/icon/symbol
                        TCOLOR:
                          type: integer
                          format: int64
                          description: Color display of a hierarchy node
                        TINTENSIV:
                          type: string
                          maxLength: 1
                          description: Intensity of display
                        MODEL1:
                          type: string
                          maxLength: 4
                          description: Object Type
                        CMODFLG1:
                          type: string
                          maxLength: 1
                          description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                          enum:
                          - C
                          - ''
                          - M
                        MODEL2:
                          type: string
                          maxLength: 4
                          description: Object Type
                        CMODFLG2:
                          type: string
                          maxLength: 1
                          description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                          enum:
                          - C
                          - ''
                          - M
                        MODEL3:
                          type: string
                          maxLength: 4
                          description: Object Type
                        CMODFLG3:
                          type: string
                          maxLength: 1
                          description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                          enum:
                          - C
                          - ''
                          - M
                        MODEL4:
                          type: string
                          maxLength: 4
                          description: Object Type
                        CMODFLG4:
                          type: string
                          maxLength: 1
                          description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                          enum:
                          - C
                          - ''
                          - M
                        MODEL5:
                          type: string
                          maxLength: 4
                          description: Object Type
                        CMODFLG5:
                          type: string
                          maxLength: 1
                          description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                          enum:
                          - C
                          - ''
                          - M
                        MODEL6:
                          type: string
                          maxLength: 4
                          description: Object Type
                        CMODFLG6:
                          type: string
                          maxLength: 1
                          description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                          enum:
                          - C
                          - ''
                          - M
                        FORCE_PLUS:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        CMODFLGP:
                          type: string
                          maxLength: 1
                          description: 'Customer model indicator  enumValues: C=There is only a customer model,""=There is only an SAP model,M=There are SAP and customer models'
                          enum:
                          - C
                          - ''
                          - M
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
