API to extract information

Hi all,

I were wondering if you could help me get data elements together with option sets attached to them through an API. The data elements are part of a tracker program.


hi @dmbantu

Maybe something like this is what you are looking for?


Otherwise, please consult the Developer documentation section on working with the Metadata API (Metadata - DHIS2 Documentation) for more detailed information.

Best regards,

Hi @jason

The following API request is giving only a list of data elements and their Ids and not option sets


I will also consult the developer documentation as you have mentioned.


Please copy the link again from the post. The first time there was an error with the Markdown and the link was cut into two halves which is the reason why you couldn’t see the optionsets :+1: