openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSTCT_GET_REMOTE_PRCSCHN_HIER:
    post:
      tags:
      - RSTC_EXTR
      summary: Remote Process Chain Hierarchy
      operationId: /rfc/RSTCT_GET_REMOTE_PRCSCHN_HIER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CHAIN_ID:
                  type: string
                  maxLength: 25
                  description: Process Chain
                C_NODEID:
                  type: integer
                  format: int32
                  description: Process Chain
                I_T_NODES:
                  type: array
                  items:
                    type: object
                    properties:
                      NODEID:
                        type: integer
                        format: int64
                        description: Internal ID number of a hierarchy node
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      NODENAME:
                        type: string
                        maxLength: 32
                        description: Name of the hierarchy node
                      TLEVEL:
                        type: integer
                        format: int64
                        description: Level of a hierarchy node
                      LINK:
                        type: string
                        maxLength: 1
                        description: 'Link indicator for a hierarchy node  enumValues: ""=false,X=True'
                        enum:
                        - ''
                        - X
                      PARENTID:
                        type: integer
                        format: int64
                        description: Parent ID for a hierarchy node
                      CHILDID:
                        type: integer
                        format: int64
                        description: Child ID of a hierarchy node
                      NEXTID:
                        type: integer
                        format: int64
                        description: Next ID of a hierarchy node
                      DATEFROM:
                        type: string
                        format: date
                        description: Valid-From Date
                      DATETO:
                        type: string
                        format: date
                        description: Valid-to date
                      INTERVL:
                        type: string
                        maxLength: 1
                        description: 'Flag: Node is interval'
                      FIELDNM:
                        type: string
                        maxLength: 30
                        description: Field Name
                      PRCSCHN:
                        type: string
                        maxLength: 25
                        description: Process Chain
                      CB_OIH:
                        type: string
                        maxLength: 45
                        description: Data Source or Target for Status Manager
                      OBJTYPE:
                        type: string
                        maxLength: 4
                        description: 'TLOGO type for BW Admin Cockpit  enumValues: BTMP=BEx Web Template,TRFN=Transformation,BITM=BEx Web Item,ITEM=Web Item,ELEM=Query,MPRO=MultiProvider,IOBJ=InfoObject,CUBE=InfoCube,DEST=Open Hub Destination,XLWB=Workbook,RSDS=DataSource,ISET=InfoSet,ISFS=DataSource (3.x),QVIW=Query View,TMPL=Web Template,ODSO=DataStore Object'
                        enum:
                        - BTMP
                        - TRFN
                        - BITM
                        - ITEM
                        - ELEM
                        - MPRO
                        - IOBJ
                        - CUBE
                        - DEST
                        - XLWB
                        - RSDS
                        - ISET
                        - ISFS
                        - QVIW
                        - TMPL
                        - ODSO
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                        enum:
                        - N
                        - A
                        - M
                        - D
                        - H
                        - T
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                I_T_TOPNODES:
                  type: array
                  items:
                    type: object
                    properties:
                      NODEID:
                        type: integer
                        format: int64
                        description: Internal ID number of a hierarchy node
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      NODENAME:
                        type: string
                        maxLength: 32
                        description: Name of the hierarchy node
                      TLEVEL:
                        type: integer
                        format: int64
                        description: Level of a hierarchy node
                      LINK:
                        type: string
                        maxLength: 1
                        description: 'Link indicator for a hierarchy node  enumValues: ""=false,X=True'
                        enum:
                        - ''
                        - X
                      PARENTID:
                        type: integer
                        format: int64
                        description: Parent ID for a hierarchy node
                      CHILDID:
                        type: integer
                        format: int64
                        description: Child ID of a hierarchy node
                      NEXTID:
                        type: integer
                        format: int64
                        description: Next ID of a hierarchy node
                      DATEFROM:
                        type: string
                        format: date
                        description: Valid-From Date
                      DATETO:
                        type: string
                        format: date
                        description: Valid-to date
                      INTERVL:
                        type: string
                        maxLength: 1
                        description: 'Flag: Node is interval'
                      FIELDNM:
                        type: string
                        maxLength: 30
                        description: Field Name
                      PRCSCHN:
                        type: string
                        maxLength: 25
                        description: Process Chain
                      CB_OIH:
                        type: string
                        maxLength: 45
                        description: Data Source or Target for Status Manager
                      OBJTYPE:
                        type: string
                        maxLength: 4
                        description: 'TLOGO type for BW Admin Cockpit  enumValues: BTMP=BEx Web Template,TRFN=Transformation,BITM=BEx Web Item,ITEM=Web Item,ELEM=Query,MPRO=MultiProvider,IOBJ=InfoObject,CUBE=InfoCube,DEST=Open Hub Destination,XLWB=Workbook,RSDS=DataSource,ISET=InfoSet,ISFS=DataSource (3.x),QVIW=Query View,TMPL=Web Template,ODSO=DataStore Object'
                        enum:
                        - BTMP
                        - TRFN
                        - BITM
                        - ITEM
                        - ELEM
                        - MPRO
                        - IOBJ
                        - CUBE
                        - DEST
                        - XLWB
                        - RSDS
                        - ISET
                        - ISFS
                        - QVIW
                        - TMPL
                        - ODSO
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                        enum:
                        - N
                        - A
                        - M
                        - D
                        - H
                        - T
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
              required:
              - I_CHAIN_ID
              - C_NODEID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  C_NODEID:
                    type: integer
                    format: int32
                    description: Process Chain
                  I_T_NODES:
                    type: array
                    items:
                      type: object
                      properties:
                        NODEID:
                          type: integer
                          format: int64
                          description: Internal ID number of a hierarchy node
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        NODENAME:
                          type: string
                          maxLength: 32
                          description: Name of the hierarchy node
                        TLEVEL:
                          type: integer
                          format: int64
                          description: Level of a hierarchy node
                        LINK:
                          type: string
                          maxLength: 1
                          description: 'Link indicator for a hierarchy node  enumValues: ""=false,X=True'
                          enum:
                          - ''
                          - X
                        PARENTID:
                          type: integer
                          format: int64
                          description: Parent ID for a hierarchy node
                        CHILDID:
                          type: integer
                          format: int64
                          description: Child ID of a hierarchy node
                        NEXTID:
                          type: integer
                          format: int64
                          description: Next ID of a hierarchy node
                        DATEFROM:
                          type: string
                          format: date
                          description: Valid-From Date
                        DATETO:
                          type: string
                          format: date
                          description: Valid-to date
                        INTERVL:
                          type: string
                          maxLength: 1
                          description: 'Flag: Node is interval'
                        FIELDNM:
                          type: string
                          maxLength: 30
                          description: Field Name
                        PRCSCHN:
                          type: string
                          maxLength: 25
                          description: Process Chain
                        CB_OIH:
                          type: string
                          maxLength: 45
                          description: Data Source or Target for Status Manager
                        OBJTYPE:
                          type: string
                          maxLength: 4
                          description: 'TLOGO type for BW Admin Cockpit  enumValues: BTMP=BEx Web Template,TRFN=Transformation,BITM=BEx Web Item,ITEM=Web Item,ELEM=Query,MPRO=MultiProvider,IOBJ=InfoObject,CUBE=InfoCube,DEST=Open Hub Destination,XLWB=Workbook,RSDS=DataSource,ISET=InfoSet,ISFS=DataSource (3.x),QVIW=Query View,TMPL=Web Template,ODSO=DataStore Object'
                          enum:
                          - BTMP
                          - TRFN
                          - BITM
                          - ITEM
                          - ELEM
                          - MPRO
                          - IOBJ
                          - CUBE
                          - DEST
                          - XLWB
                          - RSDS
                          - ISET
                          - ISFS
                          - QVIW
                          - TMPL
                          - ODSO
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                          enum:
                          - N
                          - A
                          - M
                          - D
                          - H
                          - T
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                  I_T_TOPNODES:
                    type: array
                    items:
                      type: object
                      properties:
                        NODEID:
                          type: integer
                          format: int64
                          description: Internal ID number of a hierarchy node
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        NODENAME:
                          type: string
                          maxLength: 32
                          description: Name of the hierarchy node
                        TLEVEL:
                          type: integer
                          format: int64
                          description: Level of a hierarchy node
                        LINK:
                          type: string
                          maxLength: 1
                          description: 'Link indicator for a hierarchy node  enumValues: ""=false,X=True'
                          enum:
                          - ''
                          - X
                        PARENTID:
                          type: integer
                          format: int64
                          description: Parent ID for a hierarchy node
                        CHILDID:
                          type: integer
                          format: int64
                          description: Child ID of a hierarchy node
                        NEXTID:
                          type: integer
                          format: int64
                          description: Next ID of a hierarchy node
                        DATEFROM:
                          type: string
                          format: date
                          description: Valid-From Date
                        DATETO:
                          type: string
                          format: date
                          description: Valid-to date
                        INTERVL:
                          type: string
                          maxLength: 1
                          description: 'Flag: Node is interval'
                        FIELDNM:
                          type: string
                          maxLength: 30
                          description: Field Name
                        PRCSCHN:
                          type: string
                          maxLength: 25
                          description: Process Chain
                        CB_OIH:
                          type: string
                          maxLength: 45
                          description: Data Source or Target for Status Manager
                        OBJTYPE:
                          type: string
                          maxLength: 4
                          description: 'TLOGO type for BW Admin Cockpit  enumValues: BTMP=BEx Web Template,TRFN=Transformation,BITM=BEx Web Item,ITEM=Web Item,ELEM=Query,MPRO=MultiProvider,IOBJ=InfoObject,CUBE=InfoCube,DEST=Open Hub Destination,XLWB=Workbook,RSDS=DataSource,ISET=InfoSet,ISFS=DataSource (3.x),QVIW=Query View,TMPL=Web Template,ODSO=DataStore Object'
                          enum:
                          - BTMP
                          - TRFN
                          - BITM
                          - ITEM
                          - ELEM
                          - MPRO
                          - IOBJ
                          - CUBE
                          - DEST
                          - XLWB
                          - RSDS
                          - ISET
                          - ISFS
                          - QVIW
                          - TMPL
                          - ODSO
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                          enum:
                          - N
                          - A
                          - M
                          - D
                          - H
                          - T
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                required:
                - C_NODEID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
