Update records using REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2023 09:17 PM
Hello Community,
I'm looking to update few attributes in third party application. However, I/m not able to figure out like how to make a endpoint dynamic .
Eg:-Below is the URL I want to use to update the case and {id} is the dynamic case .Please suggest how can I make this url dynamic, so that for every case no it generates in service now should append that case as per the URL and update the necessary attributes in third party application.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2024 05:14 AM
Hi @XYZ
Please define the values in where its getting triggered. lets say if business rule is triggering the REST.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2024 10:08 PM
Hi @XYZ
While configuring the REST Message, you can make use of Variable Substitution. Please refer https://www.servicenow.com/community/developer-forum/http-query-parameters-in-outbound-rest-message/...
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.