redcap-api icon indicating copy to clipboard operation
redcap-api copied to clipboard

Upload XML file

Open mholli9 opened this issue 2 years ago • 1 comments

New to REDCap and, obviously, this package.

I hope my request is simple but perhaps not? I have an XML file exported from one REDCap project and I would like to import the entire file which contains several records and each record contains several instruments.

Is there a simple way to import an entire file without uploading one record at a time? If no, is there a simple way to upload all the data from each record and step through those one at time for the entire file?

Thanks!

mholli9 avatar Dec 08 '22 20:12 mholli9

@mholli9, its possible maybe through a loop that can iterate over the records or your structure? I think the payload would have to be converted to json or flat first for the API to load into REDCap?

tranpl avatar May 20 '23 02:05 tranpl