--
You received this message because you are subscribed to the Google Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I spent some time trying to link the Commcare content via the API into Zoho Reports, but I ultimately couldn't get it to work. Here are my notes:
Successfully got the data pulling into Postman, a fantastic API tester, using
https://www.commcarehq.org/a/[domain]/api/v0.5/form/?xmlns=XXXXXXXXXXX
and Basic Auth with our account credentials
You can get the ?xmlns=XXXX part by looking at all your forms using:
https://www.commcarehq.org/a/[domain]/api/[version]/form/
I then tried to use this URL in ZohoReport reports (video here) with the basic auth and got this error message:
HTTP Status code (401) thrown while reading the URL contents. Please verify whether the URL is accessible. |
Hi,
Greetings from Zoho Report!
Sorry for the inconvenience caused. Currently Zoho Reports supports only Basic authentication while importing data from a Web data source protected by a password. Since the data feed URL you have tried has Digest authentication, you were receiving Error 401. We have generated an authentication key using which you can import the data.
In the data Import wizard, please follow the below steps,
· Select the file type as JSON from the File Type drop down box
· Choose the Data location as Web and enter the API URL
· Expand the Add parameter option available
· Type the parameter name as 'Authorization'
· Enter this key 'redacted' in the Value text box
· Select the Send Request option as Header from the drop down box
· Click Next
--
You received this message because you are subscribed to a topic in the Google Groups "commcare-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/commcare-users/PEfITB-njIg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.