openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_CHG_DYNAMICSERVER_MSQ:
    post:
      tags:
      - SFMSS_PERF
      summary: retrieve data about sql server available from the @@variables
      operationId: /rfc/GET_CHG_DYNAMICSERVER_MSQ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DIFFDATA:
                  type: array
                  items:
                    type: object
                    properties:
                      SQLUPTIME:
                        type: integer
                        format: int32
                        description: Number of seconds SQL Server has been running.
                      CPUBUSY:
                        type: integer
                        format: int32
                        description: Number of seconds CPUs have been busy (sum for all CPUs) .
                      CPUIDLE:
                        type: integer
                        format: int32
                        description: Number of seconds CPUs have been idle (sum for all CPUs) .
                      IOBUSY:
                        type: integer
                        format: int32
                        description: Number of seconds SQL Server tasks were busy with IO.
                      PCTCPU:
                        type: integer
                        format: int32
                        description: Percent of time the CPUs have been busy.
                      PCTIDLE:
                        type: integer
                        format: int32
                        description: Percent of time CPUs have been idle.
                      PCTIO:
                        type: integer
                        format: int32
                        description: Percent of time SQL Server tasks have beeen busy whit IO.
                      PACKRECD:
                        type: integer
                        format: int32
                        description: Number of network packets received.
                      PACKSENT:
                        type: integer
                        format: int32
                        description: Number of network packets sent out by SQL Server.
                      CONNECTS:
                        type: integer
                        format: int32
                        description: Number of attempted connections to SQL Server.
                      PACKERRORS:
                        type: integer
                        format: int32
                        description: Number of network packets with error since SQL Server start.
                      TOTALREAD:
                        type: integer
                        format: int32
                        description: Number of disk reads done by SQL Server (physical reads).
                      TOTALWRITE:
                        type: integer
                        format: int32
                        description: Number of physical disk writes done by SQL Server.
                      TOTALERROR:
                        type: integer
                        format: int32
                        description: Number of disk read or write errors since SQL Server started
                SERVERDATA1:
                  type: array
                  items:
                    type: object
                    properties:
                      SQLUPTIME:
                        type: integer
                        format: int32
                        description: Number of seconds SQL Server has been running.
                      CPUBUSY:
                        type: integer
                        format: int32
                        description: Number of seconds CPUs have been busy (sum for all CPUs) .
                      CPUIDLE:
                        type: integer
                        format: int32
                        description: Number of seconds CPUs have been idle (sum for all CPUs) .
                      IOBUSY:
                        type: integer
                        format: int32
                        description: Number of seconds SQL Server tasks were busy with IO.
                      PCTCPU:
                        type: integer
                        format: int32
                        description: Percent of time the CPUs have been busy.
                      PCTIDLE:
                        type: integer
                        format: int32
                        description: Percent of time CPUs have been idle.
                      PCTIO:
                        type: integer
                        format: int32
                        description: Percent of time SQL Server tasks have beeen busy whit IO.
                      PACKRECD:
                        type: integer
                        format: int32
                        description: Number of network packets received.
                      PACKSENT:
                        type: integer
                        format: int32
                        description: Number of network packets sent out by SQL Server.
                      CONNECTS:
                        type: integer
                        format: int32
                        description: Number of attempted connections to SQL Server.
                      PACKERRORS:
                        type: integer
                        format: int32
                        description: Number of network packets with error since SQL Server start.
                      TOTALREAD:
                        type: integer
                        format: int32
                        description: Number of disk reads done by SQL Server (physical reads).
                      TOTALWRITE:
                        type: integer
                        format: int32
                        description: Number of physical disk writes done by SQL Server.
                      TOTALERROR:
                        type: integer
                        format: int32
                        description: Number of disk read or write errors since SQL Server started
                SERVERDATA2:
                  type: array
                  items:
                    type: object
                    properties:
                      SQLUPTIME:
                        type: integer
                        format: int32
                        description: Number of seconds SQL Server has been running.
                      CPUBUSY:
                        type: integer
                        format: int32
                        description: Number of seconds CPUs have been busy (sum for all CPUs) .
                      CPUIDLE:
                        type: integer
                        format: int32
                        description: Number of seconds CPUs have been idle (sum for all CPUs) .
                      IOBUSY:
                        type: integer
                        format: int32
                        description: Number of seconds SQL Server tasks were busy with IO.
                      PCTCPU:
                        type: integer
                        format: int32
                        description: Percent of time the CPUs have been busy.
                      PCTIDLE:
                        type: integer
                        format: int32
                        description: Percent of time CPUs have been idle.
                      PCTIO:
                        type: integer
                        format: int32
                        description: Percent of time SQL Server tasks have beeen busy whit IO.
                      PACKRECD:
                        type: integer
                        format: int32
                        description: Number of network packets received.
                      PACKSENT:
                        type: integer
                        format: int32
                        description: Number of network packets sent out by SQL Server.
                      CONNECTS:
                        type: integer
                        format: int32
                        description: Number of attempted connections to SQL Server.
                      PACKERRORS:
                        type: integer
                        format: int32
                        description: Number of network packets with error since SQL Server start.
                      TOTALREAD:
                        type: integer
                        format: int32
                        description: Number of disk reads done by SQL Server (physical reads).
                      TOTALWRITE:
                        type: integer
                        format: int32
                        description: Number of physical disk writes done by SQL Server.
                      TOTALERROR:
                        type: integer
                        format: int32
                        description: Number of disk read or write errors since SQL Server started
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DIFFDATA:
                    type: array
                    items:
                      type: object
                      properties:
                        SQLUPTIME:
                          type: integer
                          format: int32
                          description: Number of seconds SQL Server has been running.
                        CPUBUSY:
                          type: integer
                          format: int32
                          description: Number of seconds CPUs have been busy (sum for all CPUs) .
                        CPUIDLE:
                          type: integer
                          format: int32
                          description: Number of seconds CPUs have been idle (sum for all CPUs) .
                        IOBUSY:
                          type: integer
                          format: int32
                          description: Number of seconds SQL Server tasks were busy with IO.
                        PCTCPU:
                          type: integer
                          format: int32
                          description: Percent of time the CPUs have been busy.
                        PCTIDLE:
                          type: integer
                          format: int32
                          description: Percent of time CPUs have been idle.
                        PCTIO:
                          type: integer
                          format: int32
                          description: Percent of time SQL Server tasks have beeen busy whit IO.
                        PACKRECD:
                          type: integer
                          format: int32
                          description: Number of network packets received.
                        PACKSENT:
                          type: integer
                          format: int32
                          description: Number of network packets sent out by SQL Server.
                        CONNECTS:
                          type: integer
                          format: int32
                          description: Number of attempted connections to SQL Server.
                        PACKERRORS:
                          type: integer
                          format: int32
                          description: Number of network packets with error since SQL Server start.
                        TOTALREAD:
                          type: integer
                          format: int32
                          description: Number of disk reads done by SQL Server (physical reads).
                        TOTALWRITE:
                          type: integer
                          format: int32
                          description: Number of physical disk writes done by SQL Server.
                        TOTALERROR:
                          type: integer
                          format: int32
                          description: Number of disk read or write errors since SQL Server started
                  SERVERDATA1:
                    type: array
                    items:
                      type: object
                      properties:
                        SQLUPTIME:
                          type: integer
                          format: int32
                          description: Number of seconds SQL Server has been running.
                        CPUBUSY:
                          type: integer
                          format: int32
                          description: Number of seconds CPUs have been busy (sum for all CPUs) .
                        CPUIDLE:
                          type: integer
                          format: int32
                          description: Number of seconds CPUs have been idle (sum for all CPUs) .
                        IOBUSY:
                          type: integer
                          format: int32
                          description: Number of seconds SQL Server tasks were busy with IO.
                        PCTCPU:
                          type: integer
                          format: int32
                          description: Percent of time the CPUs have been busy.
                        PCTIDLE:
                          type: integer
                          format: int32
                          description: Percent of time CPUs have been idle.
                        PCTIO:
                          type: integer
                          format: int32
                          description: Percent of time SQL Server tasks have beeen busy whit IO.
                        PACKRECD:
                          type: integer
                          format: int32
                          description: Number of network packets received.
                        PACKSENT:
                          type: integer
                          format: int32
                          description: Number of network packets sent out by SQL Server.
                        CONNECTS:
                          type: integer
                          format: int32
                          description: Number of attempted connections to SQL Server.
                        PACKERRORS:
                          type: integer
                          format: int32
                          description: Number of network packets with error since SQL Server start.
                        TOTALREAD:
                          type: integer
                          format: int32
                          description: Number of disk reads done by SQL Server (physical reads).
                        TOTALWRITE:
                          type: integer
                          format: int32
                          description: Number of physical disk writes done by SQL Server.
                        TOTALERROR:
                          type: integer
                          format: int32
                          description: Number of disk read or write errors since SQL Server started
                  SERVERDATA2:
                    type: array
                    items:
                      type: object
                      properties:
                        SQLUPTIME:
                          type: integer
                          format: int32
                          description: Number of seconds SQL Server has been running.
                        CPUBUSY:
                          type: integer
                          format: int32
                          description: Number of seconds CPUs have been busy (sum for all CPUs) .
                        CPUIDLE:
                          type: integer
                          format: int32
                          description: Number of seconds CPUs have been idle (sum for all CPUs) .
                        IOBUSY:
                          type: integer
                          format: int32
                          description: Number of seconds SQL Server tasks were busy with IO.
                        PCTCPU:
                          type: integer
                          format: int32
                          description: Percent of time the CPUs have been busy.
                        PCTIDLE:
                          type: integer
                          format: int32
                          description: Percent of time CPUs have been idle.
                        PCTIO:
                          type: integer
                          format: int32
                          description: Percent of time SQL Server tasks have beeen busy whit IO.
                        PACKRECD:
                          type: integer
                          format: int32
                          description: Number of network packets received.
                        PACKSENT:
                          type: integer
                          format: int32
                          description: Number of network packets sent out by SQL Server.
                        CONNECTS:
                          type: integer
                          format: int32
                          description: Number of attempted connections to SQL Server.
                        PACKERRORS:
                          type: integer
                          format: int32
                          description: Number of network packets with error since SQL Server start.
                        TOTALREAD:
                          type: integer
                          format: int32
                          description: Number of disk reads done by SQL Server (physical reads).
                        TOTALWRITE:
                          type: integer
                          format: int32
                          description: Number of physical disk writes done by SQL Server.
                        TOTALERROR:
                          type: integer
                          format: int32
                          description: Number of disk read or write errors since SQL Server started
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
