The GiftlistLookupActor is used to view a customer’s gift list. This actor is located at: /atg/commerce/gifts/GiftlistLookupActor, and contains the info actor-chain.

Parameter

Description

giftlistId

The ID of the gift list to view.

View Gift List Example
curl -L -v -b customer_cookies.txt -H "Content-Type: application/json" -d "{
\"giftlistId\" : \"gl430003\"}" "http://localhost:8280/rest/model/atg/commerce/
gifts/GiftlistLookupActor/info"

The server response may be similar to the following:

{"giftlist": {
  "giftlistItems": [],
  "instructions": "",
  "description": "Upcoming birthday gifts.",
  "name": "Birthday",
  "public": true,
  "date": {"time": 1386521853000},
  "type": "Birthday",
  "repositoryId": "xgl20004",
  "addressId": "se-980030"
}

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