I'm trying to create a process within PAM in order to create users in Spectrum using REST, and to do so, I need to get the landscapes (the quantity and their model handles) to make a loop operator to create the users for each landscape. The problem I'm facing now is that I receive the http response from OneClick and if I try to apply an xpath query to get the lanscapes only (I'm testing with an xpath tester), it seems the response is not well formed. I suspect I'm doing something wrong.
This is the response:
<landscape-response xmlns="http://www.ca.com/spectrum/restful/schema/response" total-landscapes="2">
From this response, I'd need to save in a value map array the landscape IDs and their names.