openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OLAP_API_GET_AXIS_INFO:
    post:
      tags:
      - RRT0
      operationId: /rfc/OLAP_API_GET_AXIS_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_HCOMMAND:
                  type: integer
                  format: int32
                E_T_AXIS_DIMENSIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      I_AXIS:
                        type: integer
                        format: int64
                        description: Zero-Based Number of Axes in Data Set
                      DIM_UNAM:
                        type: string
                        maxLength: 32
                        description: Unique name of dimension (dimension unique name)
                      DIM_KEY:
                        type: integer
                        format: int64
                        description: Zero-based ordinal of a dimension on an axis
                      DIM_PRPTY_COUNT:
                        type: integer
                        format: int64
                        description: Number of optional, specific properties in the dataset
                E_T_AXIS_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      I_AXIS:
                        type: integer
                        format: int64
                        description: Zero-Based Number of Axes in Data Set
                      C_DIMS:
                        type: integer
                        format: int64
                        description: Counter for number of dimensions on an axis
                      C_COORDINATES:
                        type: integer
                        format: int64
                        description: Zero-based counter for number of coordinates on an axis
                E_T_AXIS_LEVELS:
                  type: array
                  items:
                    type: object
                    properties:
                      I_AXIS:
                        type: integer
                        format: int64
                        description: Zero-Based Number of Axes in Data Set
                      DIM_KEY:
                        type: integer
                        format: int64
                        description: Zero-based ordinal of a dimension on an axis
                      LVL_KEY:
                        type: integer
                        format: int64
                        description: Zero based ordinal of a lvl projected on an axis
                      LVL_UNAM:
                        type: string
                        maxLength: 108
                        description: Unique name of a hierarchy level
                E_T_DIM_PRPTYS:
                  type: array
                  items:
                    type: object
                    properties:
                      LVL_KEY:
                        type: integer
                        format: int64
                        description: Zero based ordinal of a lvl projected on an axis
                      PRPTY_NAM:
                        type: string
                        maxLength: 30
                        description: Master data attribute
                      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
                E_T_FLTCOLINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      COL_ORDINAL:
                        type: integer
                        format: int64
                        description: General reference field for numbering
                      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
              required:
              - I_HCOMMAND
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_AXIS_DIMENSIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        I_AXIS:
                          type: integer
                          format: int64
                          description: Zero-Based Number of Axes in Data Set
                        DIM_UNAM:
                          type: string
                          maxLength: 32
                          description: Unique name of dimension (dimension unique name)
                        DIM_KEY:
                          type: integer
                          format: int64
                          description: Zero-based ordinal of a dimension on an axis
                        DIM_PRPTY_COUNT:
                          type: integer
                          format: int64
                          description: Number of optional, specific properties in the dataset
                  E_T_AXIS_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        I_AXIS:
                          type: integer
                          format: int64
                          description: Zero-Based Number of Axes in Data Set
                        C_DIMS:
                          type: integer
                          format: int64
                          description: Counter for number of dimensions on an axis
                        C_COORDINATES:
                          type: integer
                          format: int64
                          description: Zero-based counter for number of coordinates on an axis
                  E_T_AXIS_LEVELS:
                    type: array
                    items:
                      type: object
                      properties:
                        I_AXIS:
                          type: integer
                          format: int64
                          description: Zero-Based Number of Axes in Data Set
                        DIM_KEY:
                          type: integer
                          format: int64
                          description: Zero-based ordinal of a dimension on an axis
                        LVL_KEY:
                          type: integer
                          format: int64
                          description: Zero based ordinal of a lvl projected on an axis
                        LVL_UNAM:
                          type: string
                          maxLength: 108
                          description: Unique name of a hierarchy level
                  E_T_DIM_PRPTYS:
                    type: array
                    items:
                      type: object
                      properties:
                        LVL_KEY:
                          type: integer
                          format: int64
                          description: Zero based ordinal of a lvl projected on an axis
                        PRPTY_NAM:
                          type: string
                          maxLength: 30
                          description: Master data attribute
                        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
                  E_T_FLTCOLINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        COL_ORDINAL:
                          type: integer
                          format: int64
                          description: General reference field for numbering
                        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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
