openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB02_GET_IXSIZES_DB2:
    post:
      tags:
      - DB02_DB2
      operationId: /rfc/DB02_GET_IXSIZES_DB2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INDEXPART_SIZE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      IXNAME:
                        type: string
                        maxLength: 18
                        description: Name of a DB2 for OS/390 index
                      IXCREATOR:
                        type: string
                        maxLength: 8
                        description: DB2 creator name
                      IXSPACE:
                        type: string
                        maxLength: 8
                        description: Name of the indexspace that contains the index
                      DBNAME:
                        type: string
                        maxLength: 8
                        description: Database name
                      PART:
                        type: integer
                        format: int32
                        description: Partition number
                      DSNAME:
                        type: string
                        maxLength: 44
                        description: Dataset name
                      EXTENTS:
                        type: integer
                        format: int64
                        description: Number of extents of a partition of a tablespace or index
                      ALLOCSIZE:
                        type: integer
                        format: int64
                        description: Allocated storage of a partition of an index in KB
                      FREESIZE:
                        type: integer
                        format: int64
                        description: Free size of an index partition in KB
                      PCTUSED:
                        type: integer
                        format: int64
                        description: Percentage of used to alloc. size of a partition of an IX
                      PQTY:
                        type: integer
                        format: int32
                        description: Primary space allocation
                      SQTY:
                        type: integer
                        format: int32
                        description: Secondary space allocation
                      QTYUNIT:
                        type: string
                        maxLength: 8
                        description: 'Unit in which primary and secondary allocation are given  enumValues: CYLINDER=Cylinder,MEGABYTE=Megabyte,KILOBYTE=Kilobyte,TRACK=Track'
                        enum:
                        - CYLINDER
                        - MEGABYTE
                        - KILOBYTE
                        - TRACK
                      STORDATE:
                        type: string
                        format: date
                        description: Date when the storage information has been collected
                      STORTIME:
                        type: string
                        maxLength: 6
                        description: Time when the storage information has been collected
                INDEX_DATASET_SIZE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      IXNAME:
                        type: string
                        maxLength: 18
                        description: Name of a DB2 for OS/390 index
                      IXCREATOR:
                        type: string
                        maxLength: 8
                        description: DB2 creator name
                      IXSPACE:
                        type: string
                        maxLength: 8
                        description: Name of the indexspace that contains the index
                      DBNAME:
                        type: string
                        maxLength: 8
                        description: Database name
                      DSNAME:
                        type: string
                        maxLength: 44
                        description: Dataset name
                      EXTENTS:
                        type: integer
                        format: int64
                        description: Total number of extents of a tablespace or index
                      ALLOCSIZE:
                        type: integer
                        format: int64
                        description: Total size of an index (allocated storage in KB)
                      FREESIZE:
                        type: integer
                        format: int64
                        description: Free size of an index in KB (allocated minus used storage)
                      PCTUSED:
                        type: integer
                        format: int64
                        description: Percentage of used size to allocated size of an index
                      PQTY:
                        type: integer
                        format: int32
                        description: Primary space allocation
                      SQTY:
                        type: integer
                        format: int32
                        description: Secondary space allocation
                      QTYUNIT:
                        type: string
                        maxLength: 8
                        description: 'Unit in which primary and secondary allocation are given  enumValues: CYLINDER=Cylinder,MEGABYTE=Megabyte,KILOBYTE=Kilobyte,TRACK=Track'
                        enum:
                        - CYLINDER
                        - MEGABYTE
                        - KILOBYTE
                        - TRACK
                      STORDATE:
                        type: string
                        format: date
                        description: Date when the storage information has been collected
                      STORTIME:
                        type: string
                        maxLength: 6
                        description: Time when the storage information has been collected
                INDEX_SIZE_LIST_NEW:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 18
                        description: Name of a DB2 for OS/390 index
                      CREATOR:
                        type: string
                        maxLength: 8
                        description: DB2 creator name
                      IXSPACE:
                        type: string
                        maxLength: 8
                        description: Name of the indexspace that contains the index
                      DBNAME:
                        type: string
                        maxLength: 8
                        description: Database name
                      PARTITIONS:
                        type: integer
                        format: int32
                        description: Number of partitions of a tablespace or index
                      TBNAME:
                        type: string
                        maxLength: 18
                        description: Name of the table on which the index is defined
                      TBCREATOR:
                        type: string
                        maxLength: 8
                        description: Authorization ID of the owner of the table
                      DSNAME:
                        type: string
                        maxLength: 44
                        description: Dataset name
                      EXTENTS:
                        type: integer
                        format: int64
                        description: Total number of extents of a tablespace or index
                      ALLOCSIZE:
                        type: integer
                        format: int64
                        description: Total size of an index (allocated storage in KB)
                      FREESIZE:
                        type: integer
                        format: int64
                        description: Free size of an index in KB (allocated minus used storage)
                      PCTUSED:
                        type: integer
                        format: int64
                        description: Percentage of used size to allocated size of an index
                      MAXEXTENTS:
                        type: integer
                        format: int32
                        description: Maximum number of extents of a partition of the TS or IX
                      PQTY:
                        type: integer
                        format: int32
                        description: Primary space allocation
                      SQTY:
                        type: integer
                        format: int32
                        description: Secondary space allocation
                      QTYUNIT:
                        type: string
                        maxLength: 8
                        description: 'Unit in which primary and secondary allocation are given  enumValues: CYLINDER=Cylinder,MEGABYTE=Megabyte,KILOBYTE=Kilobyte,TRACK=Track'
                        enum:
                        - CYLINDER
                        - MEGABYTE
                        - KILOBYTE
                        - TRACK
                      STORDATE:
                        type: string
                        format: date
                        description: Date when the storage information has been collected
                      STORTIME:
                        type: string
                        maxLength: 6
                        description: Time when the storage information has been collected
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DATE_OF_ANALYSIS:
                    type: string
                    format: date
                  TIME_OF_ANALYSIS:
                    type: string
                    maxLength: 6
                  INDEXPART_SIZE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        IXNAME:
                          type: string
                          maxLength: 18
                          description: Name of a DB2 for OS/390 index
                        IXCREATOR:
                          type: string
                          maxLength: 8
                          description: DB2 creator name
                        IXSPACE:
                          type: string
                          maxLength: 8
                          description: Name of the indexspace that contains the index
                        DBNAME:
                          type: string
                          maxLength: 8
                          description: Database name
                        PART:
                          type: integer
                          format: int32
                          description: Partition number
                        DSNAME:
                          type: string
                          maxLength: 44
                          description: Dataset name
                        EXTENTS:
                          type: integer
                          format: int64
                          description: Number of extents of a partition of a tablespace or index
                        ALLOCSIZE:
                          type: integer
                          format: int64
                          description: Allocated storage of a partition of an index in KB
                        FREESIZE:
                          type: integer
                          format: int64
                          description: Free size of an index partition in KB
                        PCTUSED:
                          type: integer
                          format: int64
                          description: Percentage of used to alloc. size of a partition of an IX
                        PQTY:
                          type: integer
                          format: int32
                          description: Primary space allocation
                        SQTY:
                          type: integer
                          format: int32
                          description: Secondary space allocation
                        QTYUNIT:
                          type: string
                          maxLength: 8
                          description: 'Unit in which primary and secondary allocation are given  enumValues: CYLINDER=Cylinder,MEGABYTE=Megabyte,KILOBYTE=Kilobyte,TRACK=Track'
                          enum:
                          - CYLINDER
                          - MEGABYTE
                          - KILOBYTE
                          - TRACK
                        STORDATE:
                          type: string
                          format: date
                          description: Date when the storage information has been collected
                        STORTIME:
                          type: string
                          maxLength: 6
                          description: Time when the storage information has been collected
                  INDEX_DATASET_SIZE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        IXNAME:
                          type: string
                          maxLength: 18
                          description: Name of a DB2 for OS/390 index
                        IXCREATOR:
                          type: string
                          maxLength: 8
                          description: DB2 creator name
                        IXSPACE:
                          type: string
                          maxLength: 8
                          description: Name of the indexspace that contains the index
                        DBNAME:
                          type: string
                          maxLength: 8
                          description: Database name
                        DSNAME:
                          type: string
                          maxLength: 44
                          description: Dataset name
                        EXTENTS:
                          type: integer
                          format: int64
                          description: Total number of extents of a tablespace or index
                        ALLOCSIZE:
                          type: integer
                          format: int64
                          description: Total size of an index (allocated storage in KB)
                        FREESIZE:
                          type: integer
                          format: int64
                          description: Free size of an index in KB (allocated minus used storage)
                        PCTUSED:
                          type: integer
                          format: int64
                          description: Percentage of used size to allocated size of an index
                        PQTY:
                          type: integer
                          format: int32
                          description: Primary space allocation
                        SQTY:
                          type: integer
                          format: int32
                          description: Secondary space allocation
                        QTYUNIT:
                          type: string
                          maxLength: 8
                          description: 'Unit in which primary and secondary allocation are given  enumValues: CYLINDER=Cylinder,MEGABYTE=Megabyte,KILOBYTE=Kilobyte,TRACK=Track'
                          enum:
                          - CYLINDER
                          - MEGABYTE
                          - KILOBYTE
                          - TRACK
                        STORDATE:
                          type: string
                          format: date
                          description: Date when the storage information has been collected
                        STORTIME:
                          type: string
                          maxLength: 6
                          description: Time when the storage information has been collected
                  INDEX_SIZE_LIST_NEW:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 18
                          description: Name of a DB2 for OS/390 index
                        CREATOR:
                          type: string
                          maxLength: 8
                          description: DB2 creator name
                        IXSPACE:
                          type: string
                          maxLength: 8
                          description: Name of the indexspace that contains the index
                        DBNAME:
                          type: string
                          maxLength: 8
                          description: Database name
                        PARTITIONS:
                          type: integer
                          format: int32
                          description: Number of partitions of a tablespace or index
                        TBNAME:
                          type: string
                          maxLength: 18
                          description: Name of the table on which the index is defined
                        TBCREATOR:
                          type: string
                          maxLength: 8
                          description: Authorization ID of the owner of the table
                        DSNAME:
                          type: string
                          maxLength: 44
                          description: Dataset name
                        EXTENTS:
                          type: integer
                          format: int64
                          description: Total number of extents of a tablespace or index
                        ALLOCSIZE:
                          type: integer
                          format: int64
                          description: Total size of an index (allocated storage in KB)
                        FREESIZE:
                          type: integer
                          format: int64
                          description: Free size of an index in KB (allocated minus used storage)
                        PCTUSED:
                          type: integer
                          format: int64
                          description: Percentage of used size to allocated size of an index
                        MAXEXTENTS:
                          type: integer
                          format: int32
                          description: Maximum number of extents of a partition of the TS or IX
                        PQTY:
                          type: integer
                          format: int32
                          description: Primary space allocation
                        SQTY:
                          type: integer
                          format: int32
                          description: Secondary space allocation
                        QTYUNIT:
                          type: string
                          maxLength: 8
                          description: 'Unit in which primary and secondary allocation are given  enumValues: CYLINDER=Cylinder,MEGABYTE=Megabyte,KILOBYTE=Kilobyte,TRACK=Track'
                          enum:
                          - CYLINDER
                          - MEGABYTE
                          - KILOBYTE
                          - TRACK
                        STORDATE:
                          type: string
                          format: date
                          description: Date when the storage information has been collected
                        STORTIME:
                          type: string
                          maxLength: 6
                          description: Time when the storage information has been collected
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
