Creating an API

17 views
Skip to first unread message

Dini Ngewu

unread,
Apr 17, 2013, 2:31:03 AM4/17/13
to commcare-...@googlegroups.com
Hi guys!

I'm a third year student from the Nelson Mandela Metropolitan University and I'm in my 3rd year of my undergrad national diploma Information Technology, majoring in Software Development. I'm in a group and we are working on a project on the CommCareHQ platform. My query is this: How does one go about creating an 3rd party API so that the information retrieved on the mobile application from CommCareHQ is routed to my group's personal database (for our third year project requirements)? We are programming using Visual Studio 2010.

Kind regards
Dini

Simon Kelly

unread,
Apr 17, 2013, 4:39:04 AM4/17/13
to commcare-...@googlegroups.com
Hi Dini

We'd love to hear more about your project and what you're trying to do. We do have some API's that you can use to get data out of CommCareHQ which are documented on our wiki: https://confluence.dimagi.com/display/commcarepublic/CommCare+HQ+APIs. I think you should be able to get what you need from there.

Simon



Dini

--
 
---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-develo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Simon Kelly
Senior Engineer | Dimagi South Africa

Dini Ngewu

unread,
Apr 17, 2013, 4:59:28 AM4/17/13
to commcare-...@googlegroups.com
Hi Simon!

We are looking to develop a mobile app for a place called Emmanuel Care Haven in an impoverished area in the Port Elizabeth region. What this app will do is enable the carers to capture information about their visits to a patient's house (in a visit, they just check up on the patient's health). This information is sent to and stored in the CommCareHQ cloud server - what we are trying to do is to find a way for the data captured in each form to also get sent to our own database so we can populate it to enable us to meet project requirements (as we are in 3rd year). I hope I'm coming across clearly.

I had followed the links, I read up on the information and it's still foggy at this stage.

Regards

Simon Kelly

unread,
Apr 17, 2013, 8:53:56 AM4/17/13
to commcare-...@googlegroups.com
Hi Dini

That sounds like an interesting project. How did you guys hear about CommCare?

Given your use case perhaps a better approach would be to use the Data Integration Feature which is outlined here: https://wiki.commcarehq.org/display/commcarepublic/Enabling+Data+Integration. This will allow you to have each now form or case sent to a URL of your choosing. You can then insert it into your own database from there.

Cheers
Simon


--
 
---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-develo...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Dini Ngewu

unread,
Apr 22, 2013, 11:18:26 AM4/22/13
to commcare-...@googlegroups.com
Well, my group and I were in need of a project idea that we'd all be sold on. We spoke to one of our professors from the faculty, Professor Darelle van Greunen, who is heavily involved with the Emmanuel Haven. She introduced us to the concept of CommCareHQ and we had training conducted by Andrea Fletcher on campus.

Thanks, I will follow the link.



 
---
You received this message because you are subscribed to a topic in the Google Groups "CommCare Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/commcare-developers/6a86TH71m3I/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to commcare-develo...@googlegroups.com.

Dini Ngewu

unread,
May 9, 2013, 1:29:59 AM5/9/13
to commcare-...@googlegroups.com
I just have a simple question: when the form data is captured on the mobile device and is sent to the CommCareHQ Cloud Server - how is the data unpacked?


On Wednesday, April 17, 2013 8:31:03 AM UTC+2, Dini Ngewu wrote:

Cory Zue

unread,
May 9, 2013, 8:01:36 AM5/9/13
to commcare-developers
Hi Dini,

The form is sent via XML, and then converted to JSON via a couchdb update handler (http://wiki.apache.org/couchdb/Document_Update_Handlers).


Cory



--
Reply all
Reply to author
Forward
0 new messages