Add the provider’s contact ID to the benefit assignment record. Create Party-Role Relationship (PRR) and Contact Contact Relationship (CCR) records if the records aren’t already present.
A PRR refers to a matching record between a mentor and a mentee depending on the benefit provided and sought after. A CCR is a record that represents contact relationships between corresponding mentors and mentees, indicating the connection between a mentor contact and a mentee contact.
The benefitAssignmentId parameter is the ID of the benefit assignment record. In a mentorship benefit scenario, a benefit assignment record represents the connection between a mentor, a mentee, and the benefit that’s provided.