openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB_INF_DBSPACES_HISTORY:
    post:
      tags:
      - STD2
      operationId: /rfc/DB_INF_DBSPACES_HISTORY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FILL_LEVEL_MIN:
                  type: integer
                  format: int32
                  default: 0
                SCALE:
                  type: string
                  default: W
                  maxLength: 1
                DBWEEKCHG:
                  type: array
                  items:
                    type: object
                    properties:
                      DBSNAME:
                        type: string
                        maxLength: 18
                        description: DBSpace Name
                      DATE:
                        type: string
                        format: date
                        description: Date
                      TOTAL:
                        type: integer
                        format: int32
                        description: Total Size of DBSpace  (KB)
                      D_TOTAL:
                        type: integer
                        format: int32
                        description: Weekly Change in Total DBSpace size (KB)
                      FREE:
                        type: integer
                        format: int32
                        description: Free Space in DBSpace (KB)
                      USED:
                        type: integer
                        format: int32
                        description: DBSpace Used (KB)
                      D_USED:
                        type: integer
                        format: int32
                        description: Weekly Change of Used DBSpace (KB)
                      PCTUSED:
                        type: integer
                        format: int32
                        description: Percent of space used
                      D_PCTUSED:
                        type: integer
                        format: int32
                        description: Weekly Change of Pct Used DBSpace
                      TABLES:
                        type: integer
                        format: int32
                        description: Number of Tables in DBSpace
                      D_TABLES:
                        type: integer
                        format: int32
                        description: Weekly Change of Number of Tables
                      NEXTNS:
                        type: integer
                        format: int32
                        description: Number of Extents in a Table
                      D_NEXTNS:
                        type: integer
                        format: int32
                        description: Weekly Change of Number of Extents
                DBWEEKSUM:
                  type: array
                  items:
                    type: object
                    properties:
                      DBSNAME:
                        type: string
                        maxLength: 18
                        description: DBSpace Name
                      TOTAL:
                        type: integer
                        format: int32
                        description: Total Size of DBSpace  (KB)
                      D_TOTAL:
                        type: integer
                        format: int32
                        description: Weekly Change in Total DBSpace size (KB)
                      FREE:
                        type: integer
                        format: int32
                        description: Free Space in DBSpace (KB)
                      USED:
                        type: integer
                        format: int32
                        description: DBSpace Used (KB)
                      D_USED:
                        type: integer
                        format: int32
                        description: Weekly Change of Used DBSpace (KB)
                      PCTUSED:
                        type: integer
                        format: int32
                        description: Percent of space used
                      D_PCTUSED:
                        type: integer
                        format: int32
                        description: Weekly Change of Pct Used DBSpace
                      TABLES:
                        type: integer
                        format: int32
                        description: Number of Tables in DBSpace
                      D_TABLES:
                        type: integer
                        format: int32
                        description: Weekly Change of Number of Tables
                      NEXTNS:
                        type: integer
                        format: int32
                        description: Number of Extents in a Table
                      D_NEXTNS:
                        type: integer
                        format: int32
                        description: Weekly Change of Number of Extents
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  END_WEEK:
                    type: string
                    format: date
                  START_WEEK:
                    type: string
                    format: date
                  DBWEEKCHG:
                    type: array
                    items:
                      type: object
                      properties:
                        DBSNAME:
                          type: string
                          maxLength: 18
                          description: DBSpace Name
                        DATE:
                          type: string
                          format: date
                          description: Date
                        TOTAL:
                          type: integer
                          format: int32
                          description: Total Size of DBSpace  (KB)
                        D_TOTAL:
                          type: integer
                          format: int32
                          description: Weekly Change in Total DBSpace size (KB)
                        FREE:
                          type: integer
                          format: int32
                          description: Free Space in DBSpace (KB)
                        USED:
                          type: integer
                          format: int32
                          description: DBSpace Used (KB)
                        D_USED:
                          type: integer
                          format: int32
                          description: Weekly Change of Used DBSpace (KB)
                        PCTUSED:
                          type: integer
                          format: int32
                          description: Percent of space used
                        D_PCTUSED:
                          type: integer
                          format: int32
                          description: Weekly Change of Pct Used DBSpace
                        TABLES:
                          type: integer
                          format: int32
                          description: Number of Tables in DBSpace
                        D_TABLES:
                          type: integer
                          format: int32
                          description: Weekly Change of Number of Tables
                        NEXTNS:
                          type: integer
                          format: int32
                          description: Number of Extents in a Table
                        D_NEXTNS:
                          type: integer
                          format: int32
                          description: Weekly Change of Number of Extents
                  DBWEEKSUM:
                    type: array
                    items:
                      type: object
                      properties:
                        DBSNAME:
                          type: string
                          maxLength: 18
                          description: DBSpace Name
                        TOTAL:
                          type: integer
                          format: int32
                          description: Total Size of DBSpace  (KB)
                        D_TOTAL:
                          type: integer
                          format: int32
                          description: Weekly Change in Total DBSpace size (KB)
                        FREE:
                          type: integer
                          format: int32
                          description: Free Space in DBSpace (KB)
                        USED:
                          type: integer
                          format: int32
                          description: DBSpace Used (KB)
                        D_USED:
                          type: integer
                          format: int32
                          description: Weekly Change of Used DBSpace (KB)
                        PCTUSED:
                          type: integer
                          format: int32
                          description: Percent of space used
                        D_PCTUSED:
                          type: integer
                          format: int32
                          description: Weekly Change of Pct Used DBSpace
                        TABLES:
                          type: integer
                          format: int32
                          description: Number of Tables in DBSpace
                        D_TABLES:
                          type: integer
                          format: int32
                          description: Weekly Change of Number of Tables
                        NEXTNS:
                          type: integer
                          format: int32
                          description: Number of Extents in a Table
                        D_NEXTNS:
                          type: integer
                          format: int32
                          description: Weekly Change of Number of Extents
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
