openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSZ_X_HIERLEVEL_GET:
    post:
      tags:
      - RZX0
      operationId: /rfc/RSZ_X_HIERLEVEL_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                E_T_HVALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      NODEKEY:
                        type: string
                        maxLength: 12
                        description: Key for a node (RSDM_RFC)
                      RELATKEY:
                        type: string
                        maxLength: 12
                        description: Key for a node (RSDM_RFC)
                      CHAVL:
                        type: string
                        maxLength: 60
                        description: 'Dim: Field for a User-Defined Characteristic Value'
                      CHAVL_EXT:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                      NIOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      IS_FOLDER:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      ICONID:
                        type: string
                        maxLength: 10
                        description: Icon ID in a Tree Node
                      HIENM:
                        type: string
                        maxLength: 30
                        description: Hierarchy name
                      VERSION:
                        type: string
                        maxLength: 3
                        description: Hierarchy version
                      DATE:
                        type: string
                        maxLength: 8
                        description: Hierarchy Date in Internal Display
                E_T_PARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      DUMMY:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                I_T_PARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      HIENM:
                        type: string
                        maxLength: 30
                        description: Hierarchy name
                      VERSION:
                        type: string
                        maxLength: 3
                        description: Hierarchy version
                      DATE:
                        type: string
                        format: date
                        description: Valid-to date
                      WITH_REST:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      NODEKEY:
                        type: string
                        maxLength: 12
                        description: Key for a node (RSDM_RFC)
                      HANDLE:
                        type: integer
                        format: int64
                        description: 'BW: General reference field for internal IDs'
                      CONTEXT:
                        type: integer
                        format: int64
                        description: 'Call context for selector  enumValues: 06=Key figure selection in Excel,01=Filter value selection in Excel,03=Characteristic selection in query definition,05=Condition definition (interval selection),00=Not defined,02=Value selection in variable pop up,04=Condition definition (single value selection),07=Web Publisher'
                        enum:
                        - '06'
                        - '01'
                        - '03'
                        - '05'
                        - '00'
                        - '02'
                        - '04'
                        - '07'
                      INFOCUBE:
                        type: string
                        maxLength: 30
                        description: InfoCube
                      SEARCH_STRING:
                        type: string
                        maxLength: 60
                        description: Long description
                      SEARCH_IN_TEXT:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      SEARCH_IN_KEY:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      HIERKEY:
                        type: integer
                        format: int64
                        description: SID in NUMC format
                      BACK:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      TEXT_DATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      STRUCT_DATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  E_T_HVALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        NODEKEY:
                          type: string
                          maxLength: 12
                          description: Key for a node (RSDM_RFC)
                        RELATKEY:
                          type: string
                          maxLength: 12
                          description: Key for a node (RSDM_RFC)
                        CHAVL:
                          type: string
                          maxLength: 60
                          description: 'Dim: Field for a User-Defined Characteristic Value'
                        CHAVL_EXT:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                        NIOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        IS_FOLDER:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        ICONID:
                          type: string
                          maxLength: 10
                          description: Icon ID in a Tree Node
                        HIENM:
                          type: string
                          maxLength: 30
                          description: Hierarchy name
                        VERSION:
                          type: string
                          maxLength: 3
                          description: Hierarchy version
                        DATE:
                          type: string
                          maxLength: 8
                          description: Hierarchy Date in Internal Display
                  E_T_PARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        DUMMY:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                  I_T_PARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        CHANM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        HIENM:
                          type: string
                          maxLength: 30
                          description: Hierarchy name
                        VERSION:
                          type: string
                          maxLength: 3
                          description: Hierarchy version
                        DATE:
                          type: string
                          format: date
                          description: Valid-to date
                        WITH_REST:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        NODEKEY:
                          type: string
                          maxLength: 12
                          description: Key for a node (RSDM_RFC)
                        HANDLE:
                          type: integer
                          format: int64
                          description: 'BW: General reference field for internal IDs'
                        CONTEXT:
                          type: integer
                          format: int64
                          description: 'Call context for selector  enumValues: 06=Key figure selection in Excel,01=Filter value selection in Excel,03=Characteristic selection in query definition,05=Condition definition (interval selection),00=Not defined,02=Value selection in variable pop up,04=Condition definition (single value selection),07=Web Publisher'
                          enum:
                          - '06'
                          - '01'
                          - '03'
                          - '05'
                          - '00'
                          - '02'
                          - '04'
                          - '07'
                        INFOCUBE:
                          type: string
                          maxLength: 30
                          description: InfoCube
                        SEARCH_STRING:
                          type: string
                          maxLength: 60
                          description: Long description
                        SEARCH_IN_TEXT:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        SEARCH_IN_KEY:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        HIERKEY:
                          type: integer
                          format: int64
                          description: SID in NUMC format
                        BACK:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        TEXT_DATE:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        STRUCT_DATE:
                          type: string
                          format: date
                          description: Current Date of Application Server
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
