Results 1 to 4 of 4

Thread: "ms" and "rev" attributes in a SOAP response message

Hybrid View

  1. #1
    Join Date
    May 2006
    Posts
    14
    Rep Power
    9

    Default "ms" and "rev" attributes in a SOAP response message

    In a tipical "getxxx" response message, i.e.
    <cn f="" id="299" l="7" md="1148422012" ms="78" rev="78" t="">

    What the "ms" and "rev" represent for? For me, they all look like the last token when the item was modified.

  2. #2
    Join Date
    Aug 2005
    Posts
    821
    Rep Power
    11

    Default

    ms = metadata sequence number
    rev = content sequence number (ie, revision number)

    if an item's content changes, both get updated to the current mailbox revision number. if an items metadata changes only ms gets updated.
    Sam Khavari

    :: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::

  3. #3
    Join Date
    May 2006
    Posts
    14
    Rep Power
    9

    Default

    Quote Originally Posted by sam
    ms = metadata sequence number
    rev = content sequence number (ie, revision number)

    if an item's content changes, both get updated to the current mailbox revision number. if an items metadata changes only ms gets updated.
    Is this number used to compare with the token number in SyncRequest to return the latest sync data?

  4. #4
    Join Date
    Aug 2005
    Posts
    821
    Rep Power
    11

    Default

    The server offers these values; you can use them however you see fit.

    You can use them in a SyncRequest. In general, the token you specify in a SyncRequest should be whatever the server returned in the previous SyncResponse.
    Sam Khavari

    :: :: [ Zimbra ] :: :: [ Bugzilla ] :: :: [ Product Portal ] :: :: [ Wiki ] :: :: [ Downloads ] :: :: [ . ] ::

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •