openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALC_CACHE_SMES_WRITE:
    post:
      tags:
      - SAL_CACHE_RECEIVE
      summary: 'Alert:  Read Class-specific Data of "Single Message" Monitoring Type'
      operationId: /rfc/SALC_CACHE_SMES_WRITE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SMESRAWTRC:
                  type: array
                  items:
                    type: object
                    properties:
                      MTSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      MTMCNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      MTNUMRANGE:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type number range (perm., temp, ...)'
                      MTUID:
                        type: string
                        maxLength: 10
                        description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                      MTCLASS:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type class (perf., single msg.,...)'
                      MTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      EXTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      CUSTSTAT:
                        type: integer
                        format: int32
                        description: 'Alert: Customizing Status'
                      ALERTMODE:
                        type: integer
                        format: int32
                        description: 'Alert: Status attribute variant method'
                      ALERTSHIFT:
                        type: integer
                        format: int32
                        description: 'Alert: Status attribute type variant: value'
                      CUSGRPNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Customization: Name of Customization Group'
                      SMSGVALUE:
                        type: integer
                        format: int32
                        description: 'Alert: alert value (1 = green, 2 = yellow, ....)'
                      SMSGDATE:
                        type: string
                        format: date
                        description: 'Alert: date'
                      SMSGTIME:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                      SMSGDUMMY:
                        type: string
                        maxLength: 2
                        description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                      MSGCLASS:
                        type: string
                        maxLength: 16
                        description: 'XMI logging: company name of external management tool'
                      MSGID:
                        type: string
                        maxLength: 30
                        description: Message ID for an XMI log entry
                      MSGARG1:
                        type: string
                        maxLength: 128
                        description: Argument string for an XMI log
                      ARGTYPE1:
                        type: string
                        maxLength: 1
                        description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                        enum:
                        - C
                        - U
                        - T
                        - D
                      MSGARG2:
                        type: string
                        maxLength: 128
                        description: Argument string for an XMI log
                      ARGTYPE2:
                        type: string
                        maxLength: 1
                        description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                        enum:
                        - C
                        - U
                        - T
                        - D
                      MSGARG3:
                        type: string
                        maxLength: 128
                        description: Argument string for an XMI log
                      ARGTYPE3:
                        type: string
                        maxLength: 1
                        description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                        enum:
                        - C
                        - U
                        - T
                        - D
                      MSGARG4:
                        type: string
                        maxLength: 128
                        description: Argument string for an XMI log
                      ARGTYPE4:
                        type: string
                        maxLength: 1
                        description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                        enum:
                        - C
                        - U
                        - T
                        - D
                      MSGTEXT:
                        type: string
                        maxLength: 128
                        description: Actual text of message
                      RC:
                        type: integer
                        format: int32
                        description: 'Alert: Return Code'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SMESRAWTRC:
                    type: array
                    items:
                      type: object
                      properties:
                        MTSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        MTMCNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        MTNUMRANGE:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type number range (perm., temp, ...)'
                        MTUID:
                          type: string
                          maxLength: 10
                          description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                        MTCLASS:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type class (perf., single msg.,...)'
                        MTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        EXTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        CUSTSTAT:
                          type: integer
                          format: int32
                          description: 'Alert: Customizing Status'
                        ALERTMODE:
                          type: integer
                          format: int32
                          description: 'Alert: Status attribute variant method'
                        ALERTSHIFT:
                          type: integer
                          format: int32
                          description: 'Alert: Status attribute type variant: value'
                        CUSGRPNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Customization: Name of Customization Group'
                        SMSGVALUE:
                          type: integer
                          format: int32
                          description: 'Alert: alert value (1 = green, 2 = yellow, ....)'
                        SMSGDATE:
                          type: string
                          format: date
                          description: 'Alert: date'
                        SMSGTIME:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time value in timeformat'
                        SMSGDUMMY:
                          type: string
                          maxLength: 2
                          description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                        MSGCLASS:
                          type: string
                          maxLength: 16
                          description: 'XMI logging: company name of external management tool'
                        MSGID:
                          type: string
                          maxLength: 30
                          description: Message ID for an XMI log entry
                        MSGARG1:
                          type: string
                          maxLength: 128
                          description: Argument string for an XMI log
                        ARGTYPE1:
                          type: string
                          maxLength: 1
                          description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                          enum:
                          - C
                          - U
                          - T
                          - D
                        MSGARG2:
                          type: string
                          maxLength: 128
                          description: Argument string for an XMI log
                        ARGTYPE2:
                          type: string
                          maxLength: 1
                          description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                          enum:
                          - C
                          - U
                          - T
                          - D
                        MSGARG3:
                          type: string
                          maxLength: 128
                          description: Argument string for an XMI log
                        ARGTYPE3:
                          type: string
                          maxLength: 1
                          description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                          enum:
                          - C
                          - U
                          - T
                          - D
                        MSGARG4:
                          type: string
                          maxLength: 128
                          description: Argument string for an XMI log
                        ARGTYPE4:
                          type: string
                          maxLength: 1
                          description: 'Argument type of an XMI log entry  enumValues: C=Character string not to be interpreted,U=Date, time from time stamp (UTC),T=Time from time stamp (UTC),D=Date from time stamp (UTC)'
                          enum:
                          - C
                          - U
                          - T
                          - D
                        MSGTEXT:
                          type: string
                          maxLength: 128
                          description: Actual text of message
                        RC:
                          type: integer
                          format: int32
                          description: 'Alert: Return Code'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
