openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSQ_VTLFILESTATS_DOWNLOAD:
    post:
      tags:
      - STUL
      summary: SQL Server file IO statistics
      operationId: /rfc/MSQ_VTLFILESTATS_DOWNLOAD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALLDB:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Missing statistics auto. built for query during optimization
                DBNAME:
                  type: string
                  default: ' '
                  maxLength: 255
                  description: MS SQL server Database name
                VTLFILE:
                  type: array
                  items:
                    type: object
                    properties:
                      DBNAME:
                        type: string
                        maxLength: 255
                        description: Database name
                      FILENAME:
                        type: string
                        maxLength: 520
                        description: Physical file name
                      TIMESTAMP:
                        type: integer
                        format: int32
                        description: Time stamp
                      NUMREADS:
                        type: integer
                        format: int64
                        description: Number of reads
                      NUMWRITES:
                        type: integer
                        format: int64
                        description: Number of writes
                      BYTESREAD:
                        type: integer
                        format: int64
                        description: Number of bytes read
                      BYTESWTN:
                        type: integer
                        format: int64
                        description: Number of bytes written
                      IOSTALLMS:
                        type: integer
                        format: int64
                        description: Total amount of IO waittime in ms
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  VTLFILE:
                    type: array
                    items:
                      type: object
                      properties:
                        DBNAME:
                          type: string
                          maxLength: 255
                          description: Database name
                        FILENAME:
                          type: string
                          maxLength: 520
                          description: Physical file name
                        TIMESTAMP:
                          type: integer
                          format: int32
                          description: Time stamp
                        NUMREADS:
                          type: integer
                          format: int64
                          description: Number of reads
                        NUMWRITES:
                          type: integer
                          format: int64
                          description: Number of writes
                        BYTESREAD:
                          type: integer
                          format: int64
                          description: Number of bytes read
                        BYTESWTN:
                          type: integer
                          format: int64
                          description: Number of bytes written
                        IOSTALLMS:
                          type: integer
                          format: int64
                          description: Total amount of IO waittime in ms
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
