openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALP_TEST_ALERTMON_TESTDATA:
    post:
      tags:
      - SALP_CEN
      summary: Fills a performance attribut with testdata
      operationId: /rfc/SALP_TEST_ALERTMON_TESTDATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                RFC:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: (internal parameter, use default)
                TID:
                  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'
                PERFDATA:
                  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'
                      SMOOTHTYPE:
                        type: integer
                        format: int32
                        description: 'Alert: MT Performance Smooth SmoothType (min, quart, hour)'
                      SMOOTHDATE:
                        type: string
                        format: date
                        description: 'Alert: date'
                      SMOOTHTIME:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time value in timeformat'
                      SMOOTHDUM:
                        type: string
                        maxLength: 2
                        description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                      SMOOTHSUM:
                        type: integer
                        format: int32
                        description: 'Alert: MT Performance Smooth Values: SmoothSum'
                      SMOOTHCNT:
                        type: integer
                        format: int32
                        description: 'Alert: MT Performance Smooth Values: SmoothCnt'
                      SMOOTHAVG:
                        type: integer
                        format: int32
                        description: 'Alert: MT Performance Smooth Values: SmoothAvg'
                      RC:
                        type: integer
                        format: int32
                        description: 'Alert: Return Code'
              required:
              - TID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PERFDATA:
                    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'
                        SMOOTHTYPE:
                          type: integer
                          format: int32
                          description: 'Alert: MT Performance Smooth SmoothType (min, quart, hour)'
                        SMOOTHDATE:
                          type: string
                          format: date
                          description: 'Alert: date'
                        SMOOTHTIME:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time value in timeformat'
                        SMOOTHDUM:
                          type: string
                          maxLength: 2
                          description: 'Alert: Dummy field. Purpose: Alignment of date/time 16 byte'
                        SMOOTHSUM:
                          type: integer
                          format: int32
                          description: 'Alert: MT Performance Smooth Values: SmoothSum'
                        SMOOTHCNT:
                          type: integer
                          format: int32
                          description: 'Alert: MT Performance Smooth Values: SmoothCnt'
                        SMOOTHAVG:
                          type: integer
                          format: int32
                          description: 'Alert: MT Performance Smooth Values: SmoothAvg'
                        RC:
                          type: integer
                          format: int32
                          description: 'Alert: Return Code'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
