The GiftlistTableActor allows an agent to display a list of all of the customer’s gift or wish lists. This actor is located at /atg/commerce/custsvc/gifts/GiftlistTableActor, and contains the list actor-chain.

Parameter

Description

doOwnerSearch

This Boolean parameter, if set to true, restricts search results to the current customer.

doSiteFilterSearch

Filter sites when searching.

includeDisabledSites

Include disabled sites in the view.

sorDirection

Indicates the direction that the results are sorted.

sortField

Indicates the field used to sort the results.

resultsPerPage

The number of results that are displayed per page.

currentPage

The paging results of the search to display.

View Customer List of Gift List Example
curl -v -b agent_cookies.txt -H "Content-Type: application/json" -d "{
"doOwnerSearch" : false, "doSiteFilterSearch": false, "includeDisabledSites" :
false, "sortDirection": "desc", "sortField" : "eventName", "currentPage": 1,
"resultsPerPage": 5 }" "http://localhost:8180/rest/model/atg/commerce/custsvc/
gifts/GiftlistTableActor/list"

A possible server response might be:

{
  "resultsPerPage": 10,
  "totalItemCount": 1,
  "currentPage": 0,
  "giftlists": [{
    "giftlistItems": [],
    "instructions": null,
    "description": null,
    "name": null,
    "public": true,
    "date": {"time": 1364308351415},
    "type": null,
    "repositoryId": "gl130274"
    "addressId": "230327"
  }]
}

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices