Android tracker enrollement

Hi Dear all,

I am using android to collect data with tracker module, but I would like to know how can I all old enrollment for an org unit, because the logic of my program is to enrolled once and create many instance in that enrollment.

I am able to do it in my computer but not able to do it in android, thank in advance for your support

Best regards

image

image

image

···

From: Dhis2-users [mailto:dhis2-users-bounces+vtabu=unicef.org@lists.launchpad.net] On Behalf Of Adebusoye Anifalaje

Sent: Thursday, April 19, 2018 9:17 PM

To: DHIS 2 Users list dhis2-users@lists.launchpad.net; DHIS 2 developers dhis2-devs@lists.launchpad.net; mahdi asgari mahdi.asgari@gmail.com

Subject: Re: [Dhis2-users] WEB API Error in DHIS2.30

Hi Mahdi,

I am forwarding your request to the user list. This is the appropriate forum for asking these sort of questions.

Best.

Busoye.

---------- Forwarded message ---------

From: mahdi asgari mahdi.asgari@gmail.com

Date: Thu, 19 Apr 2018 at 20:25

Subject: WEB API Error in DHIS2.30

To: busoye@baosystems.com

Hi dear adebusoye

I am using dhis2 version 2.30, compiled from github (last version),

When i try to create trackedEntity, i get the following error

I seem’s TrackedEntity has been removed from TrackedEntityInstance

how i can fix the problem.

ERROR:

