openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_DBSTOR:
    post:
      tags:
      - SDB6PM
      summary: 'DB6: Get DB Snapshot'
      operationId: /rfc/DB6_PM_DBSTOR
      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_DB6PMSD_STOR:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPTIME:
                        type: string
                        maxLength: 14
                        description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                      PARTITN:
                        type: integer
                        format: int32
                        description: ''
                      CALLERFLAG:
                        type: string
                        maxLength: 1
                        description: ''
                      DBMSTRTTME:
                        type: string
                        maxLength: 14
                        description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                      PRGVERS:
                        type: string
                        maxLength: 20
                        description: ''
                      DB_STORPATH:
                        type: string
                        maxLength: 256
                        description: ''
                      FS_ID:
                        type: string
                        maxLength: 22
                        description: ''
                      FS_TOTAL_SIZE:
                        type: integer
                        format: int64
                        description: ''
                      FS_USED_SIZE:
                        type: integer
                        format: int64
                        description: ''
                      STO_PATH_FREE_SIZE:
                        type: integer
                        format: int64
                        description: ''
              required:
              - ACTION
              - CALLERFLAG
              - PARTITN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6PMSD_STOR:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPTIME:
                          type: string
                          maxLength: 14
                          description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                        PARTITN:
                          type: integer
                          format: int32
                          description: ''
                        CALLERFLAG:
                          type: string
                          maxLength: 1
                          description: ''
                        DBMSTRTTME:
                          type: string
                          maxLength: 14
                          description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                        PRGVERS:
                          type: string
                          maxLength: 20
                          description: ''
                        DB_STORPATH:
                          type: string
                          maxLength: 256
                          description: ''
                        FS_ID:
                          type: string
                          maxLength: 22
                          description: ''
                        FS_TOTAL_SIZE:
                          type: integer
                          format: int64
                          description: ''
                        FS_USED_SIZE:
                          type: integer
                          format: int64
                          description: ''
                        STO_PATH_FREE_SIZE:
                          type: integer
                          format: int64
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
