openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_FSCONFIG1:
    post:
      tags:
      - SDB6CFG
      summary: 'DB6: Filesystem configuration (Layer 1)'
      operationId: /rfc/DB6_PM_FSCONFIG1
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                PARTITN:
                  type: integer
                  format: int32
                  description: Partition
                IT_DB6PMCF1:
                  type: array
                  items:
                    type: object
                    properties:
                      PARTITN:
                        type: integer
                        format: int32
                        description: Partition
                      FS_NAME:
                        type: string
                        maxLength: 200
                        description: File system name
                      TOTAL_KB:
                        type: integer
                        format: int64
                        description: Total FS size in kb
                      USED_KB:
                        type: integer
                        format: int64
                        description: Used KB
                      PCT_USED:
                        type: integer
                        format: int64
                        description: Percent Used
                      FREE_KB:
                        type: integer
                        format: int64
                        description: Free KB
                      PCT_FREE:
                        type: integer
                        format: int64
                        description: Percent Free
                      NUM_IUSED:
                        type: integer
                        format: int64
                        description: Number of Inodes
                      PCT_IUSED:
                        type: integer
                        format: int32
                        description: Percent Inodes used
              required:
              - PARTITN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6PMCF1:
                    type: array
                    items:
                      type: object
                      properties:
                        PARTITN:
                          type: integer
                          format: int32
                          description: Partition
                        FS_NAME:
                          type: string
                          maxLength: 200
                          description: File system name
                        TOTAL_KB:
                          type: integer
                          format: int64
                          description: Total FS size in kb
                        USED_KB:
                          type: integer
                          format: int64
                          description: Used KB
                        PCT_USED:
                          type: integer
                          format: int64
                          description: Percent Used
                        FREE_KB:
                          type: integer
                          format: int64
                          description: Free KB
                        PCT_FREE:
                          type: integer
                          format: int64
                          description: Percent Free
                        NUM_IUSED:
                          type: integer
                          format: int64
                          description: Number of Inodes
                        PCT_IUSED:
                          type: integer
                          format: int32
                          description: Percent Inodes used
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
