openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RRT_BROWSE_LEVELS:
    post:
      tags:
      - RRT1
      operationId: /rfc/RRT_BROWSE_LEVELS
      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_UNAM:
                  type: string
                  maxLength: 65
                I_LVL_NAM:
                  type: string
                  maxLength: 108
                I_LVL_UNAM:
                  type: string
                  maxLength: 108
                E_T_LEVELS:
                  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_UNAM:
                        type: string
                        maxLength: 65
                        description: Hierarchy Unique Name
                      LVL_NAM:
                        type: string
                        maxLength: 108
                        description: Unique name of a hierarchy level
                      LVL_UNAM:
                        type: string
                        maxLength: 108
                        description: Unique name of a hierarchy level
                      LVL_UID:
                        type: string
                        maxLength: 25
                        description: UUID in compressed form
                      LVL_CAP:
                        type: string
                        maxLength: 60
                        description: Long description
                      LVL_NUMBER:
                        type: integer
                        format: int64
                        description: Distance of a member from the root node (root = 0)
                      LVL_CARDINALITY:
                        type: integer
                        format: int64
                        description: Cardinality of a level (approx. number of members)
                      LVL_TYPE:
                        type: integer
                        format: int64
                        description: 'Level type (year, month, day...)  enumValues: 0001=All,0204=time_days,0044=time_quarters,0804=time_seconds,0304=time_hours,1004=time_undefined,0000=Regular,0014=time_years,0024=time_half_year,0104=time_weeks,0008=Reserved1,2000=unknown,0404=time_minutes,0004=time,0002=calculated,0084=time_months'
                        enum:
                        - '0001'
                        - '0204'
                        - '0044'
                        - '0804'
                        - '0304'
                        - '1004'
                        - '0000'
                        - '0014'
                        - '0024'
                        - '0104'
                        - '0008'
                        - '2000'
                        - '0404'
                        - '0004'
                        - '0002'
                        - '0084'
                      DSCRPTN:
                        type: string
                        maxLength: 60
                        description: Long description
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_LEVELS:
                    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_UNAM:
                          type: string
                          maxLength: 65
                          description: Hierarchy Unique Name
                        LVL_NAM:
                          type: string
                          maxLength: 108
                          description: Unique name of a hierarchy level
                        LVL_UNAM:
                          type: string
                          maxLength: 108
                          description: Unique name of a hierarchy level
                        LVL_UID:
                          type: string
                          maxLength: 25
                          description: UUID in compressed form
                        LVL_CAP:
                          type: string
                          maxLength: 60
                          description: Long description
                        LVL_NUMBER:
                          type: integer
                          format: int64
                          description: Distance of a member from the root node (root = 0)
                        LVL_CARDINALITY:
                          type: integer
                          format: int64
                          description: Cardinality of a level (approx. number of members)
                        LVL_TYPE:
                          type: integer
                          format: int64
                          description: 'Level type (year, month, day...)  enumValues: 0001=All,0204=time_days,0044=time_quarters,0804=time_seconds,0304=time_hours,1004=time_undefined,0000=Regular,0014=time_years,0024=time_half_year,0104=time_weeks,0008=Reserved1,2000=unknown,0404=time_minutes,0004=time,0002=calculated,0084=time_months'
                          enum:
                          - '0001'
                          - '0204'
                          - '0044'
                          - '0804'
                          - '0304'
                          - '1004'
                          - '0000'
                          - '0014'
                          - '0024'
                          - '0104'
                          - '0008'
                          - '2000'
                          - '0404'
                          - '0004'
                          - '0002'
                          - '0084'
                        DSCRPTN:
                          type: string
                          maxLength: 60
                          description: Long description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
