openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BICS_PROV_SET_STATE:
    post:
      tags:
      - RSBOLAP_BICS_PROVIDER
      operationId: /rfc/BICS_PROV_SET_STATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DATA_PROVIDER_HANDLE:
                  type: integer
                  format: int64
                I_RETURN_EFFECTIVE_SELECTION:
                  type: string
                  maxLength: 1
                I_S_COLUMNS:
                  type: object
                  properties:
                    RESULT_ALIGNMENT:
                      type: string
                      maxLength: 1
                      description: Alignment of Objects (top/left, bottom/right, default)
                    HIERARCHICAL:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    INITIAL_LOAD_LEVEL:
                      type: integer
                      format: int32
                      description: Level up to Which the Data for the Axis Is Loaded Initially
                    ZERO_SUPPRESSION:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                I_S_FREE:
                  type: object
                  properties:
                    RESULT_ALIGNMENT:
                      type: string
                      maxLength: 1
                      description: Alignment of Objects (top/left, bottom/right, default)
                    HIERARCHICAL:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    INITIAL_LOAD_LEVEL:
                      type: integer
                      format: int32
                      description: Level up to Which the Data for the Axis Is Loaded Initially
                    ZERO_SUPPRESSION:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                I_S_QUERY_PROPERTIES:
                  type: object
                  properties:
                    SRDATE:
                      type: string
                      format: date
                      description: Date with which texts, attributes and hierarchies are read
                    CTART:
                      type: integer
                      format: int64
                      description: 'Which Currency Conversions are Active  enumValues: 1='
                      enum:
                      - '1'
                    TCUR:
                      type: string
                      maxLength: 5
                      description: To-currency
                    CTTNM:
                      type: string
                      maxLength: 10
                      description: 'StrMember: Name of Currency Conversion Type'
                    INPUT_ENABLED:
                      type: string
                      maxLength: 1
                      description: 'Make All Basic Indicators Ready for Input  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    DRAG_RELATE_URLS:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                I_S_ROWS:
                  type: object
                  properties:
                    RESULT_ALIGNMENT:
                      type: string
                      maxLength: 1
                      description: Alignment of Objects (top/left, bottom/right, default)
                    HIERARCHICAL:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                    INITIAL_LOAD_LEVEL:
                      type: integer
                      format: int32
                      description: Level up to Which the Data for the Axis Is Loaded Initially
                    ZERO_SUPPRESSION:
                      type: string
                      maxLength: 1
                      description: 'Boolean  enumValues: X=True,""=False'
                      enum:
                      - X
                      - ''
                I_TH_CHARACTERISTICS:
                  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
                      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
                      RESULT_VISIBILITY:
                        type: string
                        maxLength: 1
                        description: Visibility of Objects (for example Results Rows)
                      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
                      STRUCTURE_HRY_DRILL_LEVEL:
                        type: integer
                        format: int32
                        description: Level Number in a Hierarchy
                      STRUCTURE_HRY_NODE_ALIGNMENT:
                        type: string
                        maxLength: 1
                        description: Alignment of Objects (top/left, bottom/right, default)
                      RESULT_ACCESS_MODE:
                        type: string
                        maxLength: 1
                        description: Display Values Not Posted
                      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_TSX_SELECTION_STATE:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 40
                        description: Object Name
                      SELECTION:
                        type: array
                        items:
                          type: object
                          properties:
                            SIGN:
                              type: string
                              maxLength: 1
                              description: Sign for a Selection
                            OPERATOR:
                              type: string
                              maxLength: 2
                              description: Operator in Selections
                            ATTRIBUTE_NAME:
                              type: string
                              maxLength: 40
                              description: Object Name
                            PRESENTATION:
                              type: integer
                              format: int32
                              description: Display of an Object
                            LOW:
                              type: string
                              maxLength: 70
                              description: Field for any characteristic value (external display)
                            LOW_IS_EXIT_VARIABLE:
                              type: string
                              maxLength: 1
                              description: Boolean
                            HIGH:
                              type: string
                              maxLength: 70
                              description: Field for any characteristic value (external display)
                            HIGH_IS_EXIT_VARIABLE:
                              type: string
                              maxLength: 1
                              description: Boolean
                            HIERARCHY_NAME:
                              type: string
                              maxLength: 40
                              description: Object Name
                            HIERARCHY_VERSION:
                              type: string
                              maxLength: 3
                              description: Hierarchy version
                            HIERARCHY_DUEDATE:
                              type: string
                              format: date
                              description: Valid-to date
                            LOW_EXIT_SHIFT:
                              type: integer
                              format: int32
                              description: Shift for Exit Variables
                            HIGH_EXIT_SHIFT:
                              type: integer
                              format: int32
                              description: Shift for Exit Variables
                I_TX_CONDITIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: integer
                        format: int32
                        description: Object ID
                      DATA_CELL_CONDITIONS:
                        type: array
                        items:
                          type: object
                          properties:
                            DATA_CELL_ID:
                              type: integer
                              format: int32
                              description: Object ID
                            OPERATOR:
                              type: string
                              maxLength: 2
                              description: Operator for a Condition
                            LOW:
                              type: number
                              description: Operand for a Condition
                            HIGH:
                              type: number
                              description: Operand for a Condition
                      DRILL_CONTEXT_CHARACTERISTICS:
                        type: array
                        items:
                          type: integer
                          format: int32
                          description: Object ID
                I_VALIDATE:
                  type: string
                  maxLength: 1
                I_T_COLUMNS_CHARACTERISTICS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: integer
                        format: int32
                        description: Object ID
                I_T_FREE_CHARACTERISTICS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: integer
                        format: int32
                        description: Object ID
                I_T_ROWS_CHARACTERISTICS:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: integer
                        format: int32
                        description: Object ID
                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_DATA_PROVIDER_HANDLE
              - I_TH_CHARACTERISTICS
              - I_VALIDATE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_CHANGED_STATE:
                    type: string
                    maxLength: 1
                  E_JAVA_STATE_CHANGE_NECESSARY:
                    type: string
                    maxLength: 1
                  E_MAX_MESSAGE_TYPE:
                    type: string
                    maxLength: 1
                  E_TSX_EFFECTIVE_SELECTION:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 40
                          description: Object Name
                        SELECTION:
                          type: array
                          items:
                            type: object
                            properties:
                              SIGN:
                                type: string
                                maxLength: 1
                                description: Sign for a Selection
                              OPERATOR:
                                type: string
                                maxLength: 2
                                description: Operator in Selections
                              ATTRIBUTE_NAME:
                                type: string
                                maxLength: 40
                                description: Object Name
                              PRESENTATION:
                                type: integer
                                format: int32
                                description: Display of an Object
                              LOW:
                                type: string
                                maxLength: 70
                                description: Field for any characteristic value (external display)
                              LOW_IS_EXIT_VARIABLE:
                                type: string
                                maxLength: 1
                                description: Boolean
                              HIGH:
                                type: string
                                maxLength: 70
                                description: Field for any characteristic value (external display)
                              HIGH_IS_EXIT_VARIABLE:
                                type: string
                                maxLength: 1
                                description: Boolean
                              HIERARCHY_NAME:
                                type: string
                                maxLength: 40
                                description: Object Name
                              HIERARCHY_VERSION:
                                type: string
                                maxLength: 3
                                description: Hierarchy version
                              HIERARCHY_DUEDATE:
                                type: string
                                format: date
                                description: Valid-to date
                              LOW_EXIT_SHIFT:
                                type: integer
                                format: int32
                                description: Shift for Exit Variables
                              HIGH_EXIT_SHIFT:
                                type: integer
                                format: int32
                                description: Shift for Exit Variables
                  I_T_COLUMNS_CHARACTERISTICS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: integer
                          format: int32
                          description: Object ID
                  I_T_FREE_CHARACTERISTICS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: integer
                          format: int32
                          description: Object ID
                  I_T_ROWS_CHARACTERISTICS:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: integer
                          format: int32
                          description: Object ID
                  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.
