← Back to team overview

dhis2-devs team mailing list archive

async metadata import in 2.27

 

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

Follow ups