Inbound REST API transaction using ATF

ganeshpalani
Tera Contributor
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

Ankur Bawiskar
Tera Patron
Tera Patron

@ganeshpalani 

I don't think it's possible within ATF.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

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