...
To see all the Rest Call visit - API Documentation
Response Format
OpenMRS allows us to offer both json and xml formats for every object. If you want to receive a json response, be sure to insert a header of "Accept: application/json". If xml is your thing, use "Accept: application/xml".
...