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 |
|---|---|
| This Boolean parameter, if set to |
| Filter sites when searching. |
| Include disabled sites in the view. |
| Indicates the direction that the results are sorted. |
| Indicates the field used to sort the results. |
| The number of results that are displayed per page. |
| 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"
}]
}
