Member Change Username

From KickApps API Reference

Jump to: navigation, search

Member change username must be invoked every time users update their user name on the affiliate site.

To view the validation rule of parameters for this call, see Complete List of KickApps Supported Params

Note: Not all parameters from "Complete List" are supported in this call. Refer to the "Example Request" for the supported parameters instead.

Example Request

<?xml version="1.0" encoding="UTF-8"?>
<KassoRequest xmlns="http://schemas.kickapps.com/services/soap" requestName="changeUserName">
<Param paramName="affiliateUserName" paramValue="affiliate_X" />
<Param paramName="affiliateEmail" paramValue="affiliate_X@affiliate.com"/>
<Param paramName="affiliateSiteName" paramValue="AffiliateSite"/>
<Param paramName="userName" paramValue="JohnDoe"/>
<Param paramName="newUserName" paramValue="JDoe"/>
<Param paramName="email" paramValue="John.Doe@affiliate.com"/>
<Param paramName="genRestApiToken" paramValue="T"/>
<!--Optional Field. Pass 'T' to view member's token on SOAP respond.
Pass 'F' or empty data to hide member's token from SOAP respond. SSO site has to enabled API setting.
If the site has not enabled API setting yet, this parameter will not have any affect -->
</KassoRequest>

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<KassoResponse xmlns="http://schemas.kickapps.com/services/soap" responseType="changeUserName">
<Param paramName="userRequestStatus" paramValue="User name updated successfully."/>
<Param paramName="restApiToken" paramValue="JeTSQY4WBkdbGI0Wao/HdVy44l7aTLNc"/>
 
</KassoResponse>