openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STU3_GET_DATASETS_STATISTICS:
    post:
      tags:
      - STU3
      operationId: /rfc/STU3_GET_DATASETS_STATISTICS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DS_MEMBER_SPEC:
                  type: string
                  maxLength: 8
                  description: Name of the data sharing group member
                FILTER_INPUT:
                  type: object
                  properties:
                    CLGUID:
                      type: string
                      maxLength: 32
                      description: ''
                    USERID:
                      type: integer
                      format: int32
                      description: ''
                    DSSDATE:
                      type: string
                      format: date
                      description: Field of type DATS
                    DSSTIME:
                      type: string
                      maxLength: 6
                      description: Field of type TIMS
                    DSSMSEC:
                      type: string
                      maxLength: 6
                      description: Event time stamp (milliseconds)
                    DSSDBNAME:
                      type: string
                      maxLength: 8
                      description: Database name
                    DSSTSNAME:
                      type: string
                      maxLength: 8
                      description: Name of the tablespace
                    QW0199DN:
                      type: integer
                      format: int32
                      description: Partition or piece number
                    DSSMEMB:
                      type: string
                      maxLength: 8
                      description: DB2 member name in data sharing environment
                    DB2PSTYPE:
                      type: string
                      maxLength: 5
                      description: Type of pageset
                    DB2GBPDEP:
                      type: string
                      maxLength: 3
                      description: Group bufferpool dependence
                    DB2SYNCIO:
                      type: integer
                      format: int64
                      description: Synchronous I/O per minute (pages)
                    DB2APGAIO:
                      type: integer
                      format: int64
                      description: Avg. number of pages read or written per asynchronous I/O
                    DB2AIOMIN:
                      type: integer
                      format: int64
                      description: Asyncronous I/Os per minute  (pages)
                    DB2CASHPG:
                      type: integer
                      format: int64
                      description: Cached pages
                    DB2CHANPG:
                      type: integer
                      format: int64
                      description: Changed pages
                    DB2HPCAPG:
                      type: integer
                      format: int64
                      description: Percentage of buffers in the HP containing pages of the PS
                    DB2DBPNM:
                      type: string
                      maxLength: 8
                      description: Name of buffer pool
                    QW0199TS:
                      type: string
                      maxLength: 8
                      description: Start timestamp for collection of dataset values
                    QW0199DB:
                      type: integer
                      format: int32
                      description: Database ID
                    QW0199OB:
                      type: integer
                      format: int32
                      description: Pageset OBID
                    QW0199BP:
                      type: integer
                      format: int32
                      description: Buffer pool ID
                    QW0199DS:
                      type: string
                      maxLength: 1
                      description: DSS Flags
                    QW0199SV:
                      type: integer
                      format: int32
                      description: Average synchronous I/O delay
                    QW0199SX:
                      type: integer
                      format: int32
                      description: Maximum synchronous I/O delay
                    QW0199SP:
                      type: integer
                      format: int32
                      description: Total number of pages read or written synchronously
                    QW0199AD:
                      type: integer
                      format: int32
                      description: Average asynchronous I/O delay
                    QW0199AX:
                      type: integer
                      format: int32
                      description: Maximum asynchronous I/O delay
                    QW0199AP:
                      type: integer
                      format: int32
                      description: Total number of pages read or written asynchronously
                    QW0199AC:
                      type: integer
                      format: int32
                      description: Total number of asynchronous I/Os
                    QW0199VP:
                      type: integer
                      format: int32
                      description: Number of pages cached in virtual pool
                    QW0199VD:
                      type: integer
                      format: int32
                      description: Number of changed pages cached in virtual pool
                    QW0199HP:
                      type: integer
                      format: int32
                      description: Number of pages cached in hiperpool
                    S199AP:
                      type: integer
                      format: int64
                      description: Total asynchronous I/O minute (count)
                    QWP1DTIM:
                      type: integer
                      format: int32
                      description: Time Interval Before DB2 Resets Data Set Statistics (Min.)
                FB_DATASETS_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      CLGUID:
                        type: string
                        maxLength: 32
                        description: ''
                      USERID:
                        type: integer
                        format: int32
                        description: ''
                      DSSDATE:
                        type: string
                        format: date
                        description: Field of type DATS
                      DSSTIME:
                        type: string
                        maxLength: 6
                        description: Field of type TIMS
                      DSSMSEC:
                        type: string
                        maxLength: 6
                        description: Event time stamp (milliseconds)
                      DSSDBNAME:
                        type: string
                        maxLength: 8
                        description: Database name
                      DSSTSNAME:
                        type: string
                        maxLength: 8
                        description: Name of the tablespace
                      QW0199DN:
                        type: integer
                        format: int32
                        description: Partition or piece number
                      DSSMEMB:
                        type: string
                        maxLength: 8
                        description: DB2 member name in data sharing environment
                      DB2PSTYPE:
                        type: string
                        maxLength: 5
                        description: Type of pageset
                      DB2GBPDEP:
                        type: string
                        maxLength: 3
                        description: Group bufferpool dependence
                      DB2SYNCIO:
                        type: integer
                        format: int64
                        description: Synchronous I/O per minute (pages)
                      DB2APGAIO:
                        type: integer
                        format: int64
                        description: Avg. number of pages read or written per asynchronous I/O
                      DB2AIOMIN:
                        type: integer
                        format: int64
                        description: Asyncronous I/Os per minute  (pages)
                      DB2CASHPG:
                        type: integer
                        format: int64
                        description: Cached pages
                      DB2CHANPG:
                        type: integer
                        format: int64
                        description: Changed pages
                      DB2HPCAPG:
                        type: integer
                        format: int64
                        description: Percentage of buffers in the HP containing pages of the PS
                      DB2DBPNM:
                        type: string
                        maxLength: 8
                        description: Name of buffer pool
                      QW0199TS:
                        type: string
                        maxLength: 8
                        description: Start timestamp for collection of dataset values
                      QW0199DB:
                        type: integer
                        format: int32
                        description: Database ID
                      QW0199OB:
                        type: integer
                        format: int32
                        description: Pageset OBID
                      QW0199BP:
                        type: integer
                        format: int32
                        description: Buffer pool ID
                      QW0199DS:
                        type: string
                        maxLength: 1
                        description: DSS Flags
                      QW0199SV:
                        type: integer
                        format: int32
                        description: Average synchronous I/O delay
                      QW0199SX:
                        type: integer
                        format: int32
                        description: Maximum synchronous I/O delay
                      QW0199SP:
                        type: integer
                        format: int32
                        description: Total number of pages read or written synchronously
                      QW0199AD:
                        type: integer
                        format: int32
                        description: Average asynchronous I/O delay
                      QW0199AX:
                        type: integer
                        format: int32
                        description: Maximum asynchronous I/O delay
                      QW0199AP:
                        type: integer
                        format: int32
                        description: Total number of pages read or written asynchronously
                      QW0199AC:
                        type: integer
                        format: int32
                        description: Total number of asynchronous I/Os
                      QW0199VP:
                        type: integer
                        format: int32
                        description: Number of pages cached in virtual pool
                      QW0199VD:
                        type: integer
                        format: int32
                        description: Number of changed pages cached in virtual pool
                      QW0199HP:
                        type: integer
                        format: int32
                        description: Number of pages cached in hiperpool
                      S199AP:
                        type: integer
                        format: int64
                        description: Total asynchronous I/O minute (count)
                      QWP1DTIM:
                        type: integer
                        format: int32
                        description: Time Interval Before DB2 Resets Data Set Statistics (Min.)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DS_MEMBER_USED:
                    type: string
                    maxLength: 8
                    description: Name of the data sharing group member
                  FB_DSSHDR:
                    type: object
                    properties:
                      SSID:
                        type: string
                        maxLength: 4
                        description: DB2 subsystem ID
                      INTFROMD:
                        type: string
                        format: date
                        description: Date when sampling is taken
                      INTFROMT:
                        type: string
                        maxLength: 6
                        description: Time when sampling is taken
                      INTTOD:
                        type: string
                        format: date
                        description: Date when sampling is taken
                      INTTOT:
                        type: string
                        maxLength: 6
                        description: Time when sampling is taken
                      SMPINT:
                        type: integer
                        format: int64
                        description: Sample interval
                      MODUS:
                        type: string
                        maxLength: 30
                        description: DB2 sample mode
                  FB_DATASETS_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        CLGUID:
                          type: string
                          maxLength: 32
                          description: ''
                        USERID:
                          type: integer
                          format: int32
                          description: ''
                        DSSDATE:
                          type: string
                          format: date
                          description: Field of type DATS
                        DSSTIME:
                          type: string
                          maxLength: 6
                          description: Field of type TIMS
                        DSSMSEC:
                          type: string
                          maxLength: 6
                          description: Event time stamp (milliseconds)
                        DSSDBNAME:
                          type: string
                          maxLength: 8
                          description: Database name
                        DSSTSNAME:
                          type: string
                          maxLength: 8
                          description: Name of the tablespace
                        QW0199DN:
                          type: integer
                          format: int32
                          description: Partition or piece number
                        DSSMEMB:
                          type: string
                          maxLength: 8
                          description: DB2 member name in data sharing environment
                        DB2PSTYPE:
                          type: string
                          maxLength: 5
                          description: Type of pageset
                        DB2GBPDEP:
                          type: string
                          maxLength: 3
                          description: Group bufferpool dependence
                        DB2SYNCIO:
                          type: integer
                          format: int64
                          description: Synchronous I/O per minute (pages)
                        DB2APGAIO:
                          type: integer
                          format: int64
                          description: Avg. number of pages read or written per asynchronous I/O
                        DB2AIOMIN:
                          type: integer
                          format: int64
                          description: Asyncronous I/Os per minute  (pages)
                        DB2CASHPG:
                          type: integer
                          format: int64
                          description: Cached pages
                        DB2CHANPG:
                          type: integer
                          format: int64
                          description: Changed pages
                        DB2HPCAPG:
                          type: integer
                          format: int64
                          description: Percentage of buffers in the HP containing pages of the PS
                        DB2DBPNM:
                          type: string
                          maxLength: 8
                          description: Name of buffer pool
                        QW0199TS:
                          type: string
                          maxLength: 8
                          description: Start timestamp for collection of dataset values
                        QW0199DB:
                          type: integer
                          format: int32
                          description: Database ID
                        QW0199OB:
                          type: integer
                          format: int32
                          description: Pageset OBID
                        QW0199BP:
                          type: integer
                          format: int32
                          description: Buffer pool ID
                        QW0199DS:
                          type: string
                          maxLength: 1
                          description: DSS Flags
                        QW0199SV:
                          type: integer
                          format: int32
                          description: Average synchronous I/O delay
                        QW0199SX:
                          type: integer
                          format: int32
                          description: Maximum synchronous I/O delay
                        QW0199SP:
                          type: integer
                          format: int32
                          description: Total number of pages read or written synchronously
                        QW0199AD:
                          type: integer
                          format: int32
                          description: Average asynchronous I/O delay
                        QW0199AX:
                          type: integer
                          format: int32
                          description: Maximum asynchronous I/O delay
                        QW0199AP:
                          type: integer
                          format: int32
                          description: Total number of pages read or written asynchronously
                        QW0199AC:
                          type: integer
                          format: int32
                          description: Total number of asynchronous I/Os
                        QW0199VP:
                          type: integer
                          format: int32
                          description: Number of pages cached in virtual pool
                        QW0199VD:
                          type: integer
                          format: int32
                          description: Number of changed pages cached in virtual pool
                        QW0199HP:
                          type: integer
                          format: int32
                          description: Number of pages cached in hiperpool
                        S199AP:
                          type: integer
                          format: int64
                          description: Total asynchronous I/O minute (count)
                        QWP1DTIM:
                          type: integer
                          format: int32
                          description: Time Interval Before DB2 Resets Data Set Statistics (Min.)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
