The officerId used to get an officer’s appointment appears to be totally different to the officer id for disqualified officers, even if they are both the same person.
For example, for this person ( picked randomly )
The officer id for appointments is (HX2gL3WrEoUaFbb6XgqFZ8UOyAE)
But for disqualifications, for the same person , the id is (tF4JHa6LsgNcjB200HPsbZE7uVI)
In the app that I have built, the users need to be able to view the disqualifications for an officer listed along with the appointments. But as the two ids are totally different, is there a way to find out an officer’s disqualifications based on his/her id which I used to get his/her appointments?
Ideally, we’d like to avoid two separate searches:
First search to search for ‘Mubasher Tahir’, to view his appointments.
Another separate search for ‘Mubasher Tahir’, to view the disqualifications.
This seems a bit odd. If I can get an officer’s appointments using their Id, shouldn’t I be able to get their disqualifications using the same Id ? Because otherwise I have no way of knowing if two Mubasher Tahir’s are the same person or different.