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
- Type:
ConnectApi.InsuranceContactsAndUsersCreationInputRepresentation - Details to create contacts and users.
createPortalUsers
- Type: Boolean
- Indicates whether to create portal users for the new contacts (
true) or not (false). The default value isfalse.
Type: ConnectApi.InsuranceContactsAndUsersCreationRepresentation
Here’s an example of how to invoke the Insurance Create Contracts API from Apex code.