This request returns the filter used in getting the contact history. The filter then can be used in a getItemsRequest or with the cursor calls. --For GroupWise 2012 and later.
<getContactHistoryFilterRequest> <id type="types:uid"/> </getContactHistoryFilterRequest>
<getContactHistoryFilterResponse> <filter type="types:Filter"/> <status type="types:Status"/> </getContactHistoryFilterResponse>
ID of the contact to generate the filter.
Filter to use in getting the items associated with the contact.
Specifies the error number related to the event. 0 indicates that the request was successful.
Returns the success or failure of the method.
<getContactHistoryFilterRequest> <id>4625EDFB.domain.PO1.104.1776172.1.BC.1@56: 45080270.domain.PO1.104.1776172.1.3.1@53</id> </getContactHistoryFilterRequest> <getContactHistoryFilterResponse> <filter> <element type="FilterGroup"> <op>or</op> <element type="FilterGroup"> <op>and</op> <element type="FilterGroup"> <op>or</op> <element type="FilterEntry"> <op>contains</op> <field>to</field> <value>Preston Stephenson</value> </element> <element type="FilterEntry"> <op>contains</op> <field>cc</field> <value>Preston Stephenson</value> </element> <element type="FilterEntry"> <op>contains</op> <field>bc</field> <value>Preston Stephenson</value> </element> <element type="FilterEntry"> <op>contains</op> <field>to</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>cc</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>bc</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>to</field> <value>pstephenson@pstephenson.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>cc</field> <value>pstephenson@pstephenson.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>bc</field> <value>pstephenson@pstephenson.provo.novell.com</value> </element> </element> <element type="FilterGroup"> <op>or</op> <element type="FilterEntry"> <op>contains</op> <field>from</field> <value>Preston Stephenson</value> </element> </element> </element> <element type="FilterGroup"> <op>or</op> <element type="FilterEntry"> <op>contains</op> <field>from</field> <value>Preston Stephenson</value> </element> <element type="FilterEntry"> <op>contains</op> <field>author</field> <value>Preston Stephenson</value> </element> <element type="FilterEntry"> <op>contains</op> <field>creator</field> <value>Preston Stephenson</value> </element> <element type="FilterEntry"> <op>contains</op> <field>from</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>author</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>creator</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>from</field> <value>pstephenson@pstephenson.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>author</field> <value>pstephenson@pstephenson.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>creator</field> <value>pstephenson@pstephenson.provo.novell.com</value> </element> </element> <element type="FilterGroup"> <op>or</op> <element type="FilterEntry"> <op>contains</op> <field>ItemContact</field> <value>.J_H "f <ar?! !} !</value> </element> </element> </element> </filter> <status> <code>0</code> </status> </getContactHistoryFilterResponse> <createCursorRequest> <container>folders</container> <filter> <element type="FilterGroup"> <op>or</op> <element type="FilterGroup"> <op>and</op> <element type="FilterGroup"> <op>or</op> <element type="FilterEntry"> <op>contains</op> <field>to</field> <value>Preston Stephenson</value> </element> <element type="FilterEntry"> <op>contains</op> <field>cc</field> <value>Preston Stephenson</value> </element> <element type="FilterEntry"> <op>contains</op> <field>bc</field> <value>Preston Stephenson</value> </element> <element type="FilterEntry"> <op>contains</op> <field>to</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>cc</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>bc</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>to</field> <value>pstephenson@pstephenson.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>cc</field> <value>pstephenson@pstephenson.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>bc</field> <value>pstephenson@pstephenson.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>to</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>cc</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>bc</field> <value>pstephenson@prestons.provo.novell.com</value> </element> </element> <element type="FilterGroup"> <op>or</op> <element type="FilterEntry"> <op>contains</op> <field>from</field> <value>Preston Stephenson</value> </element> </element> </element> <element type="FilterGroup"> <op>or</op> <element type="FilterEntry"> <op>contains</op> <field>from</field> <value>Preston Stephenson</value> </element> <element type="FilterEntry"> <op>contains</op> <field>author</field> <value>Preston Stephenson</value> </element> <element type="FilterEntry"> <op>contains</op> <field>creator</field> <value>Preston Stephenson</value> </element> <element type="FilterEntry"> <op>contains</op> <field>from</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>author</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>creator</field> <value>pstephenson@prestons.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>from</field> <value>pstephenson@pstephenson.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>author</field> <value>pstephenson@pstephenson.provo.novell.com</value> </element> <element type="FilterEntry"> <op>contains</op> <field>creator</field> <value>pstephenson@pstephenson.provo.novell.com</value> </element> </element> <element type="FilterGroup"> <op>or</op> <element type="FilterEntry"> <op>contains</op> <field>ItemContact</field> <value>.J_H "f <ar?! !} !</value> </element> </element> </element> </filter> </createCursorRequest> <createCursorResponse> <cursor>1217918620</cursor> <status> <code>0</code> </status> </createCursorResponse> <readCursorRequest> <container>folders</container> <cursor>1217918620</cursor> <forward>true</forward> <position>current</position> <count>0</count> </readCursorRequest> <readCursorResponse> <items> <item type="Task"> <id>4D385ABA.domain.PO1.100.1776172.1.25C6D.1@3: A.domain.PO1.100.0.1.0.1@19</id> <sid>154733</sid> <version>7</version> <modified>2011-01-25T08:00:04Z</modified> <container sid="5">A.domain.PO1.100.0.1.0.1@19</container> <created>2011-01-20T22:54:34Z</created> <status> <accepted>1</accepted> <read>1</read> </status> <msgId>4D385ABA.domain.PO1.200.20000C2.1.42666.1</msgId> <clientMessageId>4D38BD2A.290 : 194 : 18298</clientMessageId> <source>received</source> <delivered>2011-01-20T22:54:35Z</delivered> <security>Normal</security> <subject>my task</subject> <distribution> <from> <displayName>Preston Stephenson</displayName> <email>pstephenson@prestons.provo.novell.com</email> <uuid>2D16B180-0922-0000-846C-82BD300F9E1C</uuid> </from> <to>Preston Stephenson</to> <sendoptions> <statusTracking>All</statusTracking> <notifyRecipients>1</notifyRecipients> </sendoptions> </distribution> <options> <priority>Standard</priority> </options> <size>939</size> <checklist> <sequence>1073743359</sequence> <dueDate>2011-01-22T19:00:00Z</dueDate> </checklist> <retentionModified>2011-01-20T22:54:34Z</retentionModified> <junkMailEvaluation> <line>Message is not eligible for Junk Mail handling</line> <line>Message is from an internal sender</line> </junkMailEvaluation> <junkMailSettings> <line>Junk List is enabled</line> <line>Junk Mail using personal address books is not enabled</line> <line>Junk iCal Mail using personal address books is not enabled</line> <line>Block List is enabled</line> </junkMailSettings> <iCalId>2011-01-20T22:54:34Z_477A00C2@prestons.provo.novell.com</iCalId> <startDate>2011-01-25</startDate> <dueDate>2011-01-22</dueDate> <assignedDate>2011-01-22</assignedDate> <taskPriority>0</taskPriority> <timezone> <daylight> <name>Mountain Daylight Time</name> <month>3</month> <dayOfWeek occurrence="Second">Sunday</dayOfWeek> <hour>0</hour> <minute>0</minute> <offset>-21600</offset> </daylight> <standard> <name>Mountain Standard Time</name> <month>11</month> <dayOfWeek occurrence="First">Sunday</dayOfWeek> <hour>0</hour> <minute>0</minute> <offset>-25200</offset> </standard> </timezone> </item> <item type="Note"> <id>4D385A5E.domain.PO1.100.1776172.1.25C6A.1@2: A.domain.PO1.100.0.1.0.1@19</id> <sid>154730</sid> <version>3</version> <modified>2011-01-20T22:53:02Z</modified> <container sid="5">A.domain.PO1.100.0.1.0.1@19</container> <created>2011-01-20T22:53:01Z</created> <status> <accepted>1</accepted> <read>1</read> </status> <msgId>4D385A5D.domain.PO1.200.20000C2.1.42661.1</msgId> <clientMessageId>4D38BCCD.130 : 194 : 18298</clientMessageId> <source>received</source> <delivered>2011-01-20T22:53:03Z</delivered> <security>Normal</security> <subject>my note</subject> <distribution> <from> <displayName>Preston Stephenson</displayName> <email>pstephenson@prestons.provo.novell.com</email> <uuid>2D16B180-0922-0000-846C-82BD300F9E1C</uuid> </from> <to>Preston Stephenson</to> <sendoptions> <statusTracking>None</statusTracking> <notifyRecipients>1</notifyRecipients> </sendoptions> </distribution> <options> <priority>Standard</priority> </options> <size>939</size> <retentionModified>2011-01-20T22:53:02Z</retentionModified> <junkMailEvaluation> <line>Message is not eligible for Junk Mail handling</line> <line>Message is from an internal sender</line> </junkMailEvaluation> <junkMailSettings> <line>Junk List is enabled</line> <line>Junk Mail using personal address books is not enabled</line> <line>Junk iCal Mail using personal address books is not enabled</line> <line>Block List is enabled</line> </junkMailSettings> <iCalId>2011-01-20T22:53:01Z_477A00C2@prestons.provo.novell.com</iCalId> <startDate>2011-01-22</startDate> <timezone> <daylight> <name>Mountain Daylight Time</name> <month>3</month> <dayOfWeek occurrence="Second">Sunday</dayOfWeek> <hour>0</hour> <minute>0</minute> <offset>-21600</offset> </daylight> <standard> <name>Mountain Standard Time</name> <month>11</month> <dayOfWeek occurrence="First">Sunday</dayOfWeek> <hour>0</hour> <minute>0</minute> <offset>-25200</offset> </standard> </timezone> </item> <item type="Appointment"> <id>4D385A03.domain.PO1.100.1776172.1.25C67.1@4: A.domain.PO1.100.0.1.0.1@19</id> <sid>154727</sid> <version>3</version> <modified>2011-01-20T22:51:31Z</modified> <container sid="5">A.domain.PO1.100.0.1.0.1@19</container> <created>2011-01-20T22:51:31Z</created> <status> <accepted>1</accepted> <read>1</read> </status> <msgId>4D385A03.domain.PO1.200.20000C2.1.4265C.1</msgId> <clientMessageId>4D38BC73.63A : 194 : 18298</clientMessageId> <source>received</source> <delivered>2011-01-20T22:51:32Z</delivered> <security>Normal</security> <subject>my appointment</subject> <distribution> <from> <displayName>Preston Stephenson</displayName> <email>pstephenson@prestons.provo.novell.com</email> <uuid>2D16B180-0922-0000-846C-82BD300F9E1C</uuid> </from> <to>Preston Stephenson</to> <sendoptions> <statusTracking>All</statusTracking> <notification> <accepted> <mail>1</mail> </accepted> </notification> <notifyRecipients>1</notifyRecipients> </sendoptions> </distribution> <options> <priority>Standard</priority> </options> <size>939</size> <retentionModified>2011-01-20T22:51:31Z</retentionModified> <junkMailEvaluation> <line>Message is not eligible for Junk Mail handling</line> <line>Message is from an internal sender</line> </junkMailEvaluation> <junkMailSettings> <line>Junk List is enabled</line> <line>Junk Mail using personal address books is not enabled</line> <line>Junk iCal Mail using personal address books is not enabled</line> <line>Block List is enabled</line> </junkMailSettings> <iCalId>2011-01-20T22:51:31Z_477A00C2@prestons.provo.novell.com</iCalId> <startDate>2011-01-04T22:30:00Z</startDate> <endDate>2011-01-04T23:00:00Z</endDate> <acceptLevel>Busy</acceptLevel> <alarm enabled="1">600</alarm> <allDayEvent>0</allDayEvent> <place>here</place> <timezone> <daylight> <name>Mountain Daylight Time</name> <month>3</month> <dayOfWeek occurrence="Second">Sunday</dayOfWeek> <hour>0</hour> <minute>0</minute> <offset>-21600</offset> </daylight> <standard> <name>Mountain Standard Time</name> <month>11</month> <dayOfWeek occurrence="First">Sunday</dayOfWeek> <hour>0</hour> <minute>0</minute> <offset>-25200</offset> </standard> </timezone> </item> <item type="Mail"> <id>4D355FEF.domain.PO1.100.1776172.1.25C3B.1@1: 7.domain.PO1.100.0.1.0.1@16</id> <sid>154683</sid> <version>3</version> <modified>2011-01-18T16:41:16Z</modified> <container>7.domain.PO1.100.0.1.0.1@16</container> <created>2011-01-18T16:38:48Z</created> <status> <opened>1</opened> <read>1</read> </status> <msgId>4D355FEF.domain.PO1.200.20000C2.1.425A3.1</msgId> <clientMessageId>4D35C218.CBD : 194 : 18298</clientMessageId> <source>received</source> <delivered>2011-01-18T16:40:00Z</delivered> <security>Normal</security> <subject>РолджÑ</subject> <distribution> <from> <displayName>Preston Stephenson <ps></displayName> <email>pstephenson@prestons.provo.novell.com</email> <uuid>2D16B180-0922-0000-846C-82BD300F9E1C</uuid> </from> <to>pstephenson@prestons.provo.novell.com</to> <cc>pstephenson@gw.novell.com</cc> <sendoptions> <statusTracking>All</statusTracking> <notifyRecipients>1</notifyRecipients> </sendoptions> </distribution> <options> <priority>Standard</priority> </options> <size>797</size> <retentionModified>2011-01-18T16:39:59Z</retentionModified> <junkMailEvaluation> <line>Message is not eligible for Junk Mail handling</line> <line>Message is from an internal sender</line> </junkMailEvaluation> <junkMailSettings> <line>Junk List is enabled</line> <line>Junk Mail using personal address books is not enabled</line> <line>Junk iCal Mail using personal address books is not enabled</line> <line>Block List is enabled</line> </junkMailSettings> </item> </items> <status> <code>0</code> </status> </readCursorResponse> <destroyCursorRequest> <container>folders</container> <cursor>1217918620</cursor> </destroyCursorRequest> <destroyCursorResponse> <status> <code>0</code> </status> </destroyCursorResponse>