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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

interval value of 30 minutes, the availability value with the higher digit value is assigned to the<br />

whole interval period. For example, if a user has a 25 minutes of free time (value 0) followed by 5<br />

minutes of busy time (value 2), the 30 minute interval is assigned a value of 2 in the server<br />

response.<br />

The server determines the number of digits to include in the MergedFreeBusy element by dividing<br />

the time interval specified by the StartTime element (section 2.2.3.151.1) value and the EndTime<br />

element (section 2.2.3.55.1) value by 30 minutes, and rounding the result up to the next integer.<br />

The MergedFreeBusy element value string is populated from the StartTime element value<br />

onwards, therefore the last digit represents between a millisecond and 30 minutes. A query for data<br />

from 13:00:00 to 13:30:00 returns a single digit but a query from 12:59:59 to 13:30:00 or<br />

13:00:00 to 13:30:01 returns two digits.<br />

Any appointment that ends inside a second of the interval requested shall impact the digit<br />

representing that timeframe. For example, given a calendar that contains a 5 minute OOF<br />

appointment from 12:00 to 12:05, and is free the rest of the day, queries would result in the<br />

following:<br />

•If a query is made for 12:00:00 to 13:00:00, the result is "30", where each digit represents<br />

exactly 30 minutes.<br />

•If a query is made for 12:04:59 to 13:00:00, the result is "30", where the "0" maps to 12:34:59<br />

to 13:00:00.<br />

•If a query is made for 12:05:00 to 13:00:00, the result is "00" where the second 0 maps the last<br />

25 minutes of the interval.<br />

The client MUST consider daylight saving time transitions and might need to add or remove time<br />

intervals from the MergedFreeBusy element value string, as there are days that have more or less<br />

than 24 hours.<br />

If the Availability element is included in the response, the response MUST also include the Status<br />

element (section 2.2.3.152.11). The MergedFreeBusy element is also included if the Status<br />

element value indicates success.<br />

2.2.3.92 Message<br />

The Message element is an optional child element of the Error element in Autodiscover command<br />

responses that contains the error string localized using the Culture (section 2.2.3.36) value<br />

specified in the Response element, enabling the client to display error status to the end-user.<br />

All elements referenced in this section are defined in the<br />

http://schemas.microsoft.com/exchange/autodiscover/outlook/requestschema/2006 namespace.<br />

<strong>Command</strong> request/response<br />

Parent<br />

elements<br />

Child<br />

elements<br />

Data type<br />

Number<br />

allowed<br />

Autodiscover command<br />

response (section 2.2.2.1.2)<br />

Error (section<br />

2.2.3.57)<br />

None<br />

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

ASDTYPE] section<br />

2.6)<br />

0...1<br />

(optional)<br />

2.2.3.93 Mime<br />

The Mime element is a required child element of the SendMail element in SendMail command<br />

requests, a required child element of the SmartForward element in SmartForward command<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<br />

167 / 369

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

Saved successfully!

Ooh no, something went wrong!