Hi, we are seeing that, using /api/trackedEntityInstances api to create Tei still works, but if we add ‘enrollments’ in that same payload, this creating Tei api does not work anymore.
The error message says “TrackedEntityInstance does not exists.” with 409 httpStatusCode.
In previous versions, we could add ‘enrollments’ data when we create Tei, so that the enrollment is also done in one call to api. The DHIS2 developer document still says this is doable.
Is this a bug? Or has api been changed to not allow ‘enrollments’ when creating ‘trackedEntityInstance’?