-
Notifications
You must be signed in to change notification settings - Fork 10
Metadata Import
asaweero edited this page Aug 22, 2017
·
3 revisions
Allows the user to import metadata for the project. If REDCap works as intended, it should create a snapshot of the data dictionary before this method is called, should you import bad data.
-
data
: The formatted data that will be imported. Please check REDCap's API documentation for a full explanation of the formatting for your input.
- Returns the number of fields imported.
var params = {
data: []
};
importInfo (params, function (err, res) {
// error containts oprtional errors
if (err) {
// handle error
}
else {
// res is return value
console.log (res);
}
});