[Dhis2-devs] Updating multiple events via the WebAPI

2018-08-27 Thread Farai Mutero
dating existing events via a PUT request, In DHIS2 2.27 and later? Regards -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help :

Re: [Dhis2-devs] Update User Password Via Web API

2018-03-26 Thread Farai Mutero
;id": "bCNA5mqP6Az" } } ] } The summary response I get after posting the payload is : {"importParams":{"importMode":"COMMIT","identifier":"UID","preheatMode":"REFERENCE","importStrategy

[Dhis2-devs] Update User Password Via Web API

2018-03-26 Thread Farai Mutero
":"OK","typeReports":[{"klass":"org.hisp.dhis.user.User","stats":{"created":0,"updated":1,"deleted":0,"ignored":0,"total":1},"objectReports":[{"klass":"org.hisp.

[Dhis2-devs] FIlter Orgunits Using Date Fields

2017-11-29 Thread Farai Mutero
Hi Devs How does one filter for orgunits from the "api/organisationUnits/" endPoint using the *lastUpdated* or *created* date fields? A working example of the Web API call would be highly appreciated. Regards -- Farai Mutero ___ Mailing l

[Dhis2-devs] How to bypass login page in dhis2 app

2017-10-27 Thread Farai Mutero
Hi Team When developing a standard dhis2 app. How do you get it to load up the home page in any browser without being forced to login first especially in a browser that does not have an existing login session running? Regards -- Farai Mutero

Re: [Dhis2-devs] Request For WebAPI DataStore Documentation

2017-08-28 Thread Farai Mutero
Thanks Jason and Stian for the prompt response. Much appreciated. Regards Farai On Mon, Aug 28, 2017 at 1:10 PM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > https://docs.dhis2.org/master/en/developer/html/webapi_data_store.html > > On Mon, Aug 28, 2017 at 12:55 P

[Dhis2-devs] Request For WebAPI DataStore Documentation

2017-08-28 Thread Farai Mutero
Hi All Could someone please share links to the WebAPI documentation on using the "api/dataStore/" endpoint? Regards -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscri

Re: [Dhis2-devs] Error creating user account 2.27

2017-08-14 Thread Farai Mutero
Hi Sam I'm also experiencing exactly the same issue. I following this story keenly to find a solution to this bug. Version:2.27Build revision:0a49a22Build date:2017-08-10 06:25 Regards Farai Mutero On Tue, Aug 15, 2017 at 6:01 AM, Sam Kasozi wrote: > I am trying to create an acco

[Dhis2-devs] WebAPI : New way to assign an orgUnit to an orgUnitGroup?

2017-07-20 Thread Farai Mutero
the WebAPI returns the following response: {"httpStatus":"Method Not Allowed","httpStatusCode":405,"status":"ERROR","message":"Request method 'PUT' not supported"} So what is the solution to achieve the above goal in 2.

Re: [Dhis2-devs] Detect password expiry via WebAPI

2017-07-20 Thread Farai Mutero
=userCredentials[passwordLastUpdated] > > On Tue, Jul 18, 2017 at 11:48 AM, Farai Mutero wrote: > >> Hi All >> >> Which WebAPI end-point can one use to check when a users password is set >> to expire? >> >> Regards >> >> -- >> Farai Mut

[Dhis2-devs] Detect password expiry via WebAPI

2017-07-18 Thread Farai Mutero
Hi All Which WebAPI end-point can one use to check when a users password is set to expire? Regards -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net

[Dhis2-devs] Update OrgUnit Attributes via WebAPI

2017-01-19 Thread Farai Mutero
Hi All Could some please confirm the endpoint to use to update an orgUnit attribute value {orgUnit.attributeValues} in 2.20. A pointer to the documentation if available or a quick example would be highly appreciated. Regards Farai Mutero ___ Mailing

Re: [Dhis2-devs] Enabling email access for registered users via Web API

2015-11-13 Thread Farai Mutero
t; On Thursday, 12 November 2015, Farai Mutero wrote: > >> Hi All >> >> DHIS2 has a very useful User Settings feature that allows one to set >> whether a user would like to receive email and SMS message notifcations >> from DHIS2. >> >> How do I go about

[Dhis2-devs] Enabling email access for registered users via Web API

2015-11-12 Thread Farai Mutero
nshot below: [image: Inline image 1] Regards -- Farai Mutero ___ 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

[Dhis2-devs] Recieving DHIS2 Messages In email client of choice

2015-09-03 Thread Farai Mutero
hanks -- Farai Mutero ___ 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

Re: [Dhis2-devs] Error When Creating User via Web API

2015-08-18 Thread Farai Mutero
t; >> But there is no such property on that object. It is the username you want >> to set. Then your call will work. >> >> "username": "Farai_Mutero", >> >> I'll paste the whole structure below. >> >> Regards, >> >>

[Dhis2-devs] Error When Creating User via Web API

