openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALP_GET_PERFDB_DATA:
    post:
      tags:
      - SALP
      operationId: /rfc/SALP_GET_PERFDB_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CALNAME:
                  type: string
                  maxLength: 40
                  description: 'Monitoring architecture: Performance database schema key'
                OUT_FIRSTDAY:
                  type: string
                  format: date
                  description: 'Alert: date'
                OUT_LASTDAY:
                  type: string
                  format: date
                  description: 'Alert: date'
                OUT_RECTYPE:
                  type: string
                  maxLength: 6
                  description: Montoring infra. perf.DB record type
                OUT_TIMEZONE:
                  type: string
                  maxLength: 6
                  description: Time Zone
                SFTNAME:
                  type: string
                  maxLength: 40
                  description: 'Monitoring architecture: Performance database schema key'
                XDAY_X:
                  type: integer
                  format: int32
                  default: 10
                  description: Natural Number
                TID_INPUT:
                  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.,...)'
              required:
              - OUT_FIRSTDAY
              - OUT_LASTDAY
              - OUT_RECTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OUT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        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.,...)'
                        RC:
                          type: integer
                          format: int32
                          description: 'Alert: Return Code'
                        DATA_TAB:
                          type: array
                          items:
                            type: object
                            properties:
                              PF_DATE:
                                type: string
                                format: date
                                description: 'Alert: date'
                              PF_TIME:
                                type: string
                                maxLength: 6
                                description: 'Alert: Time value in timeformat'
                              PF_SUM:
                                type: integer
                                format: int64
                                description: 'Alert: performance smooth values in performance DB : Sum'
                              PF_CNT:
                                type: integer
                                format: int64
                                description: 'Alert: performance smooth values in performance DB : count'
                              PF_AVG:
                                type: integer
                                format: int64
                                description: 'Alert: performance smooth values in perf. DB : Average'
                              STATUS:
                                type: string
                                maxLength: 1
                                description: Single-Character Flag
                  TID_INPUT:
                    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.,...)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
