Forum Discussion
Is "Last Sync Time" exposed to the API?
I'm on 11.5 I believe. I just found a post from another girl named Kim asking the same question which helped me get this working with the iControl API: https://devcentral.f5.com/questions/getting-the-last-ltm-configuration-change-time.
I'm not sure how to convert the time format so I can't verify that it matches the Last Sync Time date when I log into the F5 directly. However, the result is the same one that I get when using the Rest call. Does the return value of 1415782964 correspond to the Last Sync Time of 11/10/2014 15:22:53?
Here is the code I have now:
m_interfaces.initialize(deviceName, 443, userName, password);
dg.LastSyncTime = m_interfaces.ManagementDBVariable.query(new string[] { "Configsync.LocalConfigTime" })[0].value;Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com