openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB02_GET_TSSIZE_DYNAMICS_DB2:
    post:
      tags:
      - DB02_DB2
      operationId: /rfc/DB02_GET_TSSIZE_DYNAMICS_DB2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PARTITION_DYNAMICS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 8
                        description: Name of the tablespace
                      DBNAME:
                        type: string
                        maxLength: 8
                        description: Database name
                      PARTITIONS:
                        type: integer
                        format: int32
                        description: Number of partitions of a tablespace or index
                      PART:
                        type: integer
                        format: int32
                        description: Partition number
                      EXTENTS:
                        type: integer
                        format: int64
                        description: Total number of extents of a tablespace or index
                      D_EXTENTS:
                        type: integer
                        format: int64
                        description: 'Number of extents: change per day'
                      W_EXTENTS:
                        type: integer
                        format: int64
                        description: 'Number of extents: change per week'
                      M_EXTENTS:
                        type: integer
                        format: int64
                        description: 'Number of extents: change per month'
                      ALLOCSIZE:
                        type: integer
                        format: int64
                        description: Total size of a tablespace (allocated storage in KB)
                      D_ALLOCSIZ:
                        type: integer
                        format: int64
                        description: 'Allocated storage in KB: change per day'
                      W_ALLOCSIZ:
                        type: integer
                        format: int64
                        description: 'Allocated storage in KB: change per week'
                      M_ALLOCSIZ:
                        type: integer
                        format: int64
                        description: 'Allocated storage in KB: change per month'
                      FREESIZE:
                        type: integer
                        format: int64
                        description: Free size of a tablespace in KB (allocated minus used stor.)
                      D_FREESIZ:
                        type: integer
                        format: int64
                        description: 'Free storage (allocated minus used) in KB: change per day'
                      W_FREESIZ:
                        type: integer
                        format: int64
                        description: 'Free storage (allocated minus used) in KB: change per week'
                      M_FREESIZ:
                        type: integer
                        format: int64
                        description: 'Free storage (allocated minus used) in KB: change per month'
                TABLESPACE_DYNAMICS_OLD:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 8
                        description: Name of the tablespace
                      DBNAME:
                        type: string
                        maxLength: 8
                        description: Database name
                      PARTITIONS:
                        type: integer
                        format: int32
                        description: Number of partitions of a tablespace or index
                      PART:
                        type: integer
                        format: int32
                        description: Partition number
                      EXTENTS:
                        type: integer
                        format: int64
                        description: Total number of extents of a tablespace or index
                      D_EXTENTS:
                        type: integer
                        format: int64
                        description: 'Number of extents: change per day'
                      W_EXTENTS:
                        type: integer
                        format: int64
                        description: 'Number of extents: change per week'
                      M_EXTENTS:
                        type: integer
                        format: int64
                        description: 'Number of extents: change per month'
                      ALLOCSIZE:
                        type: integer
                        format: int64
                        description: Total size of a tablespace (allocated storage in KB)
                      D_ALLOCSIZ:
                        type: integer
                        format: int64
                        description: 'Allocated storage in KB: change per day'
                      W_ALLOCSIZ:
                        type: integer
                        format: int64
                        description: 'Allocated storage in KB: change per week'
                      M_ALLOCSIZ:
                        type: integer
                        format: int64
                        description: 'Allocated storage in KB: change per month'
                      FREESIZE:
                        type: integer
                        format: int64
                        description: Free size of a tablespace in KB (allocated minus used stor.)
                      D_FREESIZ:
                        type: integer
                        format: int64
                        description: 'Free storage (allocated minus used) in KB: change per day'
                      W_FREESIZ:
                        type: integer
                        format: int64
                        description: 'Free storage (allocated minus used) in KB: change per week'
                      M_FREESIZ:
                        type: integer
                        format: int64
                        description: 'Free storage (allocated minus used) in KB: change per month'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  HISTORY_RANGE:
                    type: object
                    properties:
                      FIRSTDAY:
                        type: string
                        format: date
                        description: First day in tablespace history
                      LASTDAY:
                        type: string
                        format: date
                        description: Last day in tablespace history
                      ANZDAYS:
                        type: integer
                        format: int32
                        description: Number of days covered
                      FIRSTWEEK:
                        type: string
                        format: date
                        description: First week in tablespace history
                      LASTWEEK:
                        type: string
                        format: date
                        description: Last week in tablespace history
                      ANZWEEKS:
                        type: integer
                        format: int32
                        description: Number of weeks covered
                      FIRSTMONTH:
                        type: string
                        format: date
                        description: First month in tablespace history
                      LASTMONTH:
                        type: string
                        format: date
                        description: Last month in tablespace history
                      ANZMONTHS:
                        type: integer
                        format: int32
                        description: Number of months covered
                  PARTITION_DYNAMICS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 8
                          description: Name of the tablespace
                        DBNAME:
                          type: string
                          maxLength: 8
                          description: Database name
                        PARTITIONS:
                          type: integer
                          format: int32
                          description: Number of partitions of a tablespace or index
                        PART:
                          type: integer
                          format: int32
                          description: Partition number
                        EXTENTS:
                          type: integer
                          format: int64
                          description: Total number of extents of a tablespace or index
                        D_EXTENTS:
                          type: integer
                          format: int64
                          description: 'Number of extents: change per day'
                        W_EXTENTS:
                          type: integer
                          format: int64
                          description: 'Number of extents: change per week'
                        M_EXTENTS:
                          type: integer
                          format: int64
                          description: 'Number of extents: change per month'
                        ALLOCSIZE:
                          type: integer
                          format: int64
                          description: Total size of a tablespace (allocated storage in KB)
                        D_ALLOCSIZ:
                          type: integer
                          format: int64
                          description: 'Allocated storage in KB: change per day'
                        W_ALLOCSIZ:
                          type: integer
                          format: int64
                          description: 'Allocated storage in KB: change per week'
                        M_ALLOCSIZ:
                          type: integer
                          format: int64
                          description: 'Allocated storage in KB: change per month'
                        FREESIZE:
                          type: integer
                          format: int64
                          description: Free size of a tablespace in KB (allocated minus used stor.)
                        D_FREESIZ:
                          type: integer
                          format: int64
                          description: 'Free storage (allocated minus used) in KB: change per day'
                        W_FREESIZ:
                          type: integer
                          format: int64
                          description: 'Free storage (allocated minus used) in KB: change per week'
                        M_FREESIZ:
                          type: integer
                          format: int64
                          description: 'Free storage (allocated minus used) in KB: change per month'
                  TABLESPACE_DYNAMICS_OLD:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 8
                          description: Name of the tablespace
                        DBNAME:
                          type: string
                          maxLength: 8
                          description: Database name
                        PARTITIONS:
                          type: integer
                          format: int32
                          description: Number of partitions of a tablespace or index
                        PART:
                          type: integer
                          format: int32
                          description: Partition number
                        EXTENTS:
                          type: integer
                          format: int64
                          description: Total number of extents of a tablespace or index
                        D_EXTENTS:
                          type: integer
                          format: int64
                          description: 'Number of extents: change per day'
                        W_EXTENTS:
                          type: integer
                          format: int64
                          description: 'Number of extents: change per week'
                        M_EXTENTS:
                          type: integer
                          format: int64
                          description: 'Number of extents: change per month'
                        ALLOCSIZE:
                          type: integer
                          format: int64
                          description: Total size of a tablespace (allocated storage in KB)
                        D_ALLOCSIZ:
                          type: integer
                          format: int64
                          description: 'Allocated storage in KB: change per day'
                        W_ALLOCSIZ:
                          type: integer
                          format: int64
                          description: 'Allocated storage in KB: change per week'
                        M_ALLOCSIZ:
                          type: integer
                          format: int64
                          description: 'Allocated storage in KB: change per month'
                        FREESIZE:
                          type: integer
                          format: int64
                          description: Free size of a tablespace in KB (allocated minus used stor.)
                        D_FREESIZ:
                          type: integer
                          format: int64
                          description: 'Free storage (allocated minus used) in KB: change per day'
                        W_FREESIZ:
                          type: integer
                          format: int64
                          description: 'Free storage (allocated minus used) in KB: change per week'
                        M_FREESIZ:
                          type: integer
                          format: int64
                          description: 'Free storage (allocated minus used) in KB: change per month'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
