openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB02_GET_EXTENT_LIST_DB2:
    post:
      tags:
      - DB02_DB2
      operationId: /rfc/DB02_GET_EXTENT_LIST_DB2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATASET_EXTENT_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      SEVERITY:
                        type: integer
                        format: int64
                        description: Severity of an extent alert
                      TYPE:
                        type: string
                        maxLength: 2
                        description: 'Type of object that got an extent alert  enumValues: TS=Tablespace,IX=Index,LB=LOB Tablespace'
                        enum:
                        - TS
                        - IX
                        - LB
                      QUAL1:
                        type: string
                        maxLength: 8
                        description: First part of name qualifiying the object that got ext.alert
                      QUAL2:
                        type: string
                        maxLength: 18
                        description: Sec. part of name qualifiying the object that got ext. alert
                      PARTITION:
                        type: integer
                        format: int32
                        description: Number of partition
                      EXTENTS:
                        type: integer
                        format: int32
                        description: Number of extents
                      LAST_ALTER:
                        type: string
                        format: date
                        description: Date of last ALTER INDEX|TABLESPACE SECQTY
                      EXTENT_OLD:
                        type: integer
                        format: int32
                        description: Number of extents before last ALTER SECQTY
                      EXTENSION:
                        type: string
                        maxLength: 4
                        description: Last qualifier of dataset name of a DB2 tablespace or index
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  HIGH_THRESHOLD:
                    type: integer
                    format: int64
                  LOW_THRESHOLD:
                    type: integer
                    format: int64
                  USING_THRESHOLD_DEFAULTS:
                    type: string
                    maxLength: 1
                  DATASET_EXTENT_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        SEVERITY:
                          type: integer
                          format: int64
                          description: Severity of an extent alert
                        TYPE:
                          type: string
                          maxLength: 2
                          description: 'Type of object that got an extent alert  enumValues: TS=Tablespace,IX=Index,LB=LOB Tablespace'
                          enum:
                          - TS
                          - IX
                          - LB
                        QUAL1:
                          type: string
                          maxLength: 8
                          description: First part of name qualifiying the object that got ext.alert
                        QUAL2:
                          type: string
                          maxLength: 18
                          description: Sec. part of name qualifiying the object that got ext. alert
                        PARTITION:
                          type: integer
                          format: int32
                          description: Number of partition
                        EXTENTS:
                          type: integer
                          format: int32
                          description: Number of extents
                        LAST_ALTER:
                          type: string
                          format: date
                          description: Date of last ALTER INDEX|TABLESPACE SECQTY
                        EXTENT_OLD:
                          type: integer
                          format: int32
                          description: Number of extents before last ALTER SECQTY
                        EXTENSION:
                          type: string
                          maxLength: 4
                          description: Last qualifier of dataset name of a DB2 tablespace or index
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
