How to create the scripted rest api for requested item with attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello everyone,
Could you please help me to know how to create Scripted rest api where I want to create requested item through it of particular catalog and want to add an attachment while creating the request through the rest api kindly share me the steps to do this?
Regards,
Keshav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I shared solution here few years ago, check that and enhance
how to add file, ask 3rd party to send file name, content type, base64encoded data and then enhance it in above script only, check link below where I shared solution
Scripted Rest API to update incident with attachment
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