2015-08-16 Thread Farai Mutero
he payload are from the Sierra Leone demo): curl -X POST -d @user_registration_payload.json " https://apps.dhis2.org/demo/api/users/"; -H "Content-Type:application/json" -u admin:district -v { "name": "Farai_Mutero", "displayName": &quo

[Dhis2-devs] Error Posting DataValueSet payload to DHIS2 via Web API

2015-07-14 Thread Farai Mutero
uot;status":"ERROR","description":"The import process failed: Failed to create statement","importCount":{"imported":0,"updated":0,"ignored":0,"deleted":0}} The DHIS2 server version I'm posting to is: Version:2.1

Re: [Dhis2-devs] User Account Registration via the Web API

2015-06-25 Thread Farai Mutero
uctured. > The property "password" should contain the clear-text password of the > user, and should be a child of the "userCredentials" node. > Once you create the XML/JSON payload as you like, then you can post this > to /api/metaData. > > Hope this helps. >

[Dhis2-devs] User Account Registration via the Web API

2015-06-25 Thread Farai Mutero
tand Jason Pickering presented this functionality recently in Livingstone, Zambia. The User Account Invitation process I'm referring to is documented here: https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s30.html#d5e3951 Regards -- Farai Mutero

[Dhis2-devs] Event Date location

2015-03-10 Thread Farai Mutero
t": "qrur9Dvnyt5", "value": "22" }, { "dataElement": "oZg33kd9taw", "value": "Male" }, { "dataElement": "msodh3rEMJa", "value": "2013-05-18" } ] } Regards -- Farai Mutero ___ 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

Re: [Dhis2-devs] Tracked Entity Instance Creation And Enrollment Payload Example

2015-02-25 Thread Farai Mutero
ntityInstance": "ZRyCnJ1qUXS", "program": "S8uo8AlvYMz", "dateOfEnrollment": "2013-09-17", "dateOfIncident": "2013-09-17" } I’m look

[Dhis2-devs] Tracked Entity Instance Creation And Enrollment Payload Example

2015-02-25 Thread Farai Mutero
as follows: -- Farai Mutero ___ 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

Re: [Dhis2-devs] MERRY CHRISTMAS

2014-12-24 Thread Farai Mutero
ore help : https://help.launchpad.net/ListHelp > > -- Farai Mutero ___ 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

[Dhis2-devs] DHIS2 Portal Demo Page broken

2014-12-17 Thread Farai Mutero
Hi Guys It seems like DHIS2 Portal page is broken (charts, tables and maps not rendering). Could you kindly assist? https://apps.dhis2.org/portal/ Regards -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs

[Dhis2-devs] Web-API Related Authorities

2014-12-15 Thread Farai Mutero
Hi Guys Which user security authority or combination or authorities can one use to create a User Role that gives associated users access to the Web API only and nothing else. Regards -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2-devs

Re: [Dhis2-devs] Clearing DHIS2 cache via the Web API

2014-10-05 Thread Farai Mutero
1 PM, Knut Staring wrote: > >> https://www.dhis2.org/doc/snapshot/en/user/html/ch32s25.html >> >> On Sun, Oct 5, 2014 at 5:08 PM, Farai Mutero wrote: >> >>> Hi Guys >>> >>> Is there any way to clear the DH

[Dhis2-devs] Clearing DHIS2 cache via the Web API

2014-10-05 Thread Farai Mutero
Hi Guys Is there any way to clear the DHIS2 cache using the Web API? Regards -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help

Re: [Dhis2-devs] Developer manual

2014-08-21 Thread Farai Mutero
Hi Jason This a most welcome development which will definitely revolutionize Web API driven web development. One issue which I recommend you to note would be: There have been so many changes in the Web API from 2.14 to 2.16 from the perspective of building apps on top of dhis2 such that there is

[Dhis2-devs] Disabling validation in attributes

2014-07-28 Thread Farai Mutero
values at hand. See screenshot below: [image: Inline image 1] -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https

Re: [Dhis2-devs] [Dhis2-users] API shifted from HTML to XML?

2014-07-14 Thread Farai Mutero
provide an app shortly after release. > > -- > Morten > > > On Tue, Jul 15, 2014 at 12:23 AM, Farai Mutero wrote: > >> Hi Guys >> >> I must say, seconding what Knut has pointed out, I'm a bit worried by >> this development especially from a rapid ap

Re: [Dhis2-devs] [Dhis2-users] API shifted from HTML to XML?

2014-07-14 Thread Farai Mutero
t;>>>>> >>>>>>> >>>>>>> -- >>>>>>> Knut Staring >>>>>>> Dept. of Informatics, University of Oslo >>>>>>> +4791880522 >>>>>>> http://dhis2.org &

Re: [Dhis2-devs] Displaying tomcat logs in DHIS2

2014-06-23 Thread Farai Mutero
com/p/psi-probe/) might give you what you need > however. > > Regards, > Jason > > > > > On Mon, Jun 23, 2014 at 4:10 PM, Farai Mutero wrote: > >> Hi Guys >> >> How does one pull or display tomcat log c

[Dhis2-devs] Displaying tomcat logs in DHIS2

2014-06-23 Thread Farai Mutero
Hi Guys How does one pull or display tomcat log contents via the Web API? Regards -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More

[Dhis2-devs] Adding new OU via Web API

2014-06-23 Thread Farai Mutero
do I go about it or can someone please point me to the right documention. N.B: I have the option of setting up a Curl driven server-based web service to facilitate the development of this functionality. Regards -- Farai Mutero ___ Mailing list:

Re: [Dhis2-devs] Metadata filtering in API no longer working?

2014-06-11 Thread Farai Mutero
rten >> > > > > -- > Knut Staring > Dept. of Informatics, University of Oslo > +4791880522 > http://dhis2.org > > ___ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : dhis2-devs@lists.laun

[Dhis2-devs] Data Element Category Combinations

2013-08-18 Thread Farai Mutero
t are also referenced in the *datavalue* table. My questions is, why *categoryoptioncombos? *Why link a datavalue table row to a *categoryoptioncomboid* instead of a* dataelementcategoryoptionid*? Regards -- Farai Mutero ___ Mailing list: https://launchpa

Re: [Dhis2-devs] Web API Pivot Table Layout

2013-07-29 Thread Farai Mutero
> ___ > 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 > > -- Farai Mutero ___

[Dhis2-devs] DHIS2 Portal Demo Pages Broken

2013-07-25 Thread Farai Mutero
Hi Guys I see the following pages on the DHIS2 Portal Demo site are broken. What could be the problem? http://apps.dhis2.org/portal/chart.html http://apps.dhis2.org/portal/carousel.html http://apps.dhis2.org/portal/table.html Regards -- Farai Mutero

Re: [Dhis2-devs] Uploaded Resource Location

2013-07-25 Thread Farai Mutero
Thanks Knut. Sorted! On Thu, Jul 25, 2013 at 12:50 PM, Knut Staring wrote: > Hi, I think these get stored in a "documents" folder in your DHIS2_HOME > directory (i.e. next to hibernate.properties) > > > On Thu, Jul 25, 2013 at 12:13 PM, Farai Mutero wrote: > &g

[Dhis2-devs] Uploaded Resource Location

2013-07-25 Thread Farai Mutero
Hi Guys If I upload a picture (be a .png or .jpg) as a resource in DHIS2, in which sub folder is it saved in as I need to give that particular folder write permissions in Ubuntu? Regards -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2

Re: [Dhis2-devs] Web API Pivot Table Layout

2013-07-24 Thread Farai Mutero
: >> http://apps.dhis2.org/demo/api/charts/UlfTKWZWV4u >> >> >> On Wed, Jul 24, 2013 at 8:07 PM, Farai Mutero wrote: >> >>> Thanks Jan for the feedback. Noted. >>> >>> The following querystring parameters *" >>> tableLayout=true&

Re: [Dhis2-devs] Web API Pivot Table Layout

2013-07-24 Thread Farai Mutero
rds Farai On Wed, Jul 24, 2013 at 7:38 PM, Jan Henrik Øverland < janhenrik.overl...@gmail.com> wrote: > Hi Farai, such layout is produced by the pivot tables client, so you > cannot get it directly from the server. > > > On Wed, Jul 24, 2013 at 6:44 PM, Farai Mutero wro

[Dhis2-devs] Web API Pivot Table Layout

2013-07-24 Thread Farai Mutero
nsion=dx:Jtf34kNZhzP;cYeuwXTCPkU;fbfJHSPpUQD;hfdmMSPBgLG&dimension=ou:USER_ORGUNIT_CHILDREN&dimension=pe:THIS_YEAR I get this view : [image: Inline image 1] Yet I would like the Pivot Table to have a layout like this : [image: Inline image 2] Regards -- Farai Mutero --

Re: [Dhis2-devs] Error when importing DHIS1.4 data file.

2013-07-22 Thread Farai Mutero
You can get it from dhis2.org/downloads in 30 min or build the source > yourself. > > Let us know if this fixes your problem. > > Lars > > > > On Fri, Jul 19, 2013 at 3:57 PM, Farai Mutero wrote: > >> Current user:admin Version:2.13-SNAPSHOT Build revisio

[Dhis2-devs] Error when importing DHIS1.4 data file.

2013-07-19 Thread Farai Mutero
qlMapClientImpl.queryForObject(SqlMapClientImpl.java:70) at org.hisp.dhis.importexport.dhis14.file.query.IbatisQueryManager.queryForObject(IbatisQueryManager.java:69) ... 14 more Regards -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2

Re: [Dhis2-devs] Importing Validation Rules through the Web API

2013-07-15 Thread Farai Mutero
> > Please note the wrapper element. After that you can POST your > xml to the metaData web api resource with something like this if using curl > and naming the file metaData.xml: > > curl -H "Content-Type: application/xml" -u admin:district -d @metaData.xml > "

[Dhis2-devs] Importing Validation Rules through the Web API

2013-06-27 Thread Farai Mutero
Hi Guys Could anyone please be kind enough to share the steps to import Validation Rules through the Web API? Please also provide a sample url and possibly a template csv file (if necessary). Your assistance will be much appreciated. Regards -- Farai Mutero