cowinapi / developer.cowin

This group is created to facilitate technical and integration discussions related to cowin platform. API related contents can be obtained at API setu portal https://apisetu.gov.in/public/marketplace/api/cowin
115 stars 30 forks source link

Age groups -- new API changes #482

Open pawank0411 opened 3 years ago

pawank0411 commented 3 years ago

As per new API changes, I can see now different age groups (18 & above, 18-44 Only, and 45 & above).

But one issue I found that when a user selects age group 45 & above the Co-WIN algorithm only shows the sessions with min_age_limit: 45 but if we see logically sessions with min_age_limit: 18, allow_all_age: true  OR only min_age_limit: 18 is also valid sessions for 45 & above.

This behavior is only found while listing sessions, on the other side the Co-WIN algorithm allows 45 & above people to book sessions with min_age_limit: 18, allow_all_age: true  OR only min_age_limit: 18.

So just to avoid confusion, please take the necessary action.