AccountClientRequestManagementGroupAccountActivation Method |
Generates an Account Activation Request RSN.
The Account Activation Request RSN value can be passed to the Web Service Method: Account Activation to set an Account Status to Active.
public Result RequestManagementGroupAccountActivation( ManagementGroupAccountRequest requestAccountActivation )
using (var svc = new AccountService.AccountClient()) { //This method does not require a Token var request = new AccountService.ManagementGroupAccountRequest(); request.AccountName = "Account Name"; //Required - Could be card number/partner name/email address request.EmailTemplate = "ACCOUNT_ACTIVATION_TEMPLATE_ID"; //Required request.ManagementGroup = "Management group"; //Required AccountService.Result result = svc.RequestManagementGroupAccountActivation(request); if (result.FaultCode == 0) { //Request succeeded } else { //Request failed throw new Exception(result.FaultDescription); } }