Hi Vlad,

unfortunately this is not currently supported. I agree this makes total
sense and we can add support for this in the documents API resource.

I have written an issue here:

https://jira.dhis2.org/browse/DHIS2-1838

We can potentially backport to 2.27.

regards,

Lars


On Wed, Jun 14, 2017 at 6:03 PM, Vladimer Shioshvili <vshioshv...@gmail.com>
wrote:

> 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_analytical_resource_representations), which is good, but
> need uploading part as well.
>
> Any thoughts?
>
> Best,
> Vlad
>
> _______________________________________________
> 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
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
l...@dhis2.org
http://www.dhis2.org <https://www.dhis2.org/>
_______________________________________________
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

Reply via email to