openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB02_UPDATE_SQTY_DB2:
    post:
      tags:
      - DB02_DB2
      operationId: /rfc/DB02_UPDATE_SQTY_DB2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MARKED_ONLY:
                  type: string
                  maxLength: 1
                EXTENT_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      MARKER:
                        type: string
                        maxLength: 1
                        description: Marker for table control
                      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: Partition number
                      EXTENTS:
                        type: integer
                        format: int32
                        description: Number of extents of the dataset
                      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
                      CURR_SQTY:
                        type: integer
                        format: int32
                        description: Current value (KB) of secondary quantity from catalog
                      NEW_SQTY:
                        type: integer
                        format: int32
                        description: Target value of secondary quantity (KB)
                      ALTER_FLAG:
                        type: string
                        maxLength: 1
                        description: Whether object has just been ALTERed
              required:
              - MARKED_ONLY
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EXTENT_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        MARKER:
                          type: string
                          maxLength: 1
                          description: Marker for table control
                        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: Partition number
                        EXTENTS:
                          type: integer
                          format: int32
                          description: Number of extents of the dataset
                        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
                        CURR_SQTY:
                          type: integer
                          format: int32
                          description: Current value (KB) of secondary quantity from catalog
                        NEW_SQTY:
                          type: integer
                          format: int32
                          description: Target value of secondary quantity (KB)
                        ALTER_FLAG:
                          type: string
                          maxLength: 1
                          description: Whether object has just been ALTERed
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
