Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2024-02-09 08:45 AM
Hi,
I am trying to fetch records from a report using SearchRecordsByReport method.
2024-10-30 08:51 AM
Hi @DavidPetty ,
How can I parse the xml response I am receiving after calling search records by report using API.
Thanks,
Prachi
2024-10-30 09:15 AM
That depends on the programing language you are using to make the API calls.
Advisory Consultant
2024-10-30 10:31 AM
I am using Python
2024-10-30 01:06 PM
Thanks. You'll have to Google to find some Python examples on how to parse XML that's coming back from the APIs.
Advisory Consultant
2024-10-30 01:21 PM
@DavidPetty , I tried that but the problem is in the response.content i am not getting simple xml data, I am getting xml inside xml which makes it difficult to parse it and google is not helping me.
Attaching response snip I am getting for your reference.
2024-10-30 03:26 PM - edited 2024-10-30 03:26 PM
Doing a little searching, it looks like you have to use xml.etree.ElementTree module to unescape the contents of ExecuteSearchResult.
Advisory Consultant