openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSR_XMLA_DISCOVER:
    post:
      tags:
      - RSR_XMLA
      operationId: /rfc/RSR_XMLA_DISCOVER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PROPERTIES:
                  type: object
                  properties:
                    PROPERTY_LIST:
                      type: object
                      properties:
                        AXISFORMAT:
                          type: string
                          description: Character String of Any Length
                        BEGINRANGE:
                          type: integer
                          format: int32
                          description: Natural number
                        ENDRANGE:
                          type: integer
                          format: int32
                          description: Natural number
                        CATALOG:
                          type: string
                          maxLength: 32
                          description: CATALOG to which the CUBE belongs
                        CUBE:
                          type: string
                          maxLength: 70
                          description: Cube name
                        CONTENT:
                          type: string
                          description: Character String of Any Length
                        DATASOURCEINFO:
                          type: string
                          description: Character String of Any Length
                        FORMAT:
                          type: string
                          description: Character String of Any Length
                        LOCALEIDENTIFIER:
                          type: string
                          description: Character String of Any Length
                        MDXSUPPORT:
                          type: string
                          description: Character String of Any Length
                        PROVIDERNAME:
                          type: string
                          description: Character String of Any Length
                        PROVIDERVERSION:
                          type: string
                          description: Character String of Any Length
                        STATESUPPORT:
                          type: string
                          description: Character String of Any Length
                        TIMEOUT:
                          type: integer
                          format: int32
                          description: Natural number
                        RETURNCELLPROPERTIES:
                          type: string
                          description: ''
                REQUEST_TYPE:
                  type: string
                RESTRICTIONS:
                  type: object
                  properties:
                    RESTRICTION_LIST:
                      type: object
                      properties:
                        CATALOG_NAME:
                          type: string
                          maxLength: 32
                          description: CATALOG to which the CUBE belongs
                        CUBE_NAME:
                          type: string
                          maxLength: 70
                          description: Cube name
                        DIMENSION_UNIQUE_NAME:
                          type: string
                          maxLength: 32
                          description: Unique name of dimension (dimension unique name)
                        DIMENSION_NAME:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        HIERARCHY_UNIQUE_NAME:
                          type: string
                          maxLength: 65
                          description: Hierarchy Unique Name
                        LEVEL_UNIQUE_NAME:
                          type: string
                          maxLength: 108
                          description: Unique name of a hierarchy level
                        LEVEL_NUMBER:
                          type: string
                          maxLength: 2
                          description: Char 2 restriction field
                        MEMBER_NAME:
                          type: string
                          maxLength: 64
                          description: Member Name
                        MEMBER_UNIQUE_NAME:
                          type: string
                          maxLength: 143
                          description: Unique name of a member
                        TREE_OP:
                          type: string
                          maxLength: 2
                          description: Char 2 restriction field
                        MEASURE_UNIQUE_NAME:
                          type: string
                          maxLength: 143
                          description: Unique name of a member
                        PROPERTY_NAME:
                          type: string
                          maxLength: 30
                          description: Property name
                        PROPERTY_TYPE:
                          type: integer
                          format: int64
                          description: 'Property type (MEMBER, CELL)  enumValues: 1='
                          enum:
                          - '1'
                        CUBE_TYPE:
                          type: string
                          maxLength: 20
                          description: 'Cube type  enumValues: CUBE=Cube,REPORT CUB=Report Cube,VIRTUAL CU=Virtual Cube'
                          enum:
                          - CUBE
                          - REPORT CUB
                          - VIRTUAL CU
                        PROPERTYNAME:
                          type: string
                          maxLength: 143
                          description: Unique name of a member
                        FUNCTION_NAME:
                          type: string
                          maxLength: 70
                          description: Function Name
              required:
              - PROPERTIES
              - REQUEST_TYPE
              - RESTRICTIONS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ROOT:
                    type: string
                    format: byte
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
