2.2.4.23 t:FlagType Complex Type

The FlagType complex type specifies a flag indicating status, start date, due date, or completion date for an item.<51>

 <xs:complexType name="FlagType">
     <xs:sequence>
         <xs:element name="FlagStatus" type="t:FlagStatusType" minOccurs="1" maxOccurs="1"/>
         <xs:element name="StartDate" type="xs:dateTime" minOccurs="0"/>
         <xs:element name="DueDate" type="xs:dateTime" minOccurs="0"/>
         <xs:element name="CompleteDate" type="xs:dateTime" minOccurs="0"/>
     </xs:sequence>
 </xs:complexType>

FlagStatus: An element of type FlagStatusType, as defined in [MS-OXWSCONV] section 3.1.4.2.4.2, that represents the flag status.

StartDate: An element of type dateTime, as defined in [XMLSCHEMA2] section 3.2.7, that represents the start date.

DueDate: An element of type dateTime that represents the due date.

CompleteDate: An element of type dateTime that represents the completion date.

If the FlagStatus element is set to Flagged, the CompleteDate element MUST not be set in the request, and the StartDate and DueDate elements MUST be set or unset in pair; if the FlagStatus element is set to Complete, the StartDate and DueDate elements MUST not be set in the request; if the FlagStatus element is set to NotFlagged, the CompleteDate, StartDate, and DueDate elements MUST not be set in the request. Otherwise, ErrorInvalidArgument ([MS-OXWSCDATA] section 2.2.5.24) will be returned.