I am trying to use ODK Aggregate to publish data to a JSON server, but I can't find any documentation for that type of implementation.
Could anyone point me in the right direction for learning how to do this?
I am trying to use ODK Aggregate to publish data to a JSON server, but I can't find any documentation for that type of implementation.
Could anyone point me in the right direction for learning how to do this?
I've used the simple JSON publisher in the past. You can find documentation on that here. Let us know how it goes!
I've used the JSON publisher in dozens of implementations over the last few years and I'm happy to help out. Don't hesitate to reach out if you've got any specific questions or hit a snag!
Hello, I am trying to use it now. I have implemented a server to received published data.
The problem is when I receive data I am sending a 201 code to aggregate to inform that everything is OK but aggregate keeps sending the same data. It seems like aggregate does not understand the http code 201.
Are you still running into issues? I have worked on several ODK implementations and have experience troubleshooting publishing and integration issues when connecting with other databases. I would be happy to help.
Hello @aleksa-krolls
I am sending back 200 code now and it seems fine but sometimes aggregate sends the same data again. I am dealing with the instance_uuid column to avoid duplicate record, do you have another idea?
@DedrickEnc Have you tried adjusting the "Data to Publish" settings if leveraging the ODK Aggregate publisher?
Hi Aleksa, could you help me on this, I want to publish on JSON but haven´t found enough documentation.
@Carlos_Rivas_PMA In Aggregate...
You can also see what this process looks like in this video, where we are publishing ODK JSON data to OpenFn.
Thank you Aleksa for your clarification, and maybe this is a crucial part of the workflow that needs attention to document, i.e. how to set up a proper JSON server for using with ODK or what other options are available in the market.
Thanks again Aleksa!
@Carlos_Rivas_PMA Well this depends on the service/API you're trying to publish the ODK data to. Do you have a specific app/system in mind that you're hoping to integrate with? Or are setting this up more for demo purposes?