Get incident work notes from API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-13-2017 06:51 AM
Hi,
I want to get the incident work notes from api, I have been added some work notes as follow:
And trying to get the ticket from api (GET request to https://XXXX.service-now.com/api/now/table/incident/SYSID)
And the "work_note" is empty, so how can I got the work notes lists?
And how can I create from API work notes and related it to exist incident?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-13-2017 08:48 AM
Have you used the REST API Explorer? You can use it to build your API. I took the details from it and used it in PostMan and it updates work notes just fine:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-13-2017 07:11 AM
Hi,
If i have understood your question correctly , that you want to modify any incident using table API.
Then you can use put method of REST and provide the sys_id of the incident and add parameters that you want to modify.
Please find below the sample, that i have modified the work_notes using API.
PUT https://XXXXX.service-now.com/api/now/table/incident/fb810b9bdb52030017f4f11ebf9619b1?sysparm_display_value=work_notes_list%3DXYZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-04-2021 11:12 PM
Hi
Have a look at this LINK.
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks & Regards,
Viraj Hudlikar.