REST API Response format

Abhinab Achary1
Tera Guru

Hi All,

I am working on an integration. i have to use GET method.

I have an api end point with method get which only return in the format of XML only. I am only supposed to use REST.

How can i convert the XML to a table in servicenow effectively. I am not to use SOAP.

 

 

Thanks,

Abhi

11 REPLIES 11

Hi Abhinab,

Any update on this?
Can you mark my answer as correct, helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.

Regards
Ankur

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

Ravi Singh
Tera Expert

You can A) Use the XML parser step to extradite from response body or B) Create a script step that parses the response body and writes the results to  output variables.

please mark correct if this solves your issue and mark helpful if you find it worthy.

 

thanks !

Ravi