-- Forwarded message -
From: Vladimer Shioshvili
Date: Tue, Dec 6, 2016 at 6:04 AM
Subject: couple questions about dataValueSets API
To:
1) just to confirm, web api only accets uncompressed file, right? and it's
the import/export app that is capable of handling zip fil
In earlier versions of DHIS2 (e.g. 2.21) approval level was a selectable
option in the table options, but it does not seem to be there any more. Am
I missing something?
Thanks,
Vlad
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-
After updating 2.24 from revision 02e7467 to acdc17b I started getting 502
Bad Gateway error back when sending a number of small analytics calls in
sequence. It used to work in revision 02e7467. Any ideas?
___
Mailing list: https://launchpad.net/~dhis2-de
Once tasks says that import is complete, you can use:
api/system/taskSummaries/DATAVALUE_IMPORT to get the summary.
Best,
Vlad
On Thu, Jun 8, 2017 at 8:35 AM Pooben Dass wrote:
> Hi Devs
>
> Please can you assist me is finding the api endpoint to check the import
> summary once an async import
Hi Everyone,
I am trying to figure out if it is possible to upload a file to analytics
reporting (document) via API, rather than via UI (reports app).
I can query and download via api/documents (
https://docs.dhis2.org/2.27/en/developer/html/dhis2_developer_manual_full.html#webapi_viewing_analyti
Hi everyone,
I am trying to import xml metadata (org units) into 2.27, and async=true
query parameter does not seem to make a difference - and it still goes in
synchronously. It is in the documentation for 2.27 (and 2.26 and 2.25 -
https://docs.dhis2.org/2.26/en/developer/html/dhis2_developer_manu
rns immediately with a
*Location* header
pointing to the location of the *importReport*.
And there is no location returned with the 204 (which is not the right HTTP
code anyway).
I am also concerned about the time - when doing this with some PEPFAR
countries, hierarchy with 14 thousand OUs took 8 hours to import
I am getting really large import time discrepancies between 2.26 and 2.27.
I stand up a blank DHIS2 locally with postgres 9.5. Import one very small
file (attribute definition used in org units, and one level 1 and one level
2 org units). That takes under one second in both.
Then I try to import
I noticed that when doing mergeMode=MERGE on organisationUnit couple
attributes get "reset" if they are not provided: created gets set to the
date of import, and featureType gets reset to NONE. If they are provided,
they get set to the provided value. Is this expected behavior?
Best,
Vlad
Hi Omer,
api/metadata endpoint is used for creating new data elements. You can read
more about it in the developer's manual:
https://docs.dhis2.org/2.27/en/developer/html/dhis2_developer_manual_full.html#webapi_metadata_crud
Same section, specifically 1.9.4 -
https://docs.dhis2.org/2.27/en/develo
Benjamin,
It looks like your goal is to change the parent. In that case this is the
PATCH format to use:
PATCH http://localhost:8080/api/organisationUnits/uwxbuyaEU2j/parent
{"parent":"hyAZBROiSX5"}
https://docs.dhis2.org/2.24/en/developer/html/dhis2_developer_manual_full.html#d7652e1702
Best
Leke,
Have a look at the documentation, it gives the example of the csv import
file format:
https://docs.dhis2.org/2.27/en/developer/html/dhis2_developer_manual_full.html#webapi_data_values_csv
You need to specify data element and category option combo in separate
columns.
Vlad
On Mon, Jul 9, 2
Are you using Java 9 or higher? because, starting with Java 9, xml
components are now modules that you need to specify to be included.
You can either add "--add-modules java.xml.bind" to JAVA_OPTS environment
variable or edit catalina.bat/catalina.sh to hard code it. But keep in mind
that --add-mo
Greg,
When you send the more complete user object, do you include the
userCredential object's id?
Vlad
On Tue, Aug 14, 2018 at 5:16 AM Greg Wilson wrote:
> Can someone tell me what I am doing wrong here? According to the docs (
> https://docs.dhis2.org/2.29/en/developer/html/dhis2_developer_ma
Hey Greg,
The section of the documentation you included has a reference to the user
object schema, which specifies that for the user object only firstName and
surname are required (/api/schemas/user). I've just tried in 2.27 (not sure
if things changed in 2.29) and this is the minimal package i wa
It is possible. Just do post with a zip file as binary content, but keep
the content type Application/add+xml
It works both for synchronous and async imports.
Note, that at some point in earlier revisions of 2.27 and prior versions,
content type was application/xml+adx
On Fri, Aug 24, 2018, 14:4
We have a sql view that includes a timestamp in it (dhis2 version 2.29),
and we are trying to filter the output, but get invalid filter error (409).
{
"httpStatus": "Conflict",
"httpStatusCode": 409,
"status": "ERROR",
"message": "Invalid filter => approvaltime:eq:2018-10-17 14:56:36.243"
We faced the same issue, and I have brought it to Lars' attention, and he
is aware of the issue. According to him, DHIS2 will be addressing this by
changing square brackets in the long term, but in the short term solution
you can make square brackets be exempted on the tomcat side by using
relaxedQ
18 matches
Mail list logo