How to export an event program?

Dear All

I have created an event program using DHIS2 2.29.
Then I export this program using “Metadata Export with Dependencies”.
Now I have the promme exported as XML and Json. but i dont know how to import it for use on another DHIS2 platform.
is there anyone who can tell me how to do this.

Best Regars

Hey @elmoujarrade,

Thanks for your question! If you exported the file from import/export app - metadata export with dependencies page, you can import it using the same app, metadata import page.

If you are using the API, you can just POST the content of that file to the /metadata endpoint.

Hope this helps,