openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_VC_GET_QUERY_VIEW_DATA:
    post:
      tags:
      - RS_VC
      operationId: /rfc/RS_VC_GET_QUERY_VIEW_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_INFOPROVIDER:
                  type: string
                  maxLength: 30
                I_QUERY:
                  type: string
                  maxLength: 30
                I_T_PARAMETER:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 30
                        description: Name for WWW query string name/value pair
                      VALUE:
                        type: string
                        maxLength: 250
                        description: Value for WWW query string name/value pair
                I_VIEW_ID:
                  type: string
                  maxLength: 30
                E_T_MESSAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      ZEILE:
                        type: string
                        maxLength: 22
                        description: Line number
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: 'Message type (E, I, W, ...)  enumValues: W=Warning,E=Error,A=Termination,I=Information,S=Success message'
                        enum:
                        - W
                        - E
                        - A
                        - I
                        - S
                      TEXT:
                        type: string
                        maxLength: 73
                        description: Message Text
                      ARBGB:
                        type: string
                        maxLength: 20
                        description: Application Area
                      TXTNR:
                        type: string
                        maxLength: 3
                        description: Message number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_AXIS_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        AXIS:
                          type: integer
                          format: int64
                          description: Zero-Based Number of Axes in Data Set
                        SET:
                          type: array
                          items:
                            type: object
                            properties:
                              TUPLE_ORDINAL:
                                type: integer
                                format: int64
                                description: Zero-based ordinal number of an axis tuple
                              CHANM:
                                type: string
                                maxLength: 30
                                description: Characteristic
                              CAPTION:
                                type: string
                                maxLength: 60
                                description: Long description
                              CHAVL:
                                type: string
                                maxLength: 60
                                description: 'Dim: Field for a User-Defined Characteristic Value'
                              CHAVL_EXT:
                                type: string
                                maxLength: 70
                                description: Field for any characteristic value (external display)
                              NIOBJNM:
                                type: string
                                maxLength: 30
                                description: InfoObject
                              TLEVEL:
                                type: integer
                                format: int64
                                description: Node level
                              DRILLSTATE:
                                type: string
                                maxLength: 1
                                description: Status of a hierarchy node with respect to tree structure
                              OPT:
                                type: string
                                maxLength: 2
                                description: Operator in Select Options and other Expressions
                              SIGN:
                                type: string
                                maxLength: 1
                                description: SIGN field in creation of SELECT-OPTIONS tables
                              ATTRIBUTES:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    ATTRINM:
                                      type: string
                                      maxLength: 30
                                      description: Master data attribute
                                    CAPTION:
                                      type: string
                                      maxLength: 60
                                      description: Long description
                                    ATTRIVL:
                                      type: string
                                      maxLength: 60
                                      description: Value of an attribute
                  E_AXIS_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        AXIS:
                          type: integer
                          format: int64
                          description: Zero-Based Number of Axes in Data Set
                        NCHARS:
                          type: integer
                          format: int32
                          description: Number of Characteristics on the Axis
                        NCOORDS:
                          type: integer
                          format: int32
                          description: Number of Axis Sections
                        CHARS:
                          type: array
                          items:
                            type: object
                            properties:
                              CHANM:
                                type: string
                                maxLength: 30
                                description: Characteristic
                              HIENM:
                                type: string
                                maxLength: 30
                                description: Hierarchy name
                              VERSION:
                                type: string
                                maxLength: 3
                                description: Hierarchy version
                              DATETO:
                                type: string
                                format: date
                                description: Valid-to date
                              CAPTION:
                                type: string
                                maxLength: 60
                                description: Long description
                              CHAPRSNT:
                                type: string
                                maxLength: 1
                                description: Display for Characteristics and Units
                              CHATYP:
                                type: integer
                                format: int64
                                description: Char. type
                              ATTRINM:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    ATTRINM:
                                      type: string
                                      maxLength: 30
                                      description: Master data attribute
                                    CAPTION:
                                      type: string
                                      maxLength: 60
                                      description: Long description
                                    CHAPRSNT:
                                      type: string
                                      maxLength: 1
                                      description: Display for Characteristics and Units
                  E_CELL_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
                        FORMATTED_VALUE:
                          type: string
                          maxLength: 40
                          description: Formatted value of a cell
                        VALUE_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Value Type: Date, Time, Normal, Overflow'
                        CURRENCY:
                          type: string
                          maxLength: 5
                          description: Currency Key
                        UNIT:
                          type: string
                          maxLength: 3
                          description: Unit key
                        MWKZ:
                          type: string
                          maxLength: 1
                          description: Grouping of the key figures
                        NUM_SCALE:
                          type: string
                          maxLength: 1
                          description: 'StrMember: Scaling factor of a number'
                        NUM_PREC:
                          type: string
                          maxLength: 1
                          description: 'StrMember: Number of places after decimal point for output'
                        CELL_STATUS:
                          type: string
                          maxLength: 1
                          description: Status of a cell (E)mpty, (N)ill
                        BACK_COLOR:
                          type: string
                          maxLength: 8
                          description: Background color
                  E_TXT_SYMBOLS:
                    type: array
                    items:
                      type: object
                      properties:
                        SYM_TYPE:
                          type: string
                          maxLength: 1
                          description: Type of text symbol
                        SYM_TIMEDEP:
                          type: string
                          maxLength: 1
                          description: Symbol is time-dependent (e.g. sy-date, sy-time)
                        SYM_NAME:
                          type: string
                          maxLength: 40
                          description: ID of a text symbol
                        SYM_FS:
                          type: integer
                          format: int64
                          description: Next record no. of an entry in the symbol table
                        SYM_BEGIN_GROUP:
                          type: string
                          maxLength: 1
                          description: Indicator, that a group starts with this menu entry
                        SYM_CAPTION:
                          type: string
                          maxLength: 60
                          description: Long description
                        SYM_VALUE_TYPE:
                          type: string
                          maxLength: 2
                          description: Type of symbol value
                        SYM_VALUE:
                          type: string
                          maxLength: 132
                          description: Value of a text symbol
                        SYM_OUTPUTLEN:
                          type: integer
                          format: int64
                          description: Output Length
                  E_T_MESSAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        ZEILE:
                          type: string
                          maxLength: 22
                          description: Line number
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: 'Message type (E, I, W, ...)  enumValues: W=Warning,E=Error,A=Termination,I=Information,S=Success message'
                          enum:
                          - W
                          - E
                          - A
                          - I
                          - S
                        TEXT:
                          type: string
                          maxLength: 73
                          description: Message Text
                        ARBGB:
                          type: string
                          maxLength: 20
                          description: Application Area
                        TXTNR:
                          type: string
                          maxLength: 3
                          description: Message number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
