1 REPLY 1
09-08-2017 12:14 AM
Re: can we query across entities in one API call?
You need to use Export ZOQL for that. If you use this python library https://github.com/bolaurent/zuora_restful_python, you can do it in one call. It would look like this:
import csv from zuora_restful_python.zuora import Zuora zuora = Zuora('username','password')
q = """
WHERE Subscription.SubscriptionStartDate >= '2017-01-04'
""" csv_data = zuora.query_export(q) lines = csv_data.split('/n') for row in csv.DictReader(lines): # do something pass