I’ve extended the OpenMRS tables for a module. Then I added the rest
calls for it. The calls work fine with uuid but not with the request
parameter. It does bring the data in an array but shows null object.
I don’t fully understand what’s going on, can you share the entire code for your rest resource?
And remember to always use ask.openmrs.org when seeking help. talk.openmrs.org is meant for discussions
You didn’t include the request you are making for this resource.
My guess is that you are trying to request the “display” field in your custom representation. There is currently a bug (which I just fixed, but hasn’t been released yet) where you can’t include the “display” property when requesting a custom representation. It looks like you copied the incorrect code findMethod(“getDisplayString”) into your resource.