10-19-2016 06:40 AM
Solved! Go to Solution.
10-19-2016 08:51 AM
To my knowledge the modification time for items such as DNS records, etc., is not exposed via any API, and thus there is no way in the API to do the equivalent of a "last modified since" query. (There are existing Requests for Enhancement filed in relation to this capability, including RFE-161, RFE-3245, RFE-4487, and RFE-6463. I suggest you ask your account team to track the progress of these and add supportive comments.)
Other than polling using repeated API calls, the only other approach I can think of right now is to use the audit log: Have the audit log be directed into the syslog and the syslog sent to the server where your API application is running. The application can then inspect incoming audit log records to try to determine if a relevant change might have occurred, and you can issue an API call only when you think there's a possible change.
(The audit log entry contains information on what type of item has been changed, the name of the modified item itself, and the before and after values. So alternatively you could use the audit log to build up a database of changes, and use API calls only to double-check the information.)