- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 05:16 AM
I have a RET API for an Service NOw instance. with that i am able to get/create records in incident table but I am not able to update incident using sysid.
any ideas ????
I have tried both put and patch method but none is working.. getting below errors :-
{"error":{"message":"Method not Supported","detail":"PATCH method not supported for API"},"status":"failure"}
{"error":{"detail":"PUT method not supported for API","message":"Method not Supported"},"status":"failure"}
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 06:45 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 05:48 AM
Hey Mahesh,
The only part which was missing in your case was that you were not passing the sys_id in the Endpoint URL itself. I have tried this in my local instance and it works perfectly fine:
Now , typically REST Message would be used just for testing purpose . If you want to do it dynamically then try the REST API Explorer and it will provide you various ways of code:
Hope that makes sense.
Please mark this answer as correct/helpful if this solves your problem. Happy coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 06:45 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2019 07:06 AM
Great!
Please close the thread by marking the answer correct or helpful.
Thanks,
Nithish