|
|
Documentation Wiki > Developer Documentation > XML API > XML API Calls and Sample Code > List Management > List Refresh Group
List Refresh GroupFrom $1(Click the banner to go to the related Docs.Code.ExactTarget.com page.) The List Refresh Group call refreshes the membership of an attribute- or rule-based group to reflect any changes in the attribute values of your subscribers. The call requires a groupID as input, and it returns an asyncID for the refresh request. You can obtain a groupID through a List Retrieve Groups (All Groups) call. To refresh multiple groups, send a separate call for each group. MethodTo refresh a rule-based group, use the following syntax: <system>
<system_name>list</system_name>
<action>refresh_group</action>
<sub_action/>
<search_value>1234</search_value>
<search_value2/>
</system>
ResultsThe successful completion of this script will return the <groupAsyncID> value, which you can use to check the status of this refresh with the Group Refresh Status Check command. <?xml version="1.0" ?>
<exacttarget>
<system>
<list>
<groupRefresh>
<groupID>363083</groupID>
<groupAsyncID>40594104</groupAsyncID>
</groupRefresh>
</list>
</system>
</exacttarget>
If the group ID you supplied belongs to a group based on random sampling or constant interval rather than on attribute rules, you'll receive the following result: <?xml version="1.0" ?>
<exacttarget>
<system>
<list>
<error>101</error>
<error_description>Error occurred during the group refresh event</error_description>
</list>
</system>
</exacttarget>
If an error in your call occurs, the error code will be returned in XML format for the appropriate error trapping routine to be implemented. This page was last updated by Ryan Williams on Fri, 06 Jan 2012 21:25:41 GMT. If you require assistance with the ExactTarget application, please contact Global Support. If you wish to send Ryan direct feedback, fill out the form below:
Tags: (Edit tags)
|
||||||
Powered by MindTouch 2010 |