openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_FSCONFIG:
    post:
      tags:
      - SDB6PM
      summary: 'DB6: Get File System Configuration'
      operationId: /rfc/DB6_PM_FSCONFIG
      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
                PATHNAME:
                  type: string
                  maxLength: 255
                  description: 'DB6: file path'
                IT_DB6PMCF:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPTIME:
                        type: string
                        maxLength: 14
                        description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                      PARTITN:
                        type: integer
                        format: int32
                        description: Partition Number
                      FS_NAME:
                        type: string
                        maxLength: 200
                        description: 'fs_name: File System Name'
                      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: 'DB2 Universal Database: General identifier'
                      FREE_KB:
                        type: integer
                        format: int64
                        description: 'free_kb: Free Space (KB)'
                      USED_KB:
                        type: integer
                        format: int64
                        description: used_kb Integer
                      TOTAL_KB:
                        type: integer
                        format: int64
                        description: total_kb
                      NUM_IUSED:
                        type: integer
                        format: int64
                        description: num_iused
                      PCT_IUSED:
                        type: integer
                        format: int32
                        description: pct_iused
              required:
              - ACTION
              - CALLERFLAG
              - PARTITN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6PMCF:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPTIME:
                          type: string
                          maxLength: 14
                          description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                        PARTITN:
                          type: integer
                          format: int32
                          description: Partition Number
                        FS_NAME:
                          type: string
                          maxLength: 200
                          description: 'fs_name: File System Name'
                        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: 'DB2 Universal Database: General identifier'
                        FREE_KB:
                          type: integer
                          format: int64
                          description: 'free_kb: Free Space (KB)'
                        USED_KB:
                          type: integer
                          format: int64
                          description: used_kb Integer
                        TOTAL_KB:
                          type: integer
                          format: int64
                          description: total_kb
                        NUM_IUSED:
                          type: integer
                          format: int64
                          description: num_iused
                        PCT_IUSED:
                          type: integer
                          format: int32
                          description: pct_iused
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
