openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_GET_RESET_TIME:
    post:
      tags:
      - SDB6PMST04
      summary: 'DB6: Return the Reset Time'
      operationId: /rfc/DB6_PM_GET_RESET_TIME
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHECKPOINT:
                  type: string
                  maxLength: 1
                  description: 'DB6: if checkpoint = ''X'': resettime is independent from dbm start time'
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                DBMSTRTTME:
                  type: string
                  maxLength: 14
                  description: 'DB2 Universal Database: Timestamp (Format: YYYYMMDDHHMMSS)'
                PARTITN:
                  type: integer
                  format: int32
                  description: 'DB6: partition'
                TABLENAME:
                  type: string
                  maxLength: 20
                  description: 'Db6: tablename for which the reset time should be retrieved'
              required:
              - CHECKPOINT
              - DBMSTRTTME
              - PARTITN
              - TABLENAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DBMSTRDATE:
                    type: string
                    format: date
                    description: 'DB6: dbm start date'
                  DBMSTRTIME:
                    type: string
                    maxLength: 6
                    description: 'DB6: dbm start time'
                  RESETDATE:
                    type: string
                    format: date
                    description: 'DB6: reset date'
                  RESETTIME:
                    type: string
                    maxLength: 6
                    description: 'DB6: reset time'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
