Service: zimbraMail

Command: RecordIMAPSession
Namespace: urn:zimbraMail
Description: Record that an IMAP client has seen all the messages in this folder as they are at this time. This is used to determine which messages are considered by IMAP to be RECENT.
This is achieved by invoking Mailbox::recordImapSession for the specified folder
Properties:
Authorization token required true
Admin Authorization token required false

RecordIMAPSessionRequest

    <RecordIMAPSessionRequest id="..." /> ## RecordIMAPSessionRequest

elements and attributes you can define within a <RecordIMAPSessionRequest> element:

XPath Required / Optional Description
@id Required (only 1) Type: String
The ID of the folder to record

RecordIMAPSessionResponse

    <RecordIMAPSessionResponse> ## RecordIMAPSessionResponse
        <id>{lastItemId} (int)</id>
        <luuid>{folderUuid} (String)</luuid>
    </RecordIMAPSessionResponse>

elements and attributes you can define within a <RecordIMAPSessionResponse> element:

XPath Required / Optional Description
/id Required (only 1) Type: {lastItemId} (int)
ID of last item created in mailbox
/luuid Required (only 1) Type: {folderUuid} (String)
UUID of the affected Folder