← Back to team overview

dhis2-devs team mailing list archive

Re: async metadata import in 2.27

 

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 <vshioshvili@xxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References