openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSWR_URL_QUERY_COMPRESS_PROXY:
    post:
      tags:
      - RSWRTEMPLATE
      operationId: /rfc/RSWR_URL_QUERY_COMPRESS_PROXY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_QUERY_STRING:
                  type: string
                E_T_MESSAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      CONTEXT_ID:
                        type: integer
                        format: int32
                        description: Object ID
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        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
                      TEXT:
                        type: string
                        maxLength: 220
                        description: Message Text
                E_T_STATISTIC_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      EVENTID:
                        type: integer
                        format: int64
                        description: OLAP Statistics Event (Type NUMC9)
                      HANDLEID:
                        type: integer
                        format: int64
                        description: Internal ID of a Query Runtime Object
                      HANDLETP:
                        type: string
                        maxLength: 4
                        description: Internal Type of Query Runtime Object
                      OBJNAME:
                        type: string
                        maxLength: 30
                        description: OLAP Statistik Object Name  (QueryID, TemplateID,...)
                      EVTIME:
                        type: integer
                        format: int64
                        description: Validity Period
                      EVCOUNT:
                        type: integer
                        format: int64
                        description: 'BW Statistics: Number'
                I_T_MESSAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      CONTEXT_ID:
                        type: integer
                        format: int32
                        description: Object ID
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGNO:
                        type: integer
                        format: int64
                        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
                      TEXT:
                        type: string
                        maxLength: 220
                        description: Message Text
              required:
              - I_QUERY_STRING
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_COMPRESSED_QUERY_STRING:
                    type: string
                  E_T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        CONTEXT_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          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
                        TEXT:
                          type: string
                          maxLength: 220
                          description: Message Text
                  E_T_STATISTIC_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        EVENTID:
                          type: integer
                          format: int64
                          description: OLAP Statistics Event (Type NUMC9)
                        HANDLEID:
                          type: integer
                          format: int64
                          description: Internal ID of a Query Runtime Object
                        HANDLETP:
                          type: string
                          maxLength: 4
                          description: Internal Type of Query Runtime Object
                        OBJNAME:
                          type: string
                          maxLength: 30
                          description: OLAP Statistik Object Name  (QueryID, TemplateID,...)
                        EVTIME:
                          type: integer
                          format: int64
                          description: Validity Period
                        EVCOUNT:
                          type: integer
                          format: int64
                          description: 'BW Statistics: Number'
                  I_T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        CONTEXT_ID:
                          type: integer
                          format: int32
                          description: Object ID
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGNO:
                          type: integer
                          format: int64
                          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
                        TEXT:
                          type: string
                          maxLength: 220
                          description: Message Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
