Is there an API to update a program stage and add new data elements?
Have you checked out the Using API docs? It does detail here the topics related to Tracker:(https://docs.dhis2.org/en/develop/using-the-api/dhis-core-version-237/tracker.html#tracker) Thanks!
Hi @Gassim ,
I can’t find what I’m looking for in the above link. I want to update an existing program stage as metadata and assign more data elements to it. Thank you
So, yes, I understand you now, thanks! After following the process we discussed in your other topic about creating data elements (Create data element API payload), you will use the programStage schema to perform an update [in the same way as you used the dataElement schema].