Scripted Rest API resource for receiving attachments
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 04:43 AM
We have requirement as below
- If someone sends attachment along with other information in order to have an incident created via Scripted Rest API the attachment should be attached to the newly created Incident.
What configurations do I need to make this work ?
Thank you in advance.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 07:01 AM
This would need to be done in 2 separate calls. One to generate the Incident, and then the 2nd to add the attachment.
To connect the 2, return the sys_id of the Incident that was created in the first call, then the sending tool can use the Attachment API to send the file.