Siebel Marketing Installation and Administration Guide > Installing and Configuring Email Marketing > SOAP Calls for Marketing >

saveResultSet Method


API Definition

<xsd:element name="saveResultSet">
   <xsd:complexType>
      <xsd:sequence>
         <xsd:element name="segmentPath" type="xsd:string" minOccurs="0" maxOccurs="1" />
         <xsd:element name="treeNodePath" type="sawsoap:TreeNodePath" minOccurs="0" maxOccurs="1" />
         <xsd:element name="savedSegmentPath" type="xsd:string" minOccurs="0" maxOccurs="1" />
         <xsd:element name="segmentationOptions" type="sawsoap:SegmentationOptions" minOccurs="0" maxOccurs="1" />
         <xsd:element name="SRCustomLabel" type="xsd:string" minOccurs="0" maxOccurs="1" />
         <xsd:element name="appendStaticSegment" type="xsd:boolean" default="false" minOccurs="0" maxOccurs="1" />
         <xsd:element name="sessionID" type="xsd:string" minOccurs="0" maxOccurs="1" />
      </xsd:sequence>
   </xsd:complexType>
</xsd:element>

<xsd:complexType name="TreeNodePath">
   <xsd:sequence>
      <xsd:element name="treePath" type="xsd:string" minOccurs="1" maxOccurs="1" />
      <xsd:element name="treeNode" type="xsd:string" minOccurs="0" maxOccurs="1" />
   </xsd:sequence>
</xsd:complexType>

<xsd:complexType name="SegmentationOptions">
   <xsd:sequence>
      <xsd:element name="removeCacheHits" type="xsd:boolean" default="false" minOccurs="0" maxOccurs="1" />
      <xsd:element name="countOverride" type="sawsoap:OverrideType" default="Default" minOccurs="0" maxOccurs="1" />
      <xsd:element name="cacheOverride" type="sawsoap:OverrideType" default="Default" minOccurs="0" maxOccurs="1" />
      <xsd:element name="samplingFactor" type="xsd:decimal" default="100" minOccurs="0" maxOccurs="1" />
   </xsd:sequence>
</xsd:complexType>

Valid Usage Scenarios

Saves the list of resulting members that qualify for the segment based on the most recent updated counts.

<saveResultSet>
   <segmentPath>[path to the segment]</segmentPath>/
</saveResultSet>

Saves the list of resulting members that qualify for the segment tree branch based on the most recent updated counts. The list of resulting members are extracted and saved to the specified savedSegmentPath.

<saveResultSet>
   <treeNodePath>
      <treePath>[path to the segment tree]</treePath>
      <treeNode>[branch ID number for a branch in the segment tree]</treeNode>
   </treeNodePath>
   <savedSegmentPath>[new segment name where resulting members are extracted and saved to]</savedSegmentPath>
</saveResultSet>

When defining a Saved Result Set File formats, map the "Alias" text box (found in the column formula [fx icon] pop-up) to a physical table column name. For example, guid might map to GUID, or ROW_ID might map to TARGET_LEVEL_ID in M_SR_Account.

Usage Options

Because saveResultSet performs a getCounts on a segment or segment tree prior to saving the result set, segmentationOptions can be specified to customize the getCounts. Refer to the Usage Options of getCounts for segmentationOptions details.

Siebel Marketing Installation and Administration Guide Copyright © 2006, Oracle. All rights reserved.