As you probably know already, we are in the process of moving the data and programs of a few countries that have been working on the development server of PSI to the production server (v. 2.13), this task requires being able to export both persons with the corresponding enrollments to programs and multiple events/stages.
I tried to export events using the API and the systems always returns an empty response. Here’s an example of the request I’m using:
includeChildren/includeDescendants is only available in 2.14 and newer. I will have a look and see if it can be backported to 2.13.
···
–
Morten
On Wed, Jan 22, 2014 at 6:23 AM, Juan Manuel Alcantara Acosta jmalcantara1@gmail.com wrote:
Hi Guys
I hope you are well.
As you probably know already, we are in the process of moving the data and programs of a few countries that have been working on the development server of PSI to the production server (v. 2.13), this task requires being able to export both persons with the corresponding enrollments to programs and multiple events/stages.
I tried to export events using the API and the systems always returns an empty response. Here’s an example of the request I’m using:
I have now backported this to 2.13. Please test it out. I did not backport the UI, so its only available in the web-api (/api/events).
If you are having issues getting the correct format, you can also use .xml/.json
includeChildren for persons might be good to have, but it would require a bit of work… maybe for 2.15
···
–
Morten
On Wed, Jan 22, 2014 at 4:39 PM, Morten Olav Hansen mortenoh@gmail.com wrote:
Hi,
includeChildren/includeDescendants is only available in 2.14 and newer. I will have a look and see if it can be backported to 2.13.
–
Morten
On Wed, Jan 22, 2014 at 6:23 AM, Juan Manuel Alcantara Acosta jmalcantara1@gmail.com wrote:
Hi Guys
I hope you are well.
As you probably know already, we are in the process of moving the data and programs of a few countries that have been working on the development server of PSI to the production server (v. 2.13), this task requires being able to export both persons with the corresponding enrollments to programs and multiple events/stages.
I tried to export events using the API and the systems always returns an empty response. Here’s an example of the request I’m using:
I teste it with v. 2.13 build 12953 dated 2014-01-26 and it didn’t work.
Best regards,
JM
···
–
Morten
On Wed, Jan 22, 2014 at 4:39 PM, Morten Olav Hansen mortenoh@gmail.com wrote:
Hi,
includeChildren/includeDescendants is only available in 2.14 and newer. I will have a look and see if it can be backported to 2.13.
–
Morten
On Wed, Jan 22, 2014 at 6:23 AM, Juan Manuel Alcantara Acosta jmalcantara1@gmail.com wrote:
Hi Guys
I hope you are well.
As you probably know already, we are in the process of moving the data and programs of a few countries that have been working on the development server of PSI to the production server (v. 2.13), this task requires being able to export both persons with the corresponding enrollments to programs and multiple events/stages.
I tried to export events using the API and the systems always returns an empty response. Here’s an example of the request I’m using:
On Thu, Jan 30, 2014 at 3:18 AM, Juan Manuel Alcantara Acosta jmalcantara1@gmail.com wrote:
Hello Morten
I teste it with v. 2.13 build 12953 dated 2014-01-26 and it didn’t work.
Best regards,
JM
El 22/01/2014, a las 05:31, Morten Olav Hansen mortenoh@gmail.com escribió:
I have now backported this to 2.13. Please test it out. I did not backport the UI, so its only available in the web-api (/api/events).
If you are having issues getting the correct format, you can also use .xml/.json
includeChildren for persons might be good to have, but it would require a bit of work… maybe for 2.15
–
Morten
On Wed, Jan 22, 2014 at 4:39 PM, Morten Olav Hansen mortenoh@gmail.com wrote:
Hi,
includeChildren/includeDescendants is only available in 2.14 and newer. I will have a look and see if it can be backported to 2.13.
–
Morten
On Wed, Jan 22, 2014 at 6:23 AM, Juan Manuel Alcantara Acosta jmalcantara1@gmail.com wrote:
Hi Guys
I hope you are well.
As you probably know already, we are in the process of moving the data and programs of a few countries that have been working on the development server of PSI to the production server (v. 2.13), this task requires being able to export both persons with the corresponding enrollments to programs and multiple events/stages.
I tried to export events using the API and the systems always returns an empty response. Here’s an example of the request I’m using: