scripted restAPI for attachment API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2024 02:58 AM - edited ‎12-18-2024 03:06 AM
My requirement is I want to upload /attach the file to an incident using rest API. A third party can upload the file and it will attach to the incident. using scripted REST API, I don't want the OOB attachment rest API to add an attachment to
an incident.
The user should able to upload the file and then automatically it will attach to the incident.
Any support would be appreciated.
Thank You
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2024 04:13 AM
What is your reason for not wanting to use the OOB REST API?
How are you uploading these? Is it coming from another system, is it done through the portal, please provide some more information on the process.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2024 04:20 AM
Hi mark,
So requestors are generating the incident through SNOW API and they are creating incidents from SNOW API it will create an incident in servicenow automatically same thing again when they attach any file through SNOW API then it will automatically attach the attachment to the incident in servicenow.