openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BICS_PROV_SET_HIERARCHY_STATE:
    post:
      tags:
      - RSBOLAP_BICS_PROVIDER
      operationId: /rfc/BICS_PROV_SET_HIERARCHY_STATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CHARACTERISTIC_NAME:
                  type: string
                  maxLength: 40
                I_DATA_PROVIDER_HANDLE:
                  type: integer
                  format: int64
                I_SX_HIERARCHY_STATE:
                  type: object
                  properties:
                    ID:
                      type: integer
                      format: int32
                      description: Object ID
                    ACTIVE:
                      type: string
                      maxLength: 1
                      description: Boolean
                    START_DRILL_LEVEL:
                      type: integer
                      format: int32
                      description: Level Number in a Hierarchy
                    NODE_ALIGNMENT:
                      type: string
                      maxLength: 1
                      description: Alignment of Objects (top/left, bottom/right, default)
                    NODE_VISIBILITY:
                      type: string
                      maxLength: 1
                      description: Visibility of Hierarchy Nodes
                    MEMBER_ACCESS_MODE:
                      type: string
                      maxLength: 1
                      description: Read Mode(F4) for Master Data Read Services
                    ALEAFNODSP:
                      type: string
                      maxLength: 1
                      description: Do Not Display Leaves for Inner-Nodes in the Query
                    RESULT_SET_SORTING:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Sort Type  enumValues: K=(K)ey: Sort according to key,W=(V)alue: Sort according to key figure,S=(S)election : Sort according to selection,H=(H)ierarchy Sorting: Sorting as in a Hierarchy,T=(T)ext: Sort according to description'
                          enum:
                          - K
                          - W
                          - S
                          - H
                          - T
                        DIRECTION:
                          type: string
                          maxLength: 1
                          description: 'Sort Direction  enumValues: A=ascending,D=descending'
                          enum:
                          - A
                          - D
                        ATTRIBUTE_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        DATA_CELL_ID:
                          type: integer
                          format: int32
                          description: Object ID
                    MEMBER_ACCESS_SORTING:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Sort Type  enumValues: K=(K)ey: Sort according to key,W=(V)alue: Sort according to key figure,S=(S)election : Sort according to selection,H=(H)ierarchy Sorting: Sorting as in a Hierarchy,T=(T)ext: Sort according to description'
                          enum:
                          - K
                          - W
                          - S
                          - H
                          - T
                        DIRECTION:
                          type: string
                          maxLength: 1
                          description: 'Sort Direction  enumValues: A=ascending,D=descending'
                          enum:
                          - A
                          - D
                        ATTRIBUTE_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        DATA_CELL_ID:
                          type: integer
                          format: int32
                          description: Object ID
                    MEMBER_ACCESS_MODES:
                      type: array
                      items:
                        type: object
                        properties:
                          READ_MODE:
                            type: string
                            maxLength: 1
                            description: Read Mode(F4) for Master Data Read Services
                          TEXT:
                            type: string
                            maxLength: 60
                            description: Long description
                          FUZZY_SEARCH:
                            type: string
                            maxLength: 1
                            description: Boolean
                    NODE_TYPES:
                      type: array
                      items:
                        type: object
                        properties:
                          ID:
                            type: integer
                            format: int32
                            description: Object ID
                          RESULT_SET_PRESENTATION:
                            type: integer
                            format: int32
                            description: Amount of Presentations Encrypted as Bit String
                          MEMBER_ACCESS_INDIV_SETTINGS:
                            type: string
                            maxLength: 1
                            description: Boolean
                          MEMBER_ACCESS_PRESENTATION:
                            type: integer
                            format: int32
                            description: Amount of Presentations Encrypted as Bit String
                          MEMBER_ACCESS_MODE:
                            type: string
                            maxLength: 1
                            description: Read Mode(F4) for Master Data Read Services
                          MEMBER_ACCESS_SORTING:
                            type: object
                            properties:
                              TYPE:
                                type: string
                                maxLength: 1
                                description: 'Sort Type  enumValues: K=(K)ey: Sort according to key,W=(V)alue: Sort according to key figure,S=(S)election : Sort according to selection,H=(H)ierarchy Sorting: Sorting as in a Hierarchy,T=(T)ext: Sort according to description'
                                enum:
                                - K
                                - W
                                - S
                                - H
                                - T
                              DIRECTION:
                                type: string
                                maxLength: 1
                                description: 'Sort Direction  enumValues: A=ascending,D=descending'
                                enum:
                                - A
                                - D
                              ATTRIBUTE_ID:
                                type: integer
                                format: int32
                                description: Object ID
                              DATA_CELL_ID:
                                type: integer
                                format: int32
                                description: Object ID
                          ATTRIBUTES:
                            type: array
                            items:
                              type: object
                              properties:
                                ID:
                                  type: integer
                                  format: int32
                                  description: Object ID
                                RESULT_SET_PRESENTATION:
                                  type: integer
                                  format: int32
                                  description: Amount of Presentations Encrypted as Bit String
                                MEMBER_ACCESS_INDIV_SETTINGS:
                                  type: string
                                  maxLength: 1
                                  description: Boolean
                                MEMBER_ACCESS_PRESENTATION:
                                  type: integer
                                  format: int32
                                  description: Amount of Presentations Encrypted as Bit String
                                MEMBER_ACCESS_MODE:
                                  type: string
                                  maxLength: 1
                                  description: Read Mode(F4) for Master Data Read Services
                                MEMBER_ACCESS_SORTING:
                                  type: object
                                  properties:
                                    TYPE:
                                      type: string
                                      maxLength: 1
                                      description: 'Sort Type  enumValues: K=(K)ey: Sort according to key,W=(V)alue: Sort according to key figure,S=(S)election : Sort according to selection,H=(H)ierarchy Sorting: Sorting as in a Hierarchy,T=(T)ext: Sort according to description'
                                      enum:
                                      - K
                                      - W
                                      - S
                                      - H
                                      - T
                                    DIRECTION:
                                      type: string
                                      maxLength: 1
                                      description: 'Sort Direction  enumValues: A=ascending,D=descending'
                                      enum:
                                      - A
                                      - D
                                    ATTRIBUTE_ID:
                                      type: integer
                                      format: int32
                                      description: Object ID
                                    DATA_CELL_ID:
                                      type: integer
                                      format: int32
                                      description: Object ID
                          MEMBER_ACCESS_ATTRIBUTES:
                            type: array
                            items:
                              type: integer
                              format: int32
                              description: ID for an Object
                          RESULT_SET_ATTRIBUTES:
                            type: array
                            items:
                              type: integer
                              format: int32
                              description: ID for an Object
                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
              - I_SX_HIERARCHY_STATE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MAX_MESSAGE_TYPE:
                    type: string
                    maxLength: 1
                  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.
