openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BICS_PROV_GET_HRY_ROOTS:
    post:
      tags:
      - RSBOLAP_BICS_PROVIDER
      operationId: /rfc/BICS_PROV_GET_HRY_ROOTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CHARACTERISTIC_NAME:
                  type: string
                  maxLength: 40
                I_DATA_PROVIDER_HANDLE:
                  type: integer
                  format: int64
                E_T_MEMBER:
                  type: array
                  items:
                    type: object
                    properties:
                      MEMBER_ID:
                        type: integer
                        format: int32
                        description: Object ID
                      NODE_PARENT_ID:
                        type: integer
                        format: int32
                        description: Object ID
                      NODE_TYPE_ID:
                        type: integer
                        format: int32
                        description: Object ID
                      LEVEL:
                        type: integer
                        format: int32
                        description: Level Number in a Hierarchy
                      PRESENTATION_INDEX_FROM:
                        type: integer
                        format: int32
                        description: Position of an Object (1 Based)
                      PRESENTATION_INDEX_TO:
                        type: integer
                        format: int32
                        description: Position of an Object (1 Based)
                E_T_MEMBER_PRESENTATION:
                  type: array
                  items:
                    type: object
                    properties:
                      PRESENTATION:
                        type: integer
                        format: int32
                        description: Display of an Object
                      ATTRIBUTE_ID:
                        type: integer
                        format: int32
                        description: Object ID
                      CONTINUE:
                        type: integer
                        format: int32
                        description: Boolean Value Encoded as Int 1
                      VALUE:
                        type: string
                        maxLength: 70
                        description: Value of a Display
                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_CHARACTERISTIC_NAME
              - I_DATA_PROVIDER_HANDLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MAX_MESSAGE_TYPE:
                    type: string
                    maxLength: 1
                  E_T_MEMBER:
                    type: array
                    items:
                      type: object
                      properties:
                        MEMBER_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        NODE_PARENT_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        NODE_TYPE_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        LEVEL:
                          type: integer
                          format: int32
                          description: Level Number in a Hierarchy
                        PRESENTATION_INDEX_FROM:
                          type: integer
                          format: int32
                          description: Position of an Object (1 Based)
                        PRESENTATION_INDEX_TO:
                          type: integer
                          format: int32
                          description: Position of an Object (1 Based)
                  E_T_MEMBER_PRESENTATION:
                    type: array
                    items:
                      type: object
                      properties:
                        PRESENTATION:
                          type: integer
                          format: int32
                          description: Display of an Object
                        ATTRIBUTE_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        CONTINUE:
                          type: integer
                          format: int32
                          description: Boolean Value Encoded as Int 1
                        VALUE:
                          type: string
                          maxLength: 70
                          description: Value of a Display
                  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.
