openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_CONTCONFIG:
    post:
      tags:
      - SDB6PM
      summary: 'DB6: Get Container Configuration'
      operationId: /rfc/DB6_PM_CONTCONFIG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION:
                  type: integer
                  format: int32
                CALLERFLAG:
                  type: string
                  maxLength: 1
                  description: Who Has Called this Program
                COMPTIME:
                  type: string
                  maxLength: 14
                  description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                PARTITN:
                  type: integer
                  format: int32
                  description: Partition Number
                IT_DB6PMCR:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPTIME:
                        type: string
                        maxLength: 14
                        description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                      PARTITN:
                        type: integer
                        format: int32
                        description: Partition Number
                      TBS_ID:
                        type: integer
                        format: int64
                        description: 'tbsid: Tablespace ID'
                      CONT_ID:
                        type: integer
                        format: int64
                        description: 'id: Container ID'
                      CALLERFLAG:
                        type: string
                        maxLength: 1
                        description: Who Has Called this Program
                      DBMSTRTTME:
                        type: string
                        maxLength: 14
                        description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                      PRGVERS:
                        type: string
                        maxLength: 20
                        description: Version of Program Inserted this Row
                      NUM_TBS:
                        type: integer
                        format: int64
                        description: 'ntbs: Number of Tablespaces Sharing this Container'
                      CONT_NAME:
                        type: string
                        maxLength: 255
                        description: 'DB6: File Path'
                      CONTTYPE:
                        type: string
                        maxLength: 50
                        description: 'conttype: Container Type, for Example Path, Disk, or File'
                      TOTALPAGES:
                        type: integer
                        format: int64
                        description: 'totalpages: Total Pages'
                      USABLEPGS:
                        type: integer
                        format: int64
                        description: 'useablepages: Total Pages Minus Overhead'
                      CONT_OK:
                        type: string
                        maxLength: 10
                        description: 'ok: Is the Container Accessible?'
                      STRIPE_SET:
                        type: integer
                        format: int64
                        description: Stripe Set ID
                      TBSP_NAME:
                        type: string
                        maxLength: 30
                        description: 'DB6: Tablespace Name'
                      FS_ID:
                        type: string
                        maxLength: 22
                        description: ''
                      FS_TOTAL_SIZE:
                        type: integer
                        format: int64
                        description: Filesystem Total Size in KB
                      FS_USED_SIZE:
                        type: integer
                        format: int64
                        description: Filesystem Used Size in KB
              required:
              - ACTION
              - CALLERFLAG
              - PARTITN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6PMCR:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPTIME:
                          type: string
                          maxLength: 14
                          description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                        PARTITN:
                          type: integer
                          format: int32
                          description: Partition Number
                        TBS_ID:
                          type: integer
                          format: int64
                          description: 'tbsid: Tablespace ID'
                        CONT_ID:
                          type: integer
                          format: int64
                          description: 'id: Container ID'
                        CALLERFLAG:
                          type: string
                          maxLength: 1
                          description: Who Has Called this Program
                        DBMSTRTTME:
                          type: string
                          maxLength: 14
                          description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                        PRGVERS:
                          type: string
                          maxLength: 20
                          description: Version of Program Inserted this Row
                        NUM_TBS:
                          type: integer
                          format: int64
                          description: 'ntbs: Number of Tablespaces Sharing this Container'
                        CONT_NAME:
                          type: string
                          maxLength: 255
                          description: 'DB6: File Path'
                        CONTTYPE:
                          type: string
                          maxLength: 50
                          description: 'conttype: Container Type, for Example Path, Disk, or File'
                        TOTALPAGES:
                          type: integer
                          format: int64
                          description: 'totalpages: Total Pages'
                        USABLEPGS:
                          type: integer
                          format: int64
                          description: 'useablepages: Total Pages Minus Overhead'
                        CONT_OK:
                          type: string
                          maxLength: 10
                          description: 'ok: Is the Container Accessible?'
                        STRIPE_SET:
                          type: integer
                          format: int64
                          description: Stripe Set ID
                        TBSP_NAME:
                          type: string
                          maxLength: 30
                          description: 'DB6: Tablespace Name'
                        FS_ID:
                          type: string
                          maxLength: 22
                          description: ''
                        FS_TOTAL_SIZE:
                          type: integer
                          format: int64
                          description: Filesystem Total Size in KB
                        FS_USED_SIZE:
                          type: integer
                          format: int64
                          description: Filesystem Used Size in KB
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
