openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SMET_METRICS_1_SERVER_GET:
    post:
      tags:
      - SMETRICS
      summary: 'Metrics: Reading the number of calls for 1 server'
      operationId: /rfc/SMET_METRICS_1_SERVER_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ONE_FUNCTION_COUNTERS:
                  type: array
                  items:
                    type: object
                    properties:
                      PROGRAM_ID:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      STATUS_ID:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Status code'
                      FUNCT_ID:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                      COUNTER:
                        type: integer
                        format: int32
                        description: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ONE_BUFFER_INFO:
                    type: object
                    properties:
                      SYSTEM_ID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      HOST_ID:
                        type: string
                        maxLength: 32
                        description: Name of Current Application Server
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      START_DATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      START_TIME:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                  ONE_FUNCTION_COUNTERS:
                    type: array
                    items:
                      type: object
                      properties:
                        PROGRAM_ID:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        STATUS_ID:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Status code'
                        FUNCT_ID:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Function code'
                        COUNTER:
                          type: integer
                          format: int32
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
