Skip to content
  • There are no suggestions because the search field is empty.

SendUserAssociation (Push Method)

SendUserAssociation

Creates an association between a Vendor User and a Carrier (Company).
Only Vendor Admins can create user associations. Vendor Users are not allowed to make associations.

Request
Parameter Type Description
Company String Required. Company (Carrier) identifier from GetCompanies.
User String Required. User email to associate.
ReviewType String Required. One of: Internal Review, System Review, Direct.
UserType String Required. One of: Default, Default TPC.
UserAccount String Optional. Internal user account ID, if applicable.
Response
Parameter Type Description
Success Message String Returned when the association is created successfully.
Errors Array Contains error message(s) should an error occur.
Example (C#)

 

// setup request parameters
ParametersForUserAssociation objUserAssociationParams = new ParametersForUserAssociation
{
    Company = "Carrier name",
    User = "testuser@emailadress.com",
    ReviewType = "Direct",   // Internal Review | System Review | Direct
    UserType = "Default"     // Default | Default TPC
};

dynamic SendUserAssociationResponse = apiClient.SendUserAssociation(objUserAssociationParams);
Console.WriteLine("Send User Association Response: {0}", SendUserAssociationResponse);