Upload XML file #100

Open
opened 2022-12-08 15:41:43 -05:00 by mholli9 · 1 comment
mholli9 commented 2022-12-08 15:41:43 -05:00 (Migrated from github.com)

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!

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!
tranpl commented 2023-05-19 22:54:56 -04:00 (Migrated from github.com)

@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?

@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?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tranpl/redcap-api#100
No description provided.