Hello everyone,
I am developing a restful API that deserves some services to a front end module using OpenMRS rest API.
For example, I have two Classes Region and District, where one class (District) contains an attribute linked to the other. When attempting to get the list of District using rest API, I got this error.
Here is the RequestResource of my classes.
you would create Resources for both the entity data models
and then this property would reference the resource Representation of the other Region Resource