Hi Harsh You are not allowed to update the orgUnit pointer, this was supposed to be the point of registration.. and was thought of as being read-only after initial registration.
That said, I'm 90% sure we are changing this for 2.19, we are having discussion about that now (we would rather have the orgUnit pointer on the enrollment) -- Morten On Wed, Mar 4, 2015 at 3:04 PM, Harsh Atal <harsh.a...@gmail.com> wrote: > Dear All > > I am trying to shift a trackedentityinstance from one organisationunit to > another. For this i tried to use the web API resource for the updation of > trackedEntityInstance. > This ,i have found, is not working for the organisationunit as it is not > changed while the changes in other information like attributes etc are > reflected. > > I am not getting any error and the web api response status is SUCCESS but > the organisationunitid doesn't change in the trackedEntityInstance table in > the db. > > Have you encountered such a problem? > > Thank You > Harsh > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : dhis2-devs@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp