11.01.2015 Views

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Fetch element cannot be used to get truncated calendar, contact, recipient information, or task<br />

items from the server.<br />

2.2.3.61 FilterType<br />

The FilterType element is used in the following command requests:<br />

•GetItemEstimate command requests (section 2.2.2.7.1)<br />

•Sync command requests (section 2.2.2.19.1)<br />

The definition of the FilterType element differs according to the context in which it is used. For<br />

more details, see section 2.2.3.61.1 and section 2.2.3.61.2.<br />

2.2.3.61.1 FilterType (GetItemEstimate)<br />

The airsync:FilterType element is an optional child element of the airsync:Options element and<br />

the Collection element in GetItemEstimate command requests. In both contexts, it specifies a<br />

time window for the objects sent from the server to the client.<br />

Elements referenced in this section are defined in the GetItemEstimate namespace, except where<br />

otherwise indicated by the presence of a namespace prefix (as defined in section 2.2.1).<br />

<strong>Command</strong><br />

request/response<br />

Parent elements<br />

Child<br />

elements<br />

Data type<br />

Number<br />

allowed<br />

GetItemEstimate command<br />

request (section 2.2.2.7.1)<br />

airsync:Options<br />

(section 2.2.3.107.1)<br />

Collection (section<br />

2.2.3.28.1)<br />

None<br />

integer ([<strong>MS</strong>-<br />

ASDTYPE]<br />

section 2.5)<br />

0...1<br />

(optional)<br />

The airsync:FilterType element applies to e-mail, calendar, and task collections. If a filter type is<br />

specified, then the server sends an estimate of the items within the filter specifications.<br />

If the airsync:FilterType element is present in the request, then the server manages objects on<br />

the client to maintain the specified time window. New objects are added to the client when they are<br />

within the time window. If the airsync:FilterType element is omitted, then all objects are sent<br />

from the server.<br />

Calendar items that are in the future or that have recurrence, but no end date, are sent to the client<br />

regardless of the airsync:FilterType element value.<br />

The airsync:FilterType element does not support contact collections. However, if the<br />

airsync:FilterType element is included in a GetItemEstimate request for a contact collection, no<br />

error is returned.<br />

The valid values for each collections type are listed in the following table.<br />

Value Meaning Applies to E-mail Applies to calendar Applies to tasks<br />

0 No filter Yes Yes Yes<br />

1 1 day ago Yes No, Status element (section<br />

2.2.3.152.6) value 110<br />

No, Status<br />

element value 110<br />

2 3 days ago Yes No, Status element value 110 No, Status<br />

146 / 369<br />

[<strong>MS</strong>-<strong>ASCMD</strong>] — v20110315<br />

<strong>ActiveSync</strong> <strong>Command</strong> <strong>Reference</strong> <strong>Protocol</strong> <strong>Specification</strong><br />

Copyright © 2011 Microsoft Corporation.<br />

Release: Tuesday, March 15, 2011

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!