openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB_ORA_TABLESPACE_HISTORY:
    post:
      tags:
      - STD1
      operationId: /rfc/DB_ORA_TABLESPACE_HISTORY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SELECT_DAYS_WEEKS_OR_MONTHS:
                  type: string
                  default: WEEKS
                  maxLength: 6
                HIST1:
                  type: array
                  items:
                    type: object
                    properties:
                      DATE_:
                        type: string
                        format: date
                        description: Date
                      TIME_:
                        type: string
                        maxLength: 6
                        description: Time
                      TS:
                        type: string
                        maxLength: 30
                        description: Name of tablespace
                      TSIZE:
                        type: integer
                        format: int64
                        description: Size of Tablespace
                      TFREE:
                        type: integer
                        format: int64
                        description: Freespace
                      TUSED:
                        type: integer
                        format: int64
                        description: Used
                      TPCTUSED:
                        type: integer
                        format: int32
                        description: Used percentage of tablespace memory
                      TEXTENTS:
                        type: integer
                        format: int32
                        description: Total number of extents in a tablespace
                      TSEGMENTS:
                        type: integer
                        format: int32
                        description: Number of segments
                SUM_1:
                  type: array
                  items:
                    type: object
                    properties:
                      TS:
                        type: string
                        maxLength: 30
                        description: Name of tablespace
                      TSIZE:
                        type: integer
                        format: int64
                        description: Size of Tablespace
                      TFREE:
                        type: integer
                        format: int64
                        description: Freespace
                      TUSED:
                        type: integer
                        format: int64
                        description: Used
                      TPCTUSED:
                        type: integer
                        format: int64
                        description: .
                      TEXTENTS:
                        type: integer
                        format: int64
                        description: .
                      TSEGMENTS:
                        type: integer
                        format: int64
                        description: .
                      D_TSIZE:
                        type: integer
                        format: int64
                        description: .
                      D_TFREE:
                        type: integer
                        format: int64
                        description: .
                      D_TUSED:
                        type: integer
                        format: int64
                        description: .
                      D_TPCTUSED:
                        type: integer
                        format: int64
                        description: .
                      D_TEXTENTS:
                        type: integer
                        format: int64
                        description: .
                      D_TSEGMENT:
                        type: integer
                        format: int64
                        description: .
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  HIST1:
                    type: array
                    items:
                      type: object
                      properties:
                        DATE_:
                          type: string
                          format: date
                          description: Date
                        TIME_:
                          type: string
                          maxLength: 6
                          description: Time
                        TS:
                          type: string
                          maxLength: 30
                          description: Name of tablespace
                        TSIZE:
                          type: integer
                          format: int64
                          description: Size of Tablespace
                        TFREE:
                          type: integer
                          format: int64
                          description: Freespace
                        TUSED:
                          type: integer
                          format: int64
                          description: Used
                        TPCTUSED:
                          type: integer
                          format: int32
                          description: Used percentage of tablespace memory
                        TEXTENTS:
                          type: integer
                          format: int32
                          description: Total number of extents in a tablespace
                        TSEGMENTS:
                          type: integer
                          format: int32
                          description: Number of segments
                  SUM_1:
                    type: array
                    items:
                      type: object
                      properties:
                        TS:
                          type: string
                          maxLength: 30
                          description: Name of tablespace
                        TSIZE:
                          type: integer
                          format: int64
                          description: Size of Tablespace
                        TFREE:
                          type: integer
                          format: int64
                          description: Freespace
                        TUSED:
                          type: integer
                          format: int64
                          description: Used
                        TPCTUSED:
                          type: integer
                          format: int64
                          description: .
                        TEXTENTS:
                          type: integer
                          format: int64
                          description: .
                        TSEGMENTS:
                          type: integer
                          format: int64
                          description: .
                        D_TSIZE:
                          type: integer
                          format: int64
                          description: .
                        D_TFREE:
                          type: integer
                          format: int64
                          description: .
                        D_TUSED:
                          type: integer
                          format: int64
                          description: .
                        D_TPCTUSED:
                          type: integer
                          format: int64
                          description: .
                        D_TEXTENTS:
                          type: integer
                          format: int64
                          description: .
                        D_TSEGMENT:
                          type: integer
                          format: int64
                          description: .
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