{“httpStatus”:“Internal Server Error”,“httpStatusCode”:500,“status”:“ERROR”,“message”:“Unrecognized field “trackedEntity” (class org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance), not marked as ignorable (14 known properties: “trackedEntityInstance”, “lastUpdatedAtClient”, “lastUpdated”, “createdAtClient”, “trackedEntityType”, “orgUnit”, “inactive”, “enrollments”, “featureType”, “attributes”, “deleted”, “relationships”, “created”, “coordinates”])\n at [Source: {“trackedEntityInstance”: “IKjF4BZg3hb”,“trackedEntity”: “nEenWmSyUEp”,“orgUnit”: “iq6Pt6QzM4d”,“trackedEntityType”: “MCPQUTHX1Ze”,“attributes”:[{“attribute”:“spFvx9FndA4”,“value”:“53”},{“attribute”:“w75KJ2mc4zz”,“value”:”???"},{“attribute”:“hqtiQfZ66yc”,“value”:"???"},{“attribute”:“zDhUuAYrxNC”,“value”:"???"},{“attribute”:“AuPLng5hLbE”,“value”:“51961113”},{“attribute”:“EO4ms2Ju3nf”,“value”:“1”},{“attribute”:“gHGyrwKPzej”,“value”:“2013-09-17”},{“attribute”:“P2cwLGskgxn”,“value”:“123”},{“attribute”:“Agywv2JGwuq”,“value”:""}],“enrollments”:[{“orgUnit”: “iq6Pt6QzM4d”,“program”: “LaWt5AR1tfl”,“enrollmentDate”: “2013-09-17”,“incidentDate”: “2013-09-17”}]}; line: 1, column: 59] (through reference chain: org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance[“trackedEntity”])"}

JSON DATA:

{“trackedEntityInstance”: “IKjF4BZg3hb”,“orgUnit”: “iq6Pt6QzM4d”,“trackedEntity”:“lp7Kq6QzS4d”,“trackedEntityType”: “MCPQUTHX1Ze”,“attributes”:[{“attribute”:“spFvx9FndA4”,“value”:“53”,“attribute”:“w75KJ2mc4zz”,“value”:"???",“attribute”:“hqtiQfZ66yc”,“value”:"???",“attribute”:“zDhUuAYrxNC”,“value”:"???",“attribute”:“AuPLng5hLbE”,“value”:“51961113”,“attribute”:“EO4ms2Ju3nf”,“value”:“1”,“attribute”:“gHGyrwKPzej”,“value”:“2013-09-17”,“attribute”:“P2cwLGskgxn”,“value”:“123”,“attribute”:“Agywv2JGwuq”,“value”:""}],“enrollments”:[{“orgUnit”: “iq6Pt6QzM4d”,“program”: “LaWt5AR1tfl”,“enrollmentDate”: “2013-09-17”,“incidentDate”: “2013-09-17”}]}

thanks in advanced

Forgive the typos. Using handheld device

Hi Victor,

Could you clarify the meaning of " how can I all old enrollment for an org unit"?

Do you mean “how can I DELETE all existing enrollments for an orgunit”?

Knut

image

image

···

On Sat, Apr 21, 2018 at 11:30 AM, Victor Tabu vtabu@unicef.org wrote:

Hi Dear all,

I am using android to collect data with tracker module, but I would like to know how can I all old enrollment for an org unit, because the logic of my program is to enrolled once and create many instance in that enrollment.

I am able to do it in my computer but not able to do it in android, thank in advance for your support

Best regards


Victor TABU TSHIBAMBULA

Adminstrateur Gestionnaire du Système d’Information - Kinshasa

Tel: + (243) 814784184 , VoIP : 243 0301 1096, E-mail: vtabu@unicef.org , skype : vtabu


Fonds des Nations Unies pour l’Enfance

372, avenue Colonel Mondiba, Kinshasa - Ngaliema

Suivez nous sur Facebook, Twitter, Pona Bana
et http://www.unicef.org/

From: Dhis2-users [mailto:dhis2-users-bounces+vtabu=unicef.org@lists.launchpad.net] On Behalf Of Adebusoye Anifalaje

Sent: Thursday, April 19, 2018 9:17 PM

To: DHIS 2 Users list dhis2-users@lists.launchpad.net; DHIS 2 developers dhis2-devs@lists.launchpad.net; mahdi asgari mahdi.asgari@gmail.com

Subject: Re: [Dhis2-users] WEB API Error in DHIS2.30

Hi Mahdi,

I am forwarding your request to the user list. This is the appropriate forum for asking these sort of questions.

Best.

Busoye.

---------- Forwarded message ---------

From: mahdi asgari mahdi.asgari@gmail.com

Date: Thu, 19 Apr 2018 at 20:25

Subject: WEB API Error in DHIS2.30

To: busoye@baosystems.com

Hi dear adebusoye

I am using dhis2 version 2.30, compiled from github (last version),

When i try to create trackedEntity, i get the following error

I seem’s TrackedEntity has been removed from TrackedEntityInstance

how i can fix the problem.

ERROR:

{“httpStatus”:“Internal Server Error”,“httpStatusCode”:500,“status”:“ERROR”,“message”:“Unrecognized field “trackedEntity” (class org.hisp.dhis.dxf2.events.trackedentity. TrackedEntityInstance), not marked as ignorable (14 known properties: “trackedEntityInstance”, “lastUpdatedAtClient”, “lastUpdated”, “createdAtClient”, “trackedEntityType”, “orgUnit”, “inactive”, “enrollments”, “featureType”, “attributes”, “deleted”, “relationships”, “created”, “coordinates”])\n at [Source: {“trackedEntityInstance”: “IKjF4BZg3hb”,“trackedEntity”: “nEenWmSyUEp”,“orgUnit”: “iq6Pt6QzM4d”,“trackedEntityType”: “MCPQUTHX1Ze”,“attributes”:[{“attribute”:“spFvx9FndA4”,“value”:“53”},{“attribute”:“w75KJ2mc4zz”,“value”:”???"},{“attribute”:“hqtiQfZ66yc”,“value”:"???"},{“attribute”:“zDhUuAYrxNC”,“value”:"???"},{“attribute”:“AuPLng5hLbE”,“value”:“51961113”},{“attribute”:“EO4ms2Ju3nf”,“value”:“1”},{“attribute”:“gHGyrwKPzej”,“value”:“2013-09-17”},{“attribute”:“P2cwLGskgxn”,“value”:“123”},{“attribute”:“Agywv2JGwuq”,“value”:""}],“enrollments” :[{“orgUnit”: “iq6Pt6QzM4d”,“program”: “LaWt5AR1tfl”,“enrollmentDate”: “2013-09-17”,“incidentDate”: “2013-09-17”}]}; line: 1, column: 59] (through reference chain: org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance[“trackedEntity”])"}

JSON DATA:

{“trackedEntityInstance”: “IKjF4BZg3hb”,“orgUnit”: “iq6Pt6QzM4d”,“trackedEntity”:“lp7Kq6QzS4d”,“trackedEntityType”: “MCPQUTHX1Ze”,“attributes”:[{“attribute”:“spFvx9FndA4”,“value”:“53”,“attribute”:“w75KJ2mc4zz”,“value”:"???",“attribute”:“hqtiQfZ66yc”,“value”:"???",“attribute”:“zDhUuAYrxNC”,“value”:"???",“attribute”:“AuPLng5hLbE”,“value”:“51961113”,“attribute”:“EO4ms2Ju3nf”,“value”:“1”,“attribute”:“gHGyrwKPzej”,“value”:“2013-09-17”,“attribute”:“P2cwLGskgxn”,“value”:“123”,“attribute”:“Agywv2JGwuq”,“value”:""}]," enrollments":[{“orgUnit”: “iq6Pt6QzM4d”,“program”: “LaWt5AR1tfl”,“enrollmentDate”: “2013-09-17”,“incidentDate”: “2013-09-17”}]}

thanks in advanced

Forgive the typos. Using handheld device


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar

Hi Victor,

as Knut said… it is not easy to understand your question.

In case you mean “how can I DOWNLOAD all existing enrollments for an orgunit”? please try with the online search Icon (See image below).

Best,

Marta


image

image

···

On 21 April 2018 at 14:46, Knut Staring knutst@gmail.com wrote:

Hi Victor,

Could you clarify the meaning of " how can I all old enrollment for an org unit"?

Do you mean “how can I DELETE all existing enrollments for an orgunit”?

Knut


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

On Sat, Apr 21, 2018 at 11:30 AM, Victor Tabu vtabu@unicef.org wrote:

Hi Dear all,

I am using android to collect data with tracker module, but I would like to know how can I all old enrollment for an org unit, because the logic of my program is to enrolled once and create many instance in that enrollment.

I am able to do it in my computer but not able to do it in android, thank in advance for your support

Best regards


Victor TABU TSHIBAMBULA

Adminstrateur Gestionnaire du Système d’Information - Kinshasa

Tel: + (243) 814784184 , VoIP : 243 0301 1096, E-mail: vtabu@unicef.org , skype : vtabu


Fonds des Nations Unies pour l’Enfance

372, avenue Colonel Mondiba, Kinshasa - Ngaliema

Suivez nous sur Facebook, Twitter, Pona Bana
et http://www.unicef.org/

From: Dhis2-users [mailto:dhis2-users-bounces+vtabu=unicef.org@lists.launchpad.net] On Behalf Of Adebusoye Anifalaje

Sent: Thursday, April 19, 2018 9:17 PM

To: DHIS 2 Users list dhis2-users@lists.launchpad.net; DHIS 2 developers dhis2-devs@lists.launchpad.net; mahdi asgari mahdi.asgari@gmail.com

Subject: Re: [Dhis2-users] WEB API Error in DHIS2.30

Hi Mahdi,

I am forwarding your request to the user list. This is the appropriate forum for asking these sort of questions.

Best.

Busoye.

---------- Forwarded message ---------

From: mahdi asgari mahdi.asgari@gmail.com

Date: Thu, 19 Apr 2018 at 20:25

Subject: WEB API Error in DHIS2.30

To: busoye@baosystems.com

Hi dear adebusoye

I am using dhis2 version 2.30, compiled from github (last version),

When i try to create trackedEntity, i get the following error

I seem’s TrackedEntity has been removed from TrackedEntityInstance

how i can fix the problem.

ERROR:

{“httpStatus”:“Internal Server Error”,“httpStatusCode”:500,“status”:“ERROR”,“message”:“Unrecognized field “trackedEntity” (class org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstanc e), not marked as ignorable (14 known properties: “trackedEntityInstance”, “lastUpdatedAtClient”, “lastUpdated”, “createdAtClient”, “trackedEntityType”, “orgUnit”, “inactive”, “enrollments”, “featureType”, “attributes”, “deleted”, “relationships”, “created”, “coordinates”])\n at [Source: {“trackedEntityInstance”: “IKjF4BZg3hb”,“trackedEntity”: “nEenWmSyUEp”,“orgUnit”: “iq6Pt6QzM4d”,“trackedEntityType”: “MCPQUTHX1Ze”,“attributes”:[{“attribute”:“spFvx9FndA4”,“value”:“53”},{“attribute”:“w75KJ2mc4zz”,“value”:”???"},{“attribute”:“hqtiQfZ66yc”,“value”:"???"},{“attribute”:“zDhUuAYrxNC”,“value”:"???"},{“attribute”:“AuPLng5hLbE”,“value”:“51961113”},{“attribute”:“EO4ms2Ju3nf”,“value”:“1”},{“attribute”:“gHGyrwKPzej”,“value”:“2013-09-17”},{“attribute”:“P2cwLGskgxn”,“value”:“123”},{“attribute”:“Agywv2JGwuq”,“value”:""}],“enrollments”:[{“orgUnit” : “iq6Pt6QzM4d”,“program”: “LaWt5AR1tfl”,“enrollmentDate”: “2013-09-17”,“incidentDate”: “2013-09-17”}]}; line: 1, column: 59] (through reference chain: org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance[“trackedEntity”])"}

JSON DATA:

{“trackedEntityInstance”: “IKjF4BZg3hb”,“orgUnit”: “iq6Pt6QzM4d”,“trackedEntity”:“lp7Kq6QzS4d”,“trackedEntityType”: “MCPQUTHX1Ze”,“attributes”:[{“attribute”:“spFvx9FndA4”,“value”:“53”,“attribute”:“w75KJ2mc4zz”,“value”:"???",“attribute”:“hqtiQfZ66yc”,“value”:"???",“attribute”:“zDhUuAYrxNC”,“value”:"???",“attribute”:“AuPLng5hLbE”,“value”:“51961113”,“attribute”:“EO4ms2Ju3nf”,“value”:“1”,“attribute”:“gHGyrwKPzej”,“value”:“2013-09-17”,“attribute”:“P2cwLGskgxn”,“value”:“123”,“attribute”:“Agywv2JGwuq”,“value”:""}],“enrollments”:[{" orgUnit": “iq6Pt6QzM4d”,“program”: “LaWt5AR1tfl”,“enrollmentDate”: “2013-09-17”,“incidentDate”: “2013-09-17”}]}

thanks in advanced

Forgive the typos. Using handheld device


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Knut Staring

Department of Information, Evidence and Research
World Health Organization, Geneva, Switzerland
Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522
Skype: knutstar

Hi Knut,

Thank very much i have find a solution to my problem it was about to see all enrollment in Android now it is fine.

Best regards

image

image

image

image

image

image

···

---------- Forwarded message ---------
From: Victor Tabu vtabu@unicef.org
Date: Sat, Apr 21, 2018, 2:57 PM
Subject: RE: [Dhis2-users] Android tracker enrollement
To: Knut Staring knutst@gmail.com


Victor TABU TSHIBAMBULA

Adminstrateur Gestionnaire du Système d’Information - Kinshasa

Tel: + (243) 814784184 , VoIP : 243 0301 1096, E-mail: vtabu@unicef.org , skype : vtabu


Fonds des Nations Unies pour l’Enfance

372, avenue Colonel Mondiba, Kinshasa - Ngaliema

Suivez nous sur Facebook, Twitter, Pona Bana
et http://www.unicef.org/

cid:image003.jpg@01D37EE0.B5EF0170

From: Knut Staring [mailto:knutst@gmail.com]

Sent: Saturday, April 21, 2018 1:46 PM

To: Victor Tabu vtabu@unicef.org

Cc: Adebusoye Anifalaje busoye@baosystems.com; DHIS 2 Users list dhis2-users@lists.launchpad.net; DHIS 2 developers dhis2-devs@lists.launchpad.net; mahdi asgari mahdi.asgari@gmail.com; Emile BAHATI CH. emilefbb@gmail.com; Bienvenu Eyale eyalebienvenu1@gmail.com

Subject: Re: [Dhis2-users] Android tracker enrollement

Hi Victor,

Could you clarify the meaning of "
how can I all old enrollment for an org unit"?

Do you mean “how can I DELETE all existing enrollments for an orgunit”?

Knut

On Sat, Apr 21, 2018 at 11:30 AM, Victor Tabu vtabu@unicef.org wrote:

Hi Dear all,

I am using android to collect data with tracker module, but I would like to know how can I all old enrollment for an org unit, because the logic of my program is to enrolled once and create many instance in that enrollment.

I am able to do it in my computer but not able to do it in android, thank in advance for your support

Best regards


Victor TABU TSHIBAMBULA

Adminstrateur Gestionnaire du Système d’Information - Kinshasa

Tel: + (243) 814784184 , VoIP : 243 0301 1096, E-mail: vtabu@unicef.org, skype : vtabu


Fonds des Nations Unies pour l’Enfance

372, avenue Colonel Mondiba, Kinshasa - Ngaliema

Suivez nous sur Facebook, Twitter, Pona Bana et http://www.unicef.org/

cid:image003.jpg@01D37EE0.B5EF0170

From: Dhis2-users [mailto:dhis2-users-bounces+vtabu=unicef.org@lists.launchpad.net] On Behalf Of Adebusoye Anifalaje

Sent: Thursday, April 19, 2018 9:17 PM

To: DHIS 2 Users list dhis2-users@lists.launchpad.net; DHIS 2 developers <dhis2-devs@lists.launchpad.net >; mahdi asgari mahdi.asgari@gmail.com

Subject: Re: [Dhis2-users] WEB API Error in DHIS2.30

Hi Mahdi,

I am forwarding your request to the user list. This is the appropriate forum for asking these sort of questions.

Best.

Busoye.

---------- Forwarded message ---------

From: mahdi asgari mahdi.asgari@gmail.com

Date: Thu, 19 Apr 2018 at 20:25

Subject: WEB API Error in DHIS2.30

To: busoye@baosystems.com

Hi dear adebusoye

I am using dhis2 version 2.30, compiled from github (last version),

When i try to create trackedEntity, i get the following error

I seem’s TrackedEntity has been removed from TrackedEntityInstance

how i can fix the problem.

ERROR:

{“httpStatus”:“Internal Server Error”,“httpStatusCode”:500,“status”:“ERROR”,“message”:“Unrecognized field “trackedEntity” (class org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance), not marked as ignorable (14 known properties: “trackedEntityInstance”, “lastUpdatedAtClient”, “lastUpdated”, “createdAtClient”, “trackedEntityType”, “orgUnit”, “inactive”, “enrollments”, “featureType”, “attributes”, “deleted”, “relationships”, “created”, “coordinates”])\n at [Source: {“trackedEntityInstance”: “IKjF4BZg3hb”,“trackedEntity”: “nEenWmSyUEp”,“orgUnit”: “iq6Pt6QzM4d”,“trackedEntityType”: “MCPQUTHX1Ze”,“attributes”:[{“attribute”:“spFvx9FndA4”,“value”:“53”},{“attribute”:“w75KJ2mc4zz”,“value”:”???"},{“attribute”:“hqtiQfZ66yc”,“value”:"???"},{“attribute”:“zDhUuAYrxNC”,“value”:"???"},{“attribute”:“AuPLng5hLbE”,“value”:“51961113”},{“attribute”:“EO4ms2Ju3nf”,“value”:“1”},{“attribute”:“gHGyrwKPzej”,“value”:“2013-09-17”},{“attribute”:“P2cwLGskgxn”,“value”:“123”},{“attribute”:“Agywv2JGwuq”,“value”:""}],“enrollments”:[{“orgUnit”: “iq6Pt6QzM4d”,“program”: “LaWt5AR1tfl”,“enrollmentDate”: “2013-09-17”,“incidentDate”: “2013-09-17”}]}; line: 1, column: 59] (through reference chain: org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance[“trackedEntity”])"}

JSON DATA:

{“trackedEntityInstance”: “IKjF4BZg3hb”,“orgUnit”: “iq6Pt6QzM4d”,“trackedEntity”:“lp7Kq6QzS4d”,“trackedEntityType”: “MCPQUTHX1Ze”,“attributes”:[{“attribute”:“spFvx9FndA4”,“value”:“53”,“attribute”:“w75KJ2mc4zz”,“value”:"???",“attribute”:“hqtiQfZ66yc”,“value”:"???",“attribute”:“zDhUuAYrxNC”,“value”:"???",“attribute”:“AuPLng5hLbE”,“value”:“51961113”,“attribute”:“EO4ms2Ju3nf”,“value”:“1”,“attribute”:“gHGyrwKPzej”,“value”:“2013-09-17”,“attribute”:“P2cwLGskgxn”,“value”:“123”,“attribute”:“Agywv2JGwuq”,“value”:""}],“enrollments”:[{“orgUnit”: “iq6Pt6QzM4d”,“program”: “LaWt5AR1tfl”,“enrollmentDate”: “2013-09-17”,“incidentDate”: “2013-09-17”}]}

thanks in advanced

Forgive the typos. Using handheld device


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Knut Staring

Department of Information, Evidence and Research

World Health Organization, Geneva, Switzerland

Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522

Skype: knutstar

Hello Marta,

Thank very much problem solved

image

image

image

image

image

image

···

From: Marta Vila [mailto:martavila@gmail.com]

Sent: Monday, April 23, 2018 7:50 AM

To: Knut Staring knutst@gmail.com

Cc: Victor Tabu vtabu@unicef.org; Emile BAHATI CH. emilefbb@gmail.com; DHIS 2 Users list dhis2-users@lists.launchpad.net; DHIS 2 developers dhis2-devs@lists.launchpad.net; Bienvenu Eyale eyalebienvenu1@gmail.com

Subject: Re: [Dhis2-users] Android tracker enrollement

Hi Victor,

as Knut said… it is not easy to understand your question.

In case you mean
“how can I DOWNLOAD all existing enrollments for an orgunit”? please try with the online search Icon (See image below).

Best,

Marta

On 21 April 2018 at 14:46, Knut Staring knutst@gmail.com wrote:

Hi Victor,

Could you clarify the meaning of "
how can I all old enrollment for an org unit"?

Do you mean “how can I DELETE all existing enrollments for an orgunit”?

Knut

On Sat, Apr 21, 2018 at 11:30 AM, Victor Tabu vtabu@unicef.org wrote:

Hi Dear all,

I am using android to collect data with tracker module, but I would like to know how can I all old enrollment for an org unit, because the logic of my program is to enrolled once and create many instance in that enrollment.

I am able to do it in my computer but not able to do it in android, thank in advance for your support

Best regards


Victor TABU TSHIBAMBULA

Adminstrateur Gestionnaire du Système d’Information - Kinshasa

Tel: + (243) 814784184 , VoIP : 243 0301 1096, E-mail: vtabu@unicef.org, skype : vtabu


Fonds des Nations Unies pour l’Enfance

372, avenue Colonel Mondiba, Kinshasa - Ngaliema

Suivez nous sur Facebook, Twitter, Pona Bana et http://www.unicef.org/

From: Dhis2-users [mailto:dhis2-users-bounces+vtabu=unicef.org@lists.launchpad.net] On Behalf Of Adebusoye Anifalaje

Sent: Thursday, April 19, 2018 9:17 PM

To: DHIS 2 Users list dhis2-users@lists.launchpad.net; DHIS 2 developers <dhis2-devs@lists.launchpad.net >; mahdi asgari mahdi.asgari@gmail.com

Subject: Re: [Dhis2-users] WEB API Error in DHIS2.30

Hi Mahdi,

I am forwarding your request to the user list. This is the appropriate forum for asking these sort of questions.

Best.

Busoye.

---------- Forwarded message ---------

From: mahdi asgari mahdi.asgari@gmail.com

Date: Thu, 19 Apr 2018 at 20:25

Subject: WEB API Error in DHIS2.30

To: busoye@baosystems.com

Hi dear adebusoye

I am using dhis2 version 2.30, compiled from github (last version),

When i try to create trackedEntity, i get the following error

I seem’s TrackedEntity has been removed from TrackedEntityInstance

how i can fix the problem.

ERROR:

{“httpStatus”:“Internal Server Error”,“httpStatusCode”:500,“status”:“ERROR”,“message”:“Unrecognized field “trackedEntity” (class org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance), not marked as ignorable (14 known properties: “trackedEntityInstance”, “lastUpdatedAtClient”, “lastUpdated”, “createdAtClient”, “trackedEntityType”, “orgUnit”, “inactive”, “enrollments”, “featureType”, “attributes”, “deleted”, “relationships”, “created”, “coordinates”])\n at [Source: {“trackedEntityInstance”: “IKjF4BZg3hb”,“trackedEntity”: “nEenWmSyUEp”,“orgUnit”: “iq6Pt6QzM4d”,“trackedEntityType”: “MCPQUTHX1Ze”,“attributes”:[{“attribute”:“spFvx9FndA4”,“value”:“53”},{“attribute”:“w75KJ2mc4zz”,“value”:”???"},{“attribute”:“hqtiQfZ66yc”,“value”:"???"},{“attribute”:“zDhUuAYrxNC”,“value”:"???"},{“attribute”:“AuPLng5hLbE”,“value”:“51961113”},{“attribute”:“EO4ms2Ju3nf”,“value”:“1”},{“attribute”:“gHGyrwKPzej”,“value”:“2013-09-17”},{“attribute”:“P2cwLGskgxn”,“value”:“123”},{“attribute”:“Agywv2JGwuq”,“value”:""}],“enrollments”:[{“orgUnit”: “iq6Pt6QzM4d”,“program”: “LaWt5AR1tfl”,“enrollmentDate”: “2013-09-17”,“incidentDate”: “2013-09-17”}]}; line: 1, column: 59] (through reference chain: org.hisp.dhis.dxf2.events.trackedentity.TrackedEntityInstance[“trackedEntity”])"}

JSON DATA:

{“trackedEntityInstance”: “IKjF4BZg3hb”,“orgUnit”: “iq6Pt6QzM4d”,“trackedEntity”:“lp7Kq6QzS4d”,“trackedEntityType”: “MCPQUTHX1Ze”,“attributes”:[{“attribute”:“spFvx9FndA4”,“value”:“53”,“attribute”:“w75KJ2mc4zz”,“value”:"???",“attribute”:“hqtiQfZ66yc”,“value”:"???",“attribute”:“zDhUuAYrxNC”,“value”:"???",“attribute”:“AuPLng5hLbE”,“value”:“51961113”,“attribute”:“EO4ms2Ju3nf”,“value”:“1”,“attribute”:“gHGyrwKPzej”,“value”:“2013-09-17”,“attribute”:“P2cwLGskgxn”,“value”:“123”,“attribute”:“Agywv2JGwuq”,“value”:""}],“enrollments”:[{“orgUnit”: “iq6Pt6QzM4d”,“program”: “LaWt5AR1tfl”,“enrollmentDate”: “2013-09-17”,“incidentDate”: “2013-09-17”}]}

thanks in advanced

Forgive the typos. Using handheld device


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Knut Staring

Department of Information, Evidence and Research

World Health Organization, Geneva, Switzerland

Office: +41 22 791 3683 Mob1: +33 6 4434 2931 Mob2: +47 9188 0522

Skype: knutstar


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp