When a new applicant is added to Reapit, negotiators will search for any applicants that are active that match this new one to prevent duplicating contacts, or worse linking a new applicant to an old contact.
However, this is not currently possible by API without a number of API calls which is slow and expensive.
Current workaround
To do it right now I need to:
Search for all active contacts with the same email address from the same office
For each contact, get their relationships
For each applicant relationship, compile a list of applicants
Search applicants for active ones with this subset of applicant ID's
Map that back internally to get a final list of relevant contacts
So 1 contact with 3 applicant records would take 6 API requests, 2 contacts would take 10, 3 would take 14 etc
Ideal solution
Add ability to search for applicant by contact email address (ideally) and/or an array of contact ID's.
When a new applicant is added to Reapit, negotiators will search for any applicants that are active that match this new one to prevent duplicating contacts, or worse linking a new applicant to an old contact.
However, this is not currently possible by API without a number of API calls which is slow and expensive.
Current workaround
To do it right now I need to:
So 1 contact with 3 applicant records would take 6 API requests, 2 contacts would take 10, 3 would take 14 etc
Ideal solution
Add ability to search for applicant by contact email address (ideally) and/or an array of contact ID's.