Oracle® Marketing Segmentation Guide > Installing and Administering Segmentation and List Generation > SOAP Calls for Marketing >

purgeCache Method


The purgeCache method purges the entire cache, purges entries for a segment from the cache, or purges entries for a segment tree from the cache. If the node specified is a non-leaf node then the cache for all its children leaf nodes is purged.

API Definition

Method

<binding name="JobManagementService" type="i0:JobManagementServiceSoap">
   <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> <operation name="getCounts">
      <soap:operation soapAction="#purgeCache" style="document" />
      <input>
         <soap:body use="literal" />
      </input>
      <output>
         <soap:body use="literal" />
      </output>
   </operation>
</binding>

Method Input

<xsd:element name="purgeCache">
   <xsd:complexType>
      <xsd:sequence>
         <xsd:element name="segmentPath" type="xsd:string" minOccurs="0" maxOccurs="1" />
         <xsd:element name="treePath" type="sawsoap: treeNodePath" minOccurs="0" maxOccurs="1" />
         <xsd:element name="ignoreCacheRef" 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="treeNodePriority" type="xsd:string" minOccurs="0" maxOccurs="1" />
      <xsd:element name="treeNode" type="xsd:string" minOccurs="0" maxOccurs="1" />
   </xsd:sequence>
</xsd:complexType>

Method Output

<xsd:element name="purgeCacheResult">
   <xsd:complexType>
      <xsd:sequence>
         <xsd:element name="jobInfo" type="sawsoap:JobInfo" />
      </xsd:sequence>
   </xsd:complexType>
</xsd:element>

Valid Usage Scenarios

All cache content is purged from cache.

<purgeCache>
</purgeCache>

Purges entries for the segment from cache.

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

Purges entries for the segment tree from the cache.

<purgeCache>
   <treePath>[path to the segment tree]</treePath>
</purgeCache>

Usage Options

None.

Oracle® Marketing Segmentation Guide Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices.