public static MozuClient<com.mozu.api.contracts.shippingadmin.TargetRule> updateTargetRuleClient(com.mozu.api.contracts.shippingadmin.TargetRule targetRule, String code) throws Exception
	{
		return updateTargetRuleClient( targetRule,  code,  null);
	}
public static MozuClient < com . mozu . api . contracts . shippingadmin . TargetRule > updateTargetRuleClient ( com . mozu . api . contracts . shippingadmin . TargetRule targetRule , String code ) throws Exception { return updateTargetRuleClient ( targetRule , code , null ) ; }
<p><pre><code>
MozuClient<com.mozu.api.contracts.shippingadmin.TargetRule> mozuClient=UpdateTargetRuleClient( targetRule,  code);
client.setBaseAddress(url);
client.executeRequest();
TargetRule targetRule = client.Result();
</code></pre></p>
@param code User-defined code that uniqely identifies the channel group.
@param dataViewMode DataViewMode
@param targetRule The details of the updated target rule.
@return Mozu.Api.MozuClient <com.mozu.api.contracts.shippingadmin.TargetRule>
@see com.mozu.api.contracts.shippingadmin.TargetRule
@see com.mozu.api.contracts.shippingadmin.TargetRule