openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPWLN3_GET_AVAIL_AGGREGATES:
    post:
      tags:
      - SAPWLN3_COLLECTOR
      operationId: /rfc/SAPWLN3_GET_AVAIL_AGGREGATES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MONITORING_SYSTEM:
                  type: string
                  maxLength: 32
                SELECTION_KEY:
                  type: object
                  properties:
                    COMPONENT:
                      type: string
                      maxLength: 32
                      description: 'DSR Statistics: Name of a Non-R/3 Component'
                    COMPTYPE:
                      type: string
                      maxLength: 10
                      description: 'DSR Statistics: Type of Non-R/3 Component'
                    ASSIGNDSYS:
                      type: string
                      maxLength: 32
                      description: 'DSR Statistics: System Name'
                    PERIODTYPE:
                      type: string
                      maxLength: 1
                      description: 'SAP Workload: Period type  enumValues: W=Weekly data,D=Daily data,M=Monthly data,Y=Yearly data'
                      enum:
                      - W
                      - D
                      - M
                      - Y
                    PERIODSTRT:
                      type: string
                      format: date
                      description: Current Date of Application Server
              required:
              - SELECTION_KEY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACTIONS_STATISTIC:
                    type: string
                    maxLength: 1
                  CALL_SUBRECORD_STAT_T1:
                    type: string
                    maxLength: 1
                  EXTERNAL_SYSTEM_LOAD:
                    type: string
                    maxLength: 1
                  HITLIST_RESPTIME:
                    type: string
                    maxLength: 1
                  HITLIST_WAITTIME:
                    type: string
                    maxLength: 1
                  RESPTIME_CATEGORY:
                    type: string
                    maxLength: 1
                  STATDATA_AVAILABILITY:
                    type: string
                    maxLength: 1
                  SYSTEMLOAD_SUMMARY:
                    type: string
                    maxLength: 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
