openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RRT_BROWSE_HIERARCHIES:
    post:
      tags:
      - RRT1
      operationId: /rfc/RRT_BROWSE_HIERARCHIES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CAT_NAM:
                  type: string
                  maxLength: 32
                I_CUBE_NAM:
                  type: string
                  maxLength: 70
                I_DIM_UNAM:
                  type: string
                  maxLength: 32
                I_HRY_NAM:
                  type: string
                  maxLength: 41
                I_HRY_UNAM:
                  type: string
                  maxLength: 65
                E_T_HIERARCHIES:
                  type: array
                  items:
                    type: object
                    properties:
                      CAT_NAM:
                        type: string
                        maxLength: 32
                        description: CATALOG to which the CUBE belongs
                      CUBE_NAM:
                        type: string
                        maxLength: 70
                        description: Cube name
                      DIM_UNAM:
                        type: string
                        maxLength: 32
                        description: Unique name of dimension (dimension unique name)
                      HRY_NAM:
                        type: string
                        maxLength: 41
                        description: Name of a hierarchy (hienm30, version3, dateto8)
                      HRY_UNAM:
                        type: string
                        maxLength: 65
                        description: Hierarchy Unique Name
                      HRY_UID:
                        type: string
                        maxLength: 25
                        description: UUID in compressed form
                      HRY_CAP:
                        type: string
                        maxLength: 60
                        description: Long description
                      DIM_TYPE:
                        type: integer
                        format: int64
                        description: 'Type of dimension (TIME, MEASURE)  enumValues: 4=md_dimtype_other_no_aggre,1=md_dimtype_time,3=md_dimtype_other,0=md_dimtype_unknown,2=md_dimtype_measure'
                        enum:
                        - '4'
                        - '1'
                        - '3'
                        - '0'
                        - '2'
                      HRY_CARDINALITY:
                        type: integer
                        format: int64
                        description: Cardinality of the dimension (Approx. number of members)
                      DFLT_MEM:
                        type: string
                        maxLength: 143
                        description: Unique name of a member
                      ALL_MEM:
                        type: string
                        maxLength: 143
                        description: Unique name of a member
                      DSCRPTN:
                        type: string
                        maxLength: 60
                        description: Long description
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_HIERARCHIES:
                    type: array
                    items:
                      type: object
                      properties:
                        CAT_NAM:
                          type: string
                          maxLength: 32
                          description: CATALOG to which the CUBE belongs
                        CUBE_NAM:
                          type: string
                          maxLength: 70
                          description: Cube name
                        DIM_UNAM:
                          type: string
                          maxLength: 32
                          description: Unique name of dimension (dimension unique name)
                        HRY_NAM:
                          type: string
                          maxLength: 41
                          description: Name of a hierarchy (hienm30, version3, dateto8)
                        HRY_UNAM:
                          type: string
                          maxLength: 65
                          description: Hierarchy Unique Name
                        HRY_UID:
                          type: string
                          maxLength: 25
                          description: UUID in compressed form
                        HRY_CAP:
                          type: string
                          maxLength: 60
                          description: Long description
                        DIM_TYPE:
                          type: integer
                          format: int64
                          description: 'Type of dimension (TIME, MEASURE)  enumValues: 4=md_dimtype_other_no_aggre,1=md_dimtype_time,3=md_dimtype_other,0=md_dimtype_unknown,2=md_dimtype_measure'
                          enum:
                          - '4'
                          - '1'
                          - '3'
                          - '0'
                          - '2'
                        HRY_CARDINALITY:
                          type: integer
                          format: int64
                          description: Cardinality of the dimension (Approx. number of members)
                        DFLT_MEM:
                          type: string
                          maxLength: 143
                          description: Unique name of a member
                        ALL_MEM:
                          type: string
                          maxLength: 143
                          description: Unique name of a member
                        DSCRPTN:
                          type: string
                          maxLength: 60
                          description: Long description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
