Here’s the next code snippet. Remember, it’s always a good idea to periodically “info out” your functions to see what they’re returning and what the data that you’re retrieving looks like:
response = invokeurl
[
url :"https://www.zohoapis.com/crm/v3/coql"
type :POST
parameters:queryMap.toString()
connection:"crmcoql"
];
info response;
deals = response.get("data");