postInsuranceCreateContacts(createContactsInputParam, createPortalUsers)

Create contacts and portal users for group census members.

65.0

No

public static ConnectApi.InsuranceContactsAndUsersCreationRepresentation postInsuranceCreateContacts(ConnectApi.InsuranceContactsAndUsersCreationInputRepresentation createContactsInputParam, Boolean createPortalUsers)

createContactsInputParam

createPortalUsers

  • Type: Boolean
  • Indicates whether to create portal users for the new contacts (true) or not (false). The default value is false.

Type: ConnectApi.InsuranceContactsAndUsersCreationRepresentation

Here’s an example of how to invoke the Insurance Create Contracts API from Apex code.