openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSSEM_HIER_STRUCTURE_GET:
    post:
      tags:
      - RSSEM5
      operationId: /rfc/RSSEM_HIER_STRUCTURE_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_NO_NODENM_TABLE:
                  type: string
                  default: ABAP_FALSE
                  maxLength: 1
                I_S_HIEKEY:
                  type: object
                  properties:
                    HIEID:
                      type: string
                      maxLength: 25
                      description: Internal hierarchy ID (unique ID)
                    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
                I_S_HIESEL:
                  type: object
                  properties:
                    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
                    HIENM:
                      type: string
                      maxLength: 30
                      description: Hierarchy name
                    VERSION:
                      type: string
                      maxLength: 3
                      description: Hierarchy version
                    DATETO:
                      type: string
                      format: date
                      description: Valid-to date
                    IOBJNM:
                      type: string
                      maxLength: 30
                      description: InfoObject
                I_S_SUBTREESEL:
                  type: object
                  properties:
                    NODENAME:
                      type: string
                      maxLength: 60
                      description: Name of the Hierarchy Node
                    IOBJNM:
                      type: string
                      maxLength: 30
                      description: InfoObject
                    DATETO:
                      type: string
                      format: date
                      description: Valid-to date
                I_T_NODENAME:
                  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
                      FROMTO:
                        type: string
                        maxLength: 1
                        description: '''From'' or ''to'' Identifier for an Interval'
                      CHAVALUE:
                        type: string
                        maxLength: 60
                        description: Characteristic Value (Length is 60 for RFC; Do Not Change)
                E_T_HIEDIRT:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      HIEID:
                        type: string
                        maxLength: 25
                        description: Internal hierarchy ID (unique ID)
                      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
                      TXTSH:
                        type: string
                        maxLength: 20
                        description: Short description
                      TXTMD:
                        type: string
                        maxLength: 40
                        description: Medium description
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                E_T_HIERINTVL:
                  type: array
                  items:
                    type: object
                    properties:
                      HIEID:
                        type: string
                        maxLength: 25
                        description: Internal hierarchy ID (unique ID)
                      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
                      NODEID:
                        type: integer
                        format: int64
                        description: Internal ID number of a hierarchy node
                      LEAFFROM:
                        type: string
                        maxLength: 60
                        description: Page of Hierarchy from
                      LEAFTO:
                        type: string
                        maxLength: 60
                        description: Page of the Hierarchy to
                E_T_HIERSTRUC:
                  type: array
                  items:
                    type: object
                    properties:
                      HIEID:
                        type: string
                        maxLength: 25
                        description: Internal hierarchy ID (unique ID)
                      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
                      NODEID:
                        type: integer
                        format: int64
                        description: Internal ID number of a hierarchy node
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      NODENAME:
                        type: string
                        maxLength: 60
                        description: Characteristic Value (Length is 60 for RFC; Do Not Change)
                      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'
                E_T_LEVEL:
                  type: array
                  items:
                    type: object
                    properties:
                      HIEID:
                        type: string
                        maxLength: 25
                        description: Internal hierarchy ID (unique ID)
                      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
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TLEVEL:
                        type: integer
                        format: int64
                        description: Level of a hierarchy node
                      TXTSH:
                        type: string
                        maxLength: 20
                        description: Short description
                      TXTMD:
                        type: string
                        maxLength: 40
                        description: Medium description
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                E_T_MESSAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      ALTEXT:
                        type: string
                        maxLength: 28
                        description: 'Application log: Standard text'
                      USEREXITP:
                        type: string
                        maxLength: 40
                        description: 'Application Log: Callback: Program name'
                      USEREXITF:
                        type: string
                        maxLength: 30
                        description: 'Application Log: Callback: Routine name'
                      DETLEVEL:
                        type: string
                        maxLength: 1
                        description: 'Application Log: Level of detail  enumValues: 1=Level of detail 1,3=Level of detail 3,2=Level of detail 2,5=Level of detail 5,4=Level of detail 4,7=Level of detail 7,6=Level of detail 6,9=Level of detail 9,8=Level of detail 8'
                        enum:
                        - '1'
                        - '3'
                        - '2'
                        - '5'
                        - '4'
                        - '7'
                        - '6'
                        - '9'
                        - '8'
                      PROBCLASS:
                        type: string
                        maxLength: 1
                        description: 'Application log: Message problem class  enumValues: 2=important,4=Additional information,1=very important,3=medium,""=Other'
                        enum:
                        - '2'
                        - '4'
                        - '1'
                        - '3'
                        - ''
                      ALSORT:
                        type: string
                        maxLength: 3
                        description: 'Application log: Sort criterion/grouping'
                      MSGTXTP:
                        type: string
                        maxLength: 273
                        description: 'Application Log: Message text with parameters'
                E_T_MHIERNODE:
                  type: array
                  items:
                    type: object
                    properties:
                      HIEID:
                        type: string
                        maxLength: 25
                        description: Internal hierarchy ID (unique ID)
                      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
                      NODENAME:
                        type: string
                        maxLength: 32
                        description: Hierarchy node that cannot be posted to
                E_T_NODEATTR:
                  type: array
                  items:
                    type: object
                    properties:
                      NODEID:
                        type: integer
                        format: int64
                        description: Internal ID number of a hierarchy node
                      ATTRIBUT:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      VALUE:
                        type: string
                        maxLength: 60
                        description: Characteristic Value (Length is 60 for RFC; Do Not Change)
                E_T_NODENAMES:
                  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
                      FROMTO:
                        type: string
                        maxLength: 1
                        description: '''From'' or ''to'' Identifier for an Interval  enumValues: 2=To Interval ID,""=No Interval,1=From Interval ID'
                        enum:
                        - '2'
                        - ''
                        - '1'
                      CHAVALUE:
                        type: string
                        maxLength: 60
                        description: Characteristic Value (Length is 60 for RFC; Do Not Change)
                E_T_THIERNODE:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      HIEID:
                        type: string
                        maxLength: 25
                        description: Internal hierarchy ID (unique ID)
                      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
                      NODENAME:
                        type: string
                        maxLength: 32
                        description: Hierarchy node that cannot be posted to
                      TXTSH:
                        type: string
                        maxLength: 20
                        description: Short description
                      TXTMD:
                        type: string
                        maxLength: 40
                        description: Medium description
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_S_HIEDIR:
                    type: object
                    properties:
                      HIEID:
                        type: string
                        maxLength: 25
                        description: Internal hierarchy ID (unique ID)
                      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
                      HIENM:
                        type: string
                        maxLength: 30
                        description: Hierarchy name
                      VERSION:
                        type: string
                        maxLength: 3
                        description: Hierarchy version
                      DATETO:
                        type: string
                        format: date
                        description: Valid-to date
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      DATEFROM:
                        type: string
                        format: date
                        description: Valid-From Date
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Source system
                      STARTLEVEL:
                        type: integer
                        format: int64
                        description: Level on which the hierarchy is first expanded
                      NODEPOSITION:
                        type: string
                        maxLength: 1
                        description: 'Positions of the nodes in reference to their leaves  enumValues: 1=Below,2=Above'
                        enum:
                        - '1'
                        - '2'
                      TIMESTMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      ROOTID:
                        type: integer
                        format: int64
                        description: Hierarchy Root Node Id
                  E_T_HIEDIRT:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        HIEID:
                          type: string
                          maxLength: 25
                          description: Internal hierarchy ID (unique ID)
                        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
                        TXTSH:
                          type: string
                          maxLength: 20
                          description: Short description
                        TXTMD:
                          type: string
                          maxLength: 40
                          description: Medium description
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                  E_T_HIERINTVL:
                    type: array
                    items:
                      type: object
                      properties:
                        HIEID:
                          type: string
                          maxLength: 25
                          description: Internal hierarchy ID (unique ID)
                        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
                        NODEID:
                          type: integer
                          format: int64
                          description: Internal ID number of a hierarchy node
                        LEAFFROM:
                          type: string
                          maxLength: 60
                          description: Page of Hierarchy from
                        LEAFTO:
                          type: string
                          maxLength: 60
                          description: Page of the Hierarchy to
                  E_T_HIERSTRUC:
                    type: array
                    items:
                      type: object
                      properties:
                        HIEID:
                          type: string
                          maxLength: 25
                          description: Internal hierarchy ID (unique ID)
                        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
                        NODEID:
                          type: integer
                          format: int64
                          description: Internal ID number of a hierarchy node
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        NODENAME:
                          type: string
                          maxLength: 60
                          description: Characteristic Value (Length is 60 for RFC; Do Not Change)
                        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'
                  E_T_LEVEL:
                    type: array
                    items:
                      type: object
                      properties:
                        HIEID:
                          type: string
                          maxLength: 25
                          description: Internal hierarchy ID (unique ID)
                        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
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        TLEVEL:
                          type: integer
                          format: int64
                          description: Level of a hierarchy node
                        TXTSH:
                          type: string
                          maxLength: 20
                          description: Short description
                        TXTMD:
                          type: string
                          maxLength: 40
                          description: Medium description
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                  E_T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        ALTEXT:
                          type: string
                          maxLength: 28
                          description: 'Application log: Standard text'
                        USEREXITP:
                          type: string
                          maxLength: 40
                          description: 'Application Log: Callback: Program name'
                        USEREXITF:
                          type: string
                          maxLength: 30
                          description: 'Application Log: Callback: Routine name'
                        DETLEVEL:
                          type: string
                          maxLength: 1
                          description: 'Application Log: Level of detail  enumValues: 1=Level of detail 1,3=Level of detail 3,2=Level of detail 2,5=Level of detail 5,4=Level of detail 4,7=Level of detail 7,6=Level of detail 6,9=Level of detail 9,8=Level of detail 8'
                          enum:
                          - '1'
                          - '3'
                          - '2'
                          - '5'
                          - '4'
                          - '7'
                          - '6'
                          - '9'
                          - '8'
                        PROBCLASS:
                          type: string
                          maxLength: 1
                          description: 'Application log: Message problem class  enumValues: 2=important,4=Additional information,1=very important,3=medium,""=Other'
                          enum:
                          - '2'
                          - '4'
                          - '1'
                          - '3'
                          - ''
                        ALSORT:
                          type: string
                          maxLength: 3
                          description: 'Application log: Sort criterion/grouping'
                        MSGTXTP:
                          type: string
                          maxLength: 273
                          description: 'Application Log: Message text with parameters'
                  E_T_MHIERNODE:
                    type: array
                    items:
                      type: object
                      properties:
                        HIEID:
                          type: string
                          maxLength: 25
                          description: Internal hierarchy ID (unique ID)
                        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
                        NODENAME:
                          type: string
                          maxLength: 32
                          description: Hierarchy node that cannot be posted to
                  E_T_NODEATTR:
                    type: array
                    items:
                      type: object
                      properties:
                        NODEID:
                          type: integer
                          format: int64
                          description: Internal ID number of a hierarchy node
                        ATTRIBUT:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        VALUE:
                          type: string
                          maxLength: 60
                          description: Characteristic Value (Length is 60 for RFC; Do Not Change)
                  E_T_NODENAMES:
                    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
                        FROMTO:
                          type: string
                          maxLength: 1
                          description: '''From'' or ''to'' Identifier for an Interval  enumValues: 2=To Interval ID,""=No Interval,1=From Interval ID'
                          enum:
                          - '2'
                          - ''
                          - '1'
                        CHAVALUE:
                          type: string
                          maxLength: 60
                          description: Characteristic Value (Length is 60 for RFC; Do Not Change)
                  E_T_THIERNODE:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        HIEID:
                          type: string
                          maxLength: 25
                          description: Internal hierarchy ID (unique ID)
                        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
                        NODENAME:
                          type: string
                          maxLength: 32
                          description: Hierarchy node that cannot be posted to
                        TXTSH:
                          type: string
                          maxLength: 20
                          description: Short description
                        TXTMD:
                          type: string
                          maxLength: 40
                          description: Medium description
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
