The getOffersForMultipleInteractionPoints method enables you to request offers from the runtime server for multiple IPs with deduplication.
sessionID — a string identifying the current session.
requestStr — a string providing an array of GetOfferRequest objects.Each GetOfferRequest object specifies:
ipName — The interaction point (IP) name for which the object is requesting offers
numberRequested — The number of unique offers it needs for the specified IP
offerAttributes — Requirements on the attributes of the delivered offers using an instance of OfferAttributeRequirements
duplicationPolicy — Duplication policy ID for the offers that will be deliveredDuplication policies determine whether duplicated offers will be returned across different interaction points in a single method call. ( Within an individual interaction point, duplicated offers are never returned.) Currently, two duplication policies are supported.
NO_DUPLICATION (ID value = 1). None of the offers that have been included in the preceding GetOfferRequest instances will be included in this GetOfferRequest instance (that is, Interact will apply de-duplication).
ALLOW_DUPLICATION (ID value = 2). Any of the offers satisfying the requirements specified in this GetOfferRequest instance will be included. The offers that have been included in the preceding GetOfferRequest instances will not be reconciled.The getOffersForMultipleInteractionPoints method waits the number of milliseconds defined in the segmentationMaxWaitTimeInMS property for all re-segmentation to complete before running. Therefore, if you call a postEvent method which triggers a re-segmentation or a setAudience method immediately before a getOffers call, there may be a delay.
The runtime server responds to getOffersForMultipleInteractionPoints with a Response object with the following attributes populated:
[[replace this getOffers example with getOffersForMultipleInteractionPoints example]]
sessionId is the same string to identify the runtime session used by the startSession call which started this session.
IBM Unica Interact
8.5.0
|
Copyright IBM Corporation 2011. All Rights Reserved.
|
For more information, see our support and community site: Customer Central
|
|