openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSS_GET_DBSZHIST:
    post:
      tags:
      - SFMSS_SIZE
      summary: Get the table size history for a given table
      operationId: /rfc/MSS_GET_DBSZHIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  default: DEFAULT
                  maxLength: 30
                  description: Logical name for a database connection
                SCHEMA:
                  type: string
                  default: ' '
                  maxLength: 128
                  description: Schema name
                DBSZHIST_LIST_D:
                  type: array
                  items:
                    type: object
                    properties:
                      DATE:
                        type: string
                        format: date
                        description: Date
                      TIME:
                        type: string
                        maxLength: 6
                        description: Time
                      DBNAME:
                        type: string
                        maxLength: 128
                        description: Database name
                      DB_SIZE:
                        type: integer
                        format: int64
                        description: Database size in MB
                      DB_ALLOC:
                        type: integer
                        format: int64
                        description: Allocated space in database in MB
                      LOG_SIZE:
                        type: integer
                        format: int64
                        description: Log size in MB
                      LOG_ALLOC:
                        type: integer
                        format: int64
                        description: Allocated space in log in MB
                      RESERVED:
                        type: integer
                        format: int64
                        description: Reserved size in KB
                      NUMTABS:
                        type: integer
                        format: int32
                        description: Number of user tables
                      TABDATA:
                        type: integer
                        format: int64
                        description: Data size in KB
                      NUMINDS:
                        type: integer
                        format: int32
                        description: Number of indexes of user tables
                      INDDATA:
                        type: integer
                        format: int64
                        description: Index size in KB
                      UNUSED:
                        type: integer
                        format: int64
                        description: Unused size in KB
                      NUMPROCS:
                        type: integer
                        format: int32
                        description: Number of stored procedures created in DBI
                DBSZHIST_LIST_M:
                  type: array
                  items:
                    type: object
                    properties:
                      DATE:
                        type: string
                        format: date
                        description: Date
                      TIME:
                        type: string
                        maxLength: 6
                        description: Time
                      DBNAME:
                        type: string
                        maxLength: 128
                        description: Database name
                      DB_SIZE:
                        type: integer
                        format: int64
                        description: Database size in MB
                      DB_ALLOC:
                        type: integer
                        format: int64
                        description: Allocated space in database in MB
                      LOG_SIZE:
                        type: integer
                        format: int64
                        description: Log size in MB
                      LOG_ALLOC:
                        type: integer
                        format: int64
                        description: Allocated space in log in MB
                      RESERVED:
                        type: integer
                        format: int64
                        description: Reserved size in KB
                      NUMTABS:
                        type: integer
                        format: int32
                        description: Number of user tables
                      TABDATA:
                        type: integer
                        format: int64
                        description: Data size in KB
                      NUMINDS:
                        type: integer
                        format: int32
                        description: Number of indexes of user tables
                      INDDATA:
                        type: integer
                        format: int64
                        description: Index size in KB
                      UNUSED:
                        type: integer
                        format: int64
                        description: Unused size in KB
                      NUMPROCS:
                        type: integer
                        format: int32
                        description: Number of stored procedures created in DBI
                DBSZHIST_LIST_W:
                  type: array
                  items:
                    type: object
                    properties:
                      DATE:
                        type: string
                        format: date
                        description: Date
                      TIME:
                        type: string
                        maxLength: 6
                        description: Time
                      DBNAME:
                        type: string
                        maxLength: 128
                        description: Database name
                      DB_SIZE:
                        type: integer
                        format: int64
                        description: Database size in MB
                      DB_ALLOC:
                        type: integer
                        format: int64
                        description: Allocated space in database in MB
                      LOG_SIZE:
                        type: integer
                        format: int64
                        description: Log size in MB
                      LOG_ALLOC:
                        type: integer
                        format: int64
                        description: Allocated space in log in MB
                      RESERVED:
                        type: integer
                        format: int64
                        description: Reserved size in KB
                      NUMTABS:
                        type: integer
                        format: int32
                        description: Number of user tables
                      TABDATA:
                        type: integer
                        format: int64
                        description: Data size in KB
                      NUMINDS:
                        type: integer
                        format: int32
                        description: Number of indexes of user tables
                      INDDATA:
                        type: integer
                        format: int64
                        description: Index size in KB
                      UNUSED:
                        type: integer
                        format: int64
                        description: Unused size in KB
                      NUMPROCS:
                        type: integer
                        format: int32
                        description: Number of stored procedures created in DBI
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DBSZHIST_LIST_D:
                    type: array
                    items:
                      type: object
                      properties:
                        DATE:
                          type: string
                          format: date
                          description: Date
                        TIME:
                          type: string
                          maxLength: 6
                          description: Time
                        DBNAME:
                          type: string
                          maxLength: 128
                          description: Database name
                        DB_SIZE:
                          type: integer
                          format: int64
                          description: Database size in MB
                        DB_ALLOC:
                          type: integer
                          format: int64
                          description: Allocated space in database in MB
                        LOG_SIZE:
                          type: integer
                          format: int64
                          description: Log size in MB
                        LOG_ALLOC:
                          type: integer
                          format: int64
                          description: Allocated space in log in MB
                        RESERVED:
                          type: integer
                          format: int64
                          description: Reserved size in KB
                        NUMTABS:
                          type: integer
                          format: int32
                          description: Number of user tables
                        TABDATA:
                          type: integer
                          format: int64
                          description: Data size in KB
                        NUMINDS:
                          type: integer
                          format: int32
                          description: Number of indexes of user tables
                        INDDATA:
                          type: integer
                          format: int64
                          description: Index size in KB
                        UNUSED:
                          type: integer
                          format: int64
                          description: Unused size in KB
                        NUMPROCS:
                          type: integer
                          format: int32
                          description: Number of stored procedures created in DBI
                  DBSZHIST_LIST_M:
                    type: array
                    items:
                      type: object
                      properties:
                        DATE:
                          type: string
                          format: date
                          description: Date
                        TIME:
                          type: string
                          maxLength: 6
                          description: Time
                        DBNAME:
                          type: string
                          maxLength: 128
                          description: Database name
                        DB_SIZE:
                          type: integer
                          format: int64
                          description: Database size in MB
                        DB_ALLOC:
                          type: integer
                          format: int64
                          description: Allocated space in database in MB
                        LOG_SIZE:
                          type: integer
                          format: int64
                          description: Log size in MB
                        LOG_ALLOC:
                          type: integer
                          format: int64
                          description: Allocated space in log in MB
                        RESERVED:
                          type: integer
                          format: int64
                          description: Reserved size in KB
                        NUMTABS:
                          type: integer
                          format: int32
                          description: Number of user tables
                        TABDATA:
                          type: integer
                          format: int64
                          description: Data size in KB
                        NUMINDS:
                          type: integer
                          format: int32
                          description: Number of indexes of user tables
                        INDDATA:
                          type: integer
                          format: int64
                          description: Index size in KB
                        UNUSED:
                          type: integer
                          format: int64
                          description: Unused size in KB
                        NUMPROCS:
                          type: integer
                          format: int32
                          description: Number of stored procedures created in DBI
                  DBSZHIST_LIST_W:
                    type: array
                    items:
                      type: object
                      properties:
                        DATE:
                          type: string
                          format: date
                          description: Date
                        TIME:
                          type: string
                          maxLength: 6
                          description: Time
                        DBNAME:
                          type: string
                          maxLength: 128
                          description: Database name
                        DB_SIZE:
                          type: integer
                          format: int64
                          description: Database size in MB
                        DB_ALLOC:
                          type: integer
                          format: int64
                          description: Allocated space in database in MB
                        LOG_SIZE:
                          type: integer
                          format: int64
                          description: Log size in MB
                        LOG_ALLOC:
                          type: integer
                          format: int64
                          description: Allocated space in log in MB
                        RESERVED:
                          type: integer
                          format: int64
                          description: Reserved size in KB
                        NUMTABS:
                          type: integer
                          format: int32
                          description: Number of user tables
                        TABDATA:
                          type: integer
                          format: int64
                          description: Data size in KB
                        NUMINDS:
                          type: integer
                          format: int32
                          description: Number of indexes of user tables
                        INDDATA:
                          type: integer
                          format: int64
                          description: Index size in KB
                        UNUSED:
                          type: integer
                          format: int64
                          description: Unused size in KB
                        NUMPROCS:
                          type: integer
                          format: int32
                          description: Number of stored procedures created in DBI
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
