Hi It should work like that. Would you mind writing a JIRA issue? jira.dhis2.org
-- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Thu, Aug 3, 2017 at 12:03 PM, Vladimer Shioshvili <vshioshv...@gmail.com> wrote: > 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_manual_full.html#webapi_metadata_import), and I am using api > version 26. Is it something i am doing wrong? > > This is the curl command i am using: > > curl -X POST 'https://domain/api/26/metadata?atomicMode=NONE&async=true' > --data-binary @file.xml -H 'Content-Type:application/xml' > > > Thanks! > > 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 > >
_______________________________________________ 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