REST API to retrieve table which has been modified in a specified interval?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2016 12:15 PM
Hi,
Is there a way for me to retrieve table entries which has been modified in a certain time interval using REST API?
For example, I want to know which are the table entries which are modified with in last one hour. Is there any REST API for it or is there any way for me to know this?
Thank-you,
Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2016 03:43 AM
You can use "updated" field of tables to identify the records which are changed in last certain time. Following REST URL will give list of incidents, changed in last 2 hours.
You can check parameter "sysparm_query" section in following link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2016 03:03 AM
Is there a way for me to know what the changes are? I am getting the whole row!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2016 03:08 AM
If you want to identify particular changes, you need to use "Audit" functionality. Below link should be able to help you.
Turning on Auditing (History) for a Table - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2016 01:19 AM
Hey, Is it possible for any user to reply to any incident using REST API? or is it only like the one for whom the incident is assigned can reply or comment on that using REST API?