Exemplo n.º 1
0
        /// <summary>
        /// If you wish to have duplicate checking for newly added accounts, this is how you would do it
        /// </summary>
        public AllAccountsModel AddAccountWithDuplicateChecking(string orgCode, string firstName, string lastName, string email)
        {
            var myAccount = new AllAccountsModel
            {
                Organization = orgCode,
                FirstName    = firstName,
                LastName     = lastName,
                Email        = email,
                Class        = USISDKConstants.AccountClass.Contact
            };

            return(APIUtil.AddAccountWithDuplicateCheck(USISDKClient, myAccount));
        }