postBenefitAssignment(benefitAssignmentId, providerId)

Updates Benefit Assignment records with Provider lookup, and creates Contact Contact Relationship and Party Role Relationship records for Mentoring participants.

  • benefitAssignmentId—(Required) The ID of the benefit assignment record.
  • providerId-(Required) The ID of the provider offering that's associated with the benefit assignment.

A Promise object that resolves with the MentoringBenefitAssignment response.

Call this function to update Benefit Assignment records with Provider lookup, and to create Contact Contact Relationship and Party Role Relationship records for Mentoring participants.

This example calls postBenefitAssignment() based on a Benefit Assignment ID and a Provider Offering ID. Replace the IDs with your own.

This component displays the response of the postBenefitAssignment() call.

See Also