Trying to create TEI using the dhis2-java-client

Hi Everyone,

I’m working with the dhis2-java-client (latest version from maven repo) and while it works like a charm to create objects like OrgUnits, I’m not finding how to create TEI through the java client.

Am I doing it wrong ? Is there a separate client or sdk for the tracker part of the API ?

thanks in advance

Hi @Arnaud_Demarcq

Thanks for your post. It’s not common to see developers asking about the DHIS2 Java SDK so I’m really curious in knowing why use it instead of using the API directly (which is the more common case).

There is no separate SDK for the tracker. Are you getting any exception or error that you could share? Could you share the part of the script where you are trying to create a TEI?

Thank you!


Thanks for your reply. We ended up calling the API directly as you suggest.

Thanks !

1 Like