openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSWR_PREEXECUTION_PROXY:
    post:
      tags:
      - RSWRTEMPLATE
      operationId: /rfc/RSWR_PREEXECUTION_PROXY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BIAUTHEN:
                  type: string
                I_ACTION:
                  type: string
                  maxLength: 30
                I_CONTEXTDESCRIPTION:
                  type: string
                I_CONTEXTFRAGMENT:
                  type: string
                I_ISNUC_SYSTEM:
                  type: string
                  default: ' '
                  maxLength: 1
                I_ISOLANGUAGE:
                  type: string
                  maxLength: 2
                I_NODEFRAGMENT:
                  type: string
                I_TEMPLATE:
                  type: string
                I_TMPLID:
                  type: string
                  maxLength: 30
                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
                I_T_PARAMETER_BAG:
                  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
              required:
              - BIAUTHEN
              - I_ACTION
              - I_CONTEXTDESCRIPTION
              - I_CONTEXTFRAGMENT
              - I_ISNUC_SYSTEM
              - I_ISOLANGUAGE
              - I_NODEFRAGMENT
              - I_TEMPLATE
              - I_TMPLID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MESSAGES:
                    type: string
                  E_RESULTSTRING:
                    type: string
                  E_SUBRC:
                    type: integer
                    format: int32
                  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
                  I_T_PARAMETER_BAG:
                    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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
