The getPromotionsAsXML Web service looks up the given profile ID and for each available promotion and returns an xml representation of the promotion using the GetService and the mappingFileName as configured on PromotionTools. Both active promotions in the profile and global promotions are returned.

Servlet Name

getPromotionsAsxML

Input Parameters

profileId – The ID of the profile for the customer whose promotions will be retrieved.

Output

An XML representation of each active promotion in the profile

Web Service Class

atg.commerce.promotion.PromotionTools

Nucleus Component

/atg/commerce/promotion/PromotionTools

Method

getPromotionsAsXML(String pProfileId)

Executes within a session

Yes

WSDL URL

http://hostname:port/commerce/promotion/getPromotionsAsXML?WSDL

Endpoint URL

http://hostname:port/commerce/promotion/getPromotionsAsXML/getPromotionsAsXML

Security FunctionalName

profileOwnerOperation

Repository Component

/atg/commerce/catalog/ProductCatalog

Item Descriptor

promotion


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