[Dhis2-devs] Updating multiple events via the WebAPI

2018-08-28 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
d": "bCNA5mqP6Az" } } ] } The summary response I get after posting the payload is : {"importParams":{"importMode":"COMMIT","identifier":"UID","preheatMode":"REFERENCE","importStrategy&quo

[Dhis2-devs] Update User Password Via Web API

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

[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 <kaso...@gmail.com> wrote: > I am trying

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

2017-07-20 Thread Farai Mutero
llowing 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.27? Regards -- Farai Mutero __

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

2017-07-20 Thread Farai Mutero
a given user: > ?fields=userCredentials[passwordLastUpdated] > > On Tue, Jul 18, 2017 at 11:48 AM, Farai Mutero <fmut...@gmail.com> wrote: > >> Hi All >> >> Which WebAPI end-point can one use to check when a

[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
e > directly > > > On Thursday, 12 November 2015, Farai Mutero <fmut...@gmail.com> 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 &g

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

2015-11-12 Thread Farai Mutero
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
-- 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
to set. Then your call will work. username: Farai_Mutero, I'll paste the whole structure below. Regards, Mark { name: Farai_Mutero, displayName: Farai Mutero, surname: Mutero, firstName: Farai, phoneNumber: +27011022033, email:fa...@hisp.org, employer: HISP

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

2015-08-16 Thread Farai Mutero
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: Farai Mutero, surname: Mutero, firstName: Farai, phoneNumber

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

2015-07-14 Thread Farai Mutero
:2015-05-18 23:21 Can someone please enlighten me on what the error may be? Regards -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More

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

2015-06-25 Thread Farai Mutero
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. Best regards, Jason On Thu, Jun 25, 2015 at 9:39 AM, Farai Mutero fmut...@gmail.com wrote: Hi Guys I have been informed

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

2015-06-25 Thread Farai Mutero
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 ___ Mailing

[Dhis2-devs] Event Date location

2015-03-10 Thread Farai Mutero
: admin, coordinate: { latitude: 59.8, longitude: 10.9 }, dataValues: [ { dataElement: qrur9Dvnyt5, value: 22 }, { dataElement: oZg33kd9taw, value: Male }, { dataElement: msodh3rEMJa, value: 2013-05-18 } ] } Regards -- Farai Mutero

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

2015-02-25 Thread Farai Mutero
: -- 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
-09-17 } I’m looking for the xml example of the same. Could you kindly assist? Regards *Farai Mutero* Software Development Team *Health Information Systems Program (HISP) - SA --* Email: fa...@hisp.org

Re: [Dhis2-devs] MERRY CHRISTMAS

2014-12-24 Thread Farai Mutero
/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

[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] Clearing DHIS2 cache via the Web API

2014-10-05 Thread Farai Mutero
Staring knu...@gmail.com wrote: https://www.dhis2.org/doc/snapshot/en/user/html/ch32s25.html On Sun, Oct 5, 2014 at 5:08 PM, Farai Mutero fmut...@gmail.com wrote: Hi Guys Is there any way to clear the DHIS2 cache using the Web API? Regards -- Farai Mutero

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
/~dhis2-users Post to : dhis2-us...@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp -- Farai Mutero ___ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs

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

2014-07-14 Thread Farai Mutero
shortly after release. -- Morten On Tue, Jul 15, 2014 at 12:23 AM, Farai Mutero fmut...@gmail.com wrote: Hi Guys I must say, seconding what Knut has pointed out, I'm a bit worried by this development especially from a rapid app development perspective. I for one, am totally reliant on the json

[Dhis2-devs] Adding new OU via Web API

2014-06-23 Thread Farai Mutero
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: https

[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

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

2014-06-23 Thread Farai Mutero
give you what you need however. Regards, Jason On Mon, Jun 23, 2014 at 4:10 PM, Farai Mutero fmut...@gmail.com wrote: Hi Guys How does one pull or display tomcat log contents via the Web API? Regards -- Farai Mutero ___ Mailing list

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

2014-06-11 Thread Farai Mutero
Unsubscribe : https://launchpad.net/~dhis2-devs More 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

[Dhis2-devs] Data Element Category Combinations

2013-08-18 Thread Farai Mutero
that 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://launchpad.net

[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] Uploaded Resource Location

2013-07-25 Thread Farai Mutero
Thanks Knut. Sorted! On Thu, Jul 25, 2013 at 12:50 PM, Knut Staring knu...@gmail.com 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 fmut...@gmail.com wrote: Hi Guys

[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

[Dhis2-devs] Web API Pivot Table Layout

2013-07-24 Thread Farai Mutero
=dx:Jtf34kNZhzP;cYeuwXTCPkU;fbfJHSPpUQD;hfdmMSPBgLGdimension=ou:USER_ORGUNIT_CHILDRENdimension=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 -- Farai Mutero

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

2013-07-24 Thread Farai Mutero
Ø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 fmut...@gmail.com wrote: Hi Guys I'm using the Web API to design an html report displaying

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

2013-07-24 Thread Farai Mutero
/UlfTKWZWV4u On Wed, Jul 24, 2013 at 8:07 PM, Farai Mutero fmut...@gmail.com wrote: Thanks Jan for the feedback. Noted. The following querystring parameters * tableLayout=truecolumns=dx;ourows=pe* found in the Web API documentation just provided what I was looking for : api/analytics.html

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 fmut...@gmail.com wrote: Current user:admin Version:2.13-SNAPSHOT Build revision:11315 Build date:2013-07-03 05:02

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

2013-07-19 Thread Farai Mutero
(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-devs Post to : dhis2-devs

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

2013-07-15 Thread Farai Mutero
: application/xml -u admin:district -d @metaData.xml http://your-server-url/api/metaData; -X POST regards, Lars On Thu, Jun 27, 2013 at 5:25 PM, Farai Mutero fmut...@gmail.com wrote: Hi Guys Could anyone please be kind enough to share the steps to import Validation Rules

[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