Skip to main content

Hi all, i'm trying to read treatment plans that were created between january 1 and january 4. Per the API documentation i call the endpoint like so:

https://api.dentally.co/v1/treatment_plans?created_after=2024-01-01&created_before=2024-01-04

 

However, this returns all treatment plans. The first record returned has a created_at value of 2024-10-10 (today). No matter what dates i enter for created_after and created_before, it always gives me the same response. Am i doing something wrong here? Or is there a bug in the Dentally API?

Hello @enzolima!

I looked into this and it seems you have found a bug! I’ve fixed this now, and the created_before and created_after filters should now work as expected. Any further problems, do let us know!  Apologies for the buglet, and many thanks for reporting it.

Cheers,

Phil
Dentally Engineering Staff


Thanks Phil! Works like a charm again :)


Reply