2.2.2.31 DueDate

The tasks:DueDate element is an optional child element of the Flag element (section 2.2.2.34) that specifies when the flagged item is due. It is defined as an element in the Tasks namespace.

When a flag is updated, the tasks:DueDate element value MUST NOT occur before the tasks:StartDate element (section 2.2.2.72) value. The server returns a Status element ([MS-ASCMD] section 2.2.3.177.17) value of 6 in the Sync command response ([MS-ASCMD] section 2.2.1.21) if this condition is not met.

To set a flag, the tasks:StartDate element, tasks:DueDate element, tasks:UtcStartDate element (section 2.2.2.87), and tasks:UtcDueDate element (section 2.2.2.86) either all MUST be set, or all MUST be NULL. The server returns a Status element value of 6 in the Sync response if this condition is not met.

The value of this element is a dateTime data type, as specified in [MS-ASDTYPE] section 2.3.

A maximum of one tasks:DueDate child element is allowed per Flag element. The result of including more than one tasks:DueDate child element per Flag element is undefined. The server MAY return a protocol status error in response to such a command request.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes

Show: