I established a subscription that listens for events on the Candidate entity:
Code: Select all
PUT https://{{bh_rest_api_url}}/{{bh_corp_token}}/event/subscription/my_candidate_subscription?type=entity&names=Candidate&eventTypes=INSERTED,UPDATED,DELETED&BhRestToken={{bh_rest_token}}
Code: Select all
GET https://{{bh_rest_api_url}}/{{bh_corp_token}}/event/subscription/my_candidate_subscription?BhRestToken={{bh_rest_token}}&maxEvents=100
2) I'm also receiving events for phantom candidates that don't exist (e.g. candidate ID 1,112,345) when our most recent applicant is 330,575. (Commas added for clarity)
3) Some of the phantom events name person IDs (CorporateUsers) that don't exist.
It's a bit disconcerting. Has anyone encountered such problems with subscriptions? This is happening frequently.
Though I can filter out events for entities other than the desired Candidate entity, the latter two issues make it difficult to discern true errors from false positives.
Thank you.
(Note that the doubly curly bracketed variables are Postman environment variables.)