openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BICS_PROV_GET_HIERARCHIES:
    post:
      tags:
      - RSBOLAP_BICS_PROVIDER
      operationId: /rfc/BICS_PROV_GET_HIERARCHIES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_BASE_CHARACTERISTIC_NAME:
                  type: string
                  maxLength: 40
                E_T_HIERARCHY_CAT:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 40
                        description: Object Name
                      TEXT:
                        type: string
                        maxLength: 60
                        description: Charact. text
                      VERSION:
                        type: string
                        maxLength: 3
                        description: Hierarchy version
                      DATE_FROM:
                        type: string
                        format: date
                        description: Valid-From Date
                      DATE_TO:
                        type: string
                        format: date
                        description: Valid-to date
                      SUPPORTS_NONE_UNIQUE_LEAVES:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      DEFAULT_DRILL_LEVEL:
                        type: integer
                        format: int64
                        description: Level of a hierarchy node
                      DEFAULT_ALEAFNODSP:
                        type: string
                        maxLength: 1
                        description: 'Do Not Display Leaves for Inner-Nodes in the Query  enumValues: ""=Created Sheets are Displayed in the Query,X=Created Sheets are not Displayed in the Query'
                        enum:
                        - ''
                        - X
                      DEFAULT_NODE_ALIGNMENT:
                        type: string
                        maxLength: 1
                        description: Alignment of Objects (top/left, bottom/right, default)
                      ALEAFNODCH:
                        type: string
                        maxLength: 1
                        description: 'Display for Generated Leaves Not Changeable  enumValues: X=Display Behavior of Sheets Created Cannot Be Changed,""=Display Behavior of Sheets Created Can Be Changed'
                        enum:
                        - X
                        - ''
                I_T_STATISTIC_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      EVENTID:
                        type: integer
                        format: int64
                        description: OLAP Statistics Event (Type NUMC9)
                      HANDLEID:
                        type: integer
                        format: int64
                        description: Internal ID of a Query Runtime Object
                      HANDLETP:
                        type: string
                        maxLength: 4
                        description: Internal Type of Query Runtime Object
                      OBJNAME:
                        type: string
                        maxLength: 30
                        description: OLAP Statistik Object Name  (QueryID, TemplateID,...)
                      EVTIME:
                        type: integer
                        format: int64
                        description: Validity Period
                      EVCOUNT:
                        type: integer
                        format: int64
                        description: 'BW Statistics: Number'
              required:
              - I_BASE_CHARACTERISTIC_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MAX_MESSAGE_TYPE:
                    type: string
                    maxLength: 1
                  E_T_HIERARCHY_CAT:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 40
                          description: Object Name
                        TEXT:
                          type: string
                          maxLength: 60
                          description: Charact. text
                        VERSION:
                          type: string
                          maxLength: 3
                          description: Hierarchy version
                        DATE_FROM:
                          type: string
                          format: date
                          description: Valid-From Date
                        DATE_TO:
                          type: string
                          format: date
                          description: Valid-to date
                        SUPPORTS_NONE_UNIQUE_LEAVES:
                          type: string
                          maxLength: 1
                          description: 'Boolean  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        DEFAULT_DRILL_LEVEL:
                          type: integer
                          format: int64
                          description: Level of a hierarchy node
                        DEFAULT_ALEAFNODSP:
                          type: string
                          maxLength: 1
                          description: 'Do Not Display Leaves for Inner-Nodes in the Query  enumValues: ""=Created Sheets are Displayed in the Query,X=Created Sheets are not Displayed in the Query'
                          enum:
                          - ''
                          - X
                        DEFAULT_NODE_ALIGNMENT:
                          type: string
                          maxLength: 1
                          description: Alignment of Objects (top/left, bottom/right, default)
                        ALEAFNODCH:
                          type: string
                          maxLength: 1
                          description: 'Display for Generated Leaves Not Changeable  enumValues: X=Display Behavior of Sheets Created Cannot Be Changed,""=Display Behavior of Sheets Created Can Be Changed'
                          enum:
                          - X
                          - ''
                  I_T_STATISTIC_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        EVENTID:
                          type: integer
                          format: int64
                          description: OLAP Statistics Event (Type NUMC9)
                        HANDLEID:
                          type: integer
                          format: int64
                          description: Internal ID of a Query Runtime Object
                        HANDLETP:
                          type: string
                          maxLength: 4
                          description: Internal Type of Query Runtime Object
                        OBJNAME:
                          type: string
                          maxLength: 30
                          description: OLAP Statistik Object Name  (QueryID, TemplateID,...)
                        EVTIME:
                          type: integer
                          format: int64
                          description: Validity Period
                        EVCOUNT:
                          type: integer
                          format: int64
                          description: 'BW Statistics: Number'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
