openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_PM_NODES_CFG:
    post:
      tags:
      - SDB6PM
      summary: 'DB6: Get Node Configuration from db2nodes.cfg'
      operationId: /rfc/DB6_PM_NODES_CFG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CALLERFLAG:
                  type: string
                  maxLength: 1
                  description: Who Has Called this Program
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                IT_DB6PMCN:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPTIME:
                        type: string
                        maxLength: 14
                        description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                      PARTITN:
                        type: integer
                        format: int32
                        description: Partition Number
                      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
                      NDNAME:
                        type: string
                        maxLength: 255
                        description: 'DB6: File Path'
                      PORT:
                        type: integer
                        format: int32
                        description: 'port: Associated Part of the Partition'
                      FCM_NDNAME:
                        type: string
                        maxLength: 255
                        description: 'DB6: File Path'
              required:
              - CALLERFLAG
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IT_DB6PMCN:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPTIME:
                          type: string
                          maxLength: 14
                          description: 'DB6: Timestamp (Format: YYYYMMDDHHMMSS)'
                        PARTITN:
                          type: integer
                          format: int32
                          description: Partition Number
                        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
                        NDNAME:
                          type: string
                          maxLength: 255
                          description: 'DB6: File Path'
                        PORT:
                          type: integer
                          format: int32
                          description: 'port: Associated Part of the Partition'
                        FCM_NDNAME:
                          type: string
                          maxLength: 255
                          description: 'DB6: File Path'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
