Deprecated feature

InterestItemListDelete URL

This site level command deletes the specified interest item lists and all items in them.

URL structure

http:// host_name/path/
The fully qualified name of your Transaction server and the configuration path.

Parameter values

langId
Sets or resets the preferred language for the duration of the session; the supported languages for a store are found in the STORELANG table.
forUser
The logon ID of the user on whose behalf the command will be run; only a person with the authority to process orders can specify this parameter.
forUserId
Same as forUser, but identifying the user by the internal user ID, as found in the USERS table.
URL
Required: The URL to be called when the command completes successfully.
storeId
The store reference number under which this URL is run. If the value for this parameter is carried from the previous command, storeId is not required, otherwise, specify storeId.
listId
Specifies the interest item lists which should be deleted; abbreviations may be used.
  • If "." is specified, the GetCurrentIIListsCmd process task is invoked to obtain the current interest item lists, and the command behaves as if the current interest item lists were specified. If there are none, the most recently updated interest item list is used.
  • If "*" is specified, the command behaves as if all customer's interest item lists were specified.
This parameter can be repeated.
listIdName
Upon completion of this URL, if redirection is used to cause a second command to run, then listIdName specifies the parameter name of the second command that will use the value of the listId parameter in this first command. Most often, the second command also has a listId parameter and thus &listIdName=listId. This parameter can be repeated.

Example

This example deletes all of a specified customer's interest item lists and the items in them:


http://host_name/webapp/wcs/stores/servlet/InterestItemListDelete?
listId=*&URL=/webapp/wcs/stores/servlet/InterestItemDisplay

Behavior

  • The command calls the GetCurrentIIListsCmd task command when there is a need to determine customer's current interest item lists.
  • The AuthIIListAccessCmd task command is called to verify write permission for each of the specified interest item lists before it is deleted.
  • Deletes the specified interest item lists by removing the rows from the IITEMLIST database table. All interest items in the deleted interest item lists are also deleted at the same time.

Exception conditions

If the task command assigned to the AuthIIListAccessCmd process task fails, it sets the AuthIIListAccessErr exception task to handle the error.