Hi,
I want to get last modified date of zimbra accounts using SOAP call searchDirectoryRequest.
Here I set type as 'accounts' and query like "mdate>1/1/2016", but I always get 0 accounts even if there are many accounts modified after that date.
I have also tried query like:
"mdate>1/1/2016"
"mdate >1451611887000Z"
"modifyTimestamp >1451611887000Z"
Please correct me if I miss something here.
Thanks,
Umesh
How to get last modified date of account or get account based on last modified date?
-
- Posts: 1
- Joined: Thu Apr 14, 2016 9:13 am
Re: How to get last modified date of account or get account based on last modified date?
Have you tried something like:
You probably already have this, but just in case, here's a reference for various attrs supported by the request too:
https://files.zimbra.com/docs/soap_api/ ... ctory.html
See also:
https://wiki.zimbra.com/wiki/Zmsoap#Sea ... oryRequest
Code: Select all
zmsoap -z -v SearchDirectoryRequest @types="accounts" @attrs="modifytimestamp" query="(modifytimestamp>=20160414203421Z)"
https://files.zimbra.com/docs/soap_api/ ... ctory.html
See also:
https://wiki.zimbra.com/wiki/Zmsoap#Sea ... oryRequest