Inbound REST API transaction using ATF
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2023 06:23 PM
Hi Developers
I am trying to trigger oubbound POST method rest API which will create a record and will generate a unique order id in response.
Per Rest API Scripts am successfully able to perform the http status code, validate response payload element ( with just contains attribute). corresponding order id in response is always unique. wanted to know if their any method to extract the unique attribute and store it in a variable.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2023 08:37 PM
I don't think it's possible within ATF.
Regards,
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 06:24 AM
Hi Ankur
Is their anyways to use custom scripting to retrieve the json body response and iterate through.
Also pls share the custom scripting learnings url in servicenow. thank you