com.ibm.commerce.tools.optools.user.commands

Interface CSRCustomerInfoCreateCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, ToolsControllerCommand


    public interface CSRCustomerInfoCreateCmd
    extends ToolsControllerCommand

    Creates customer registration information by calling UserRegistrationAdminAddCmd.

    URL calling syntax:

    • Https://host_name/path/CSRCustomerInfoCreateCmd?XML=xml_string
    Parameters:
    XML
    An input xml_string that contains the all required data for creating the registration information for the customer.
    For example:
           <?xml version="1.0" encoding "UTF-8">
           <userUpdated>false</userUpdated>
           <userProfileUpdated>true</userProfileUpdated>
           <addressUpdated>true</addressUpdated>
           <demographicsUpdated>false</demographicsUpdated>
           <userRegUpdated>false</userRegUpdated>
           <certStatusUpdated>false</certStatusUpdated>
           <customerId>20000</customerId>
           <profileInfo>
               <addressId>7777</addressId>
               <lastName>Smith</lastName>
               <firstName>John</firstName>
               <middleName>M.</middleName>
               <title>1</title>
           </profileInfo>
           <addressInfo>
           <address1>8200 Warden Ave.</address1>
           <address2>Building A2</address2>
           <address3>Unit 999</address3>
           <city>Markham</city>
           <state>Ontario</state>     
           <country>Canada</country>
               <zip>L3N 3R6</zip>
           </addressInfo>
           </xml>
     

    Exceptions:

    • Based on Locale/Language, some fields for the customer registration are required. Once missing, this command will throw exception to indicate which field is missing.
    • Field Detail

      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        name of the default implementation of this command
        See Also:
        Constant Field Values