openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OLAP_API_BROWSE_PROPERTIES:
    post:
      tags:
      - RRT0
      operationId: /rfc/OLAP_API_BROWSE_PROPERTIES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CAT_NAM:
                  type: string
                  maxLength: 32
                I_CUBE_NAM:
                  type: string
                  maxLength: 70
                I_DIM_UNAM:
                  type: string
                  maxLength: 32
                I_HRY_UNAM:
                  type: string
                  maxLength: 65
                I_LVL_UNAM:
                  type: string
                  maxLength: 108
                I_MEM_UNAM:
                  type: string
                  maxLength: 143
                I_PRPTY_NAM:
                  type: string
                  maxLength: 30
                I_PRPTY_TYPE:
                  type: integer
                  format: int64
                E_T_PROPERTIES:
                  type: array
                  items:
                    type: object
                    properties:
                      CAT_NAM:
                        type: string
                        maxLength: 32
                        description: CATALOG to which the CUBE belongs
                      CUBE_NAM:
                        type: string
                        maxLength: 70
                        description: Cube name
                      DIM_UNAM:
                        type: string
                        maxLength: 32
                        description: Unique name of dimension (dimension unique name)
                      HRY_UNAM:
                        type: string
                        maxLength: 65
                        description: Hierarchy Unique Name
                      LVL_UNAM:
                        type: string
                        maxLength: 108
                        description: Unique name of a hierarchy level
                      MEM_UNAM:
                        type: string
                        maxLength: 143
                        description: Unique name of a member
                      PRPTY_TYPE:
                        type: integer
                        format: int64
                        description: 'Property type (MEMBER, CELL)  enumValues: 1='
                        enum:
                        - '1'
                      PRPTY_NAM:
                        type: string
                        maxLength: 30
                        description: Master data attribute
                      PRPTY_CAP:
                        type: string
                        maxLength: 60
                        description: Long description
                      DATA_TYPE:
                        type: string
                        maxLength: 4
                        description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                          accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                          field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                        enum:
                        - NUMC
                        - INT2
                        - DEC
                        - VARC
                        - INT1
                        - RAW
                        - CUKY
                        - QUAN
                        - FLTP
                        - LRAW
                        - PREC
                        - CHAR
                        - ACCP
                        - INT4
                        - RSTR
                        - STRG
                        - LANG
                        - TIMS
                        - UNIT
                        - CLNT
                        - DATS
                        - LCHR
                        - CURR
                        - SSTR
                      CHR_MAX_LEN:
                        type: string
                        maxLength: 3
                        description: Maximum length of a value in characters or bytes
                      CHR_OCT_LEN:
                        type: string
                        maxLength: 3
                        description: Maximum length (in bytes) of an attribute value if char.
                      NUM_PREC:
                        type: string
                        maxLength: 1
                        description: Maximum precision (only given if data type is numeric)
                      NUM_SCALE:
                        type: string
                        maxLength: 1
                        description: Display factor (if applicable)
                      DSCRPTN:
                        type: string
                        maxLength: 60
                        description: Long description
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_PROPERTIES:
                    type: array
                    items:
                      type: object
                      properties:
                        CAT_NAM:
                          type: string
                          maxLength: 32
                          description: CATALOG to which the CUBE belongs
                        CUBE_NAM:
                          type: string
                          maxLength: 70
                          description: Cube name
                        DIM_UNAM:
                          type: string
                          maxLength: 32
                          description: Unique name of dimension (dimension unique name)
                        HRY_UNAM:
                          type: string
                          maxLength: 65
                          description: Hierarchy Unique Name
                        LVL_UNAM:
                          type: string
                          maxLength: 108
                          description: Unique name of a hierarchy level
                        MEM_UNAM:
                          type: string
                          maxLength: 143
                          description: Unique name of a member
                        PRPTY_TYPE:
                          type: integer
                          format: int64
                          description: 'Property type (MEMBER, CELL)  enumValues: 1='
                          enum:
                          - '1'
                        PRPTY_NAM:
                          type: string
                          maxLength: 30
                          description: Master data attribute
                        PRPTY_CAP:
                          type: string
                          maxLength: 60
                          description: Long description
                        DATA_TYPE:
                          type: string
                          maxLength: 4
                          description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                            accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                            field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                          enum:
                          - NUMC
                          - INT2
                          - DEC
                          - VARC
                          - INT1
                          - RAW
                          - CUKY
                          - QUAN
                          - FLTP
                          - LRAW
                          - PREC
                          - CHAR
                          - ACCP
                          - INT4
                          - RSTR
                          - STRG
                          - LANG
                          - TIMS
                          - UNIT
                          - CLNT
                          - DATS
                          - LCHR
                          - CURR
                          - SSTR
                        CHR_MAX_LEN:
                          type: string
                          maxLength: 3
                          description: Maximum length of a value in characters or bytes
                        CHR_OCT_LEN:
                          type: string
                          maxLength: 3
                          description: Maximum length (in bytes) of an attribute value if char.
                        NUM_PREC:
                          type: string
                          maxLength: 1
                          description: Maximum precision (only given if data type is numeric)
                        NUM_SCALE:
                          type: string
                          maxLength: 1
                          description: Display factor (if applicable)
                        DSCRPTN:
                          type: string
                          maxLength: 60
                          description: Long description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
