none
Setting Flag of the email in active sync RRS feed

  • Question

  • My request xml is

    <Sync xmlns="AirSync:" xmlns:email="Email:" xmlns:tasks="Tasks:" >
         <Collections>
             <Collection>
                 <SyncKey>1000GGJIbyir3k6A7CpDKlfpow$$$$$$$2$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$</SyncKey>
                 <CollectionId>00000000-0000-0000-0000-000000000001</CollectionId>
                 <GetChanges>0</GetChanges>
                 <Commands>
                     <Change>
                         <ServerId>e4756399-2cc6-11e2-8e52-00215af73495</ServerId>
                         <ApplicationData>
                              <email:Flag>
                                 <email:Status>1</email:Status>
                                 <email:FlagType>Follow Up</email:FlagType>
                                 <tasks:StartDate>113-04-23T05:30:00.000Z</tasks:StartDate>
                                 <tasks:UTCStartDate>113-04-23T05:30:00.000Z</tasks:UTCStartDate>
                                 <tasks:DueDate>113-04-26T05:30:00.000Z</tasks:DueDate>
                                 <tasks:UTCDueDate>113-04-26T05:30:00.000Z</tasks:UTCDueDate>
                             </email:Flag>
                         </ApplicationData>
                     </Change>
                 </Commands>
             </Collection>
         </Collections>
    </Sync>

    I receive the following response for hotmail account

    <?xml version="1.0"?>
    <!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
    <Sync xmlns="AirSync:">
        <Status>4</Status>
    </Sync>

    For server version 12.1, I receive the following response

    <?xml version="1.0"?>
    <!DOCTYPE ActiveSync PUBLIC "-//MICROSOFT//DTD ActiveSync//EN" "http://www.microsoft.com/">
    <Sync xmlns="AirSync:">
        <Collections>
            <Collection>
                <SyncKey>699726961</SyncKey>
                <CollectionId>5</CollectionId>
                <Status>1</Status>
                <Responses>
                    <Change>
                        <ServerId>5:4</ServerId>
                        <Status>6</Status>
                    </Change>
                </Responses>
            </Collection>
        </Collections>
    </Sync>

    What im doing wrong?



    Tuesday, April 23, 2013 8:52 AM

Answers

All replies