How do you get a range of encounters from the Openmrs REST API?

Hi, -How we get all the latest encounters, in between the two dates. - I have two dates, start and end date and I have also encounter type, i need to fetch all the recent encounter date in between the dates.

Note: Openmrs version: 1.11.4

Did you try using the “encounterType”, “fromdate” and “todate” parameters?

yup fromdate and todate use with patient uuid. this doesn’t work for me.

Can you give details of the url you are posting to and the full data you are sending. Can you also describe what you mean by it does not work. Does that mean you are getting an error? If yes, you need to paste that error at for us to see and help.