- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2017 04:41 AM
When I try to raise an incident using rest api ,I
tried to attach a file but the incident is raised but file is not attached
Solved! Go to Solution.
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2017 02:58 AM
Hi Neha,
I was able to do this successfully.
You should change sys_id to table_sys_id and also check the post query string checkbox. Please try and let me know
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2017 02:53 AM
You can refer to the Attachment API and this can help you to understand how to attach the attachments to your incidents.
Regards,
Dravvy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2017 12:21 AM
Hi,
You can refer the below links which will be useful for your query:
Generate Attachments in ServiceNow via REST | John Andersen
Web Services Part 5 | How to Make REST Attachment API Requests - YouTube
ServiceNow Attachment Files via Web Service - YouTube
Hope this helps.Mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke