openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OLAP_API_GET_CELL_DATA:
    post:
      tags:
      - RRT0
      operationId: /rfc/OLAP_API_GET_CELL_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_END_CELL:
                  type: integer
                  format: int64
                I_HCOMMAND:
                  type: integer
                  format: int32
                I_START_CELL:
                  type: integer
                  format: int64
                E_T_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      CELL_ORDINAL:
                        type: integer
                        format: int64
                        description: Ordinal Number of a Cell in a Data Set
                      VALUE:
                        type: string
                        maxLength: 22
                        description: String Representation of a Float Number
                      VALUE_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
                      FORMATTED_VALUE:
                        type: string
                        maxLength: 40
                        description: Formatted value of a cell
                      FORMAT_STRING:
                        type: string
                        maxLength: 64
                        description: VB Format key
                      FORE_COLOR:
                        type: string
                        maxLength: 8
                        description: Foreground color
                      BACK_COLOR:
                        type: string
                        maxLength: 8
                        description: Background color
                      FONT_NAME:
                        type: string
                        maxLength: 60
                        description: Font
                      FONT_SIZE:
                        type: integer
                        format: int64
                        description: Font size
                      FONT_FLAGS:
                        type: integer
                        format: int64
                        description: Flags with details on the font (italics, bold...)
                      CELL_STATUS:
                        type: string
                        maxLength: 1
                        description: Status of a cell (E)mpty, (N)ill
              required:
              - I_END_CELL
              - I_HCOMMAND
              - I_START_CELL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_T_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        CELL_ORDINAL:
                          type: integer
                          format: int64
                          description: Ordinal Number of a Cell in a Data Set
                        VALUE:
                          type: string
                          maxLength: 22
                          description: String Representation of a Float Number
                        VALUE_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
                        FORMATTED_VALUE:
                          type: string
                          maxLength: 40
                          description: Formatted value of a cell
                        FORMAT_STRING:
                          type: string
                          maxLength: 64
                          description: VB Format key
                        FORE_COLOR:
                          type: string
                          maxLength: 8
                          description: Foreground color
                        BACK_COLOR:
                          type: string
                          maxLength: 8
                          description: Background color
                        FONT_NAME:
                          type: string
                          maxLength: 60
                          description: Font
                        FONT_SIZE:
                          type: integer
                          format: int64
                          description: Font size
                        FONT_FLAGS:
                          type: integer
                          format: int64
                          description: Flags with details on the font (italics, bold...)
                        CELL_STATUS:
                          type: string
                          maxLength: 1
                          description: Status of a cell (E)mpty, (N)ill
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
