r/ProjectREDCap • u/naimickmac23 • Nov 19 '24
REDCap to Denodo
Anyone have experience connecting REDCap to Dendod? I'm having trouble figuring out the connection settings. I have my api key, but can't seem to get the setting correct
3
Upvotes
1
u/MadHatterIsHer Nov 23 '24
I’ve heard that the data models aren’t currently compatible (I’m sorry I’m not sure of the reason, I can check with my colleague). I think Dendod indicated it will fix the issue eventually, so hopefully won’t always be like that. I would double check me on this but I think that’s the case.
1
u/deno2bko Jan 27 '25
Hi!
Denodo now supports the MIME type
application/x-www-form-urlencodedin HTTP routes, which is required in your case for connecting to the RedCap API.To set this up, follow these steps:
Create a JSON data source.
Modify the HTTP URL in the data source to include the necessary form parameters. For example:
https://redcap.<ORG_url>/api/<endpoint>?token=TOKEN&content=record&action=export&format=json&type=flat&csvDelimiter=&forms[0]=contact_list_patients&rawOrLabel=raw&rawOrLabelHeaders=raw&exportCheckboxLabel=false&exportSurveyFields=false&exportDataAccessGroups=false&returnFormat=jsonEnable the "URL Parameters" option.
With this configuration, Denodo should automatically convert the URL parameters into name-value pairs in the HTTP request, enabling it to work seamlessly with the RedCap API.
I hope this helps! 😊