function getDataPaths() {
                                    if (productDefinition.record !== undefined) {
                                        if (productDefinition.record.properties !== undefined) {
                                            let record = productDefinition.record.properties

                                            /**Here we loop through all record definition nodes and gather the paths to the needed information. */
                                            for (let j = 0; j < record.length; j++) {
                                                let thisRecord = record[j]
                                                /** First we get the path to the timestamp. */
                                                if (thisRecord.name === 'timestamp' || thisRecord.name === 'Timestamp') {
                                                    if (thisRecord.apiResponseFieldReference !== undefined && thisRecord.apiResponseFieldReference.config !== undefined) {
                                                        let thisConfig = thisRecord.apiResponseFieldReference.config
                                                        if (thisConfig.nodePath !== undefined && thisConfig.nodePath !== '') {
                                                            pathToTimestamp = thisConfig.nodePath
                                                        } else {
                                                            SA.logger.error('The path to the timestamp is not defined.')
                                                        }
                                                    } else {
                                                        SA.logger.error('We have encountered a problem with the apiResponseFieldReference.')
                                                    }
                                                } else {
                                                    /**If the record is not a timestamp we will assume it is data. */
                                                    if (thisRecord.apiResponseFieldReference !== undefined && thisRecord.apiResponseFieldReference.config !== undefined) {
                                                        let thisConfig = thisRecord.apiResponseFieldReference.config
                                                        if (thisConfig.nodePath !== undefined && thisConfig.nodePath !== '') {
                                                            let thisPath = thisConfig.nodePath
                                                            pathToData.push(thisPath)
                                                        } else {
                                                            SA.logger.error('The path to the data record is not defined.')
                                                        }
                                                    } else {
                                                        SA.logger.error('We have encountered a problem with the apiResponseFieldReference.')
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
This function gets the paths to the data we want as defined at the API Response Field Reference at the data mine.