Openmrs REST API Visits Endpoints

Application Name: Reference Application Version Number: 2.6.0

Ok, I have checked the endpoints available from the OpenMRS rest API, I am trying to get the active visits. It can be done by using this endpoint /visit and then I have to filter the visits that have not finished… But I want to know if you guys know a way to do this directly from the endpoint and not getting all the visits and then filter the ones that are active.

All existing REST endpoints (swagger) are available under Administration -> Rest Web Services -> API Documentation . Hope this might be helpful for you. :slight_smile:

Regards, Jude Niroshan

I already checked them :(… I think I have to extend that api by myself… Are there any examples available of how to expand that API (create my own endpoints) using Spring? The last time I tried to understand how to program a module I got confused by all the XML’s files generated…