Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
672 views
in Technique[技术] by (71.8m points)

salesforce - Selecting only required fields while fetching data from PARDOT prospects using python

I am trying to fetch only required fields from the PARDOT prospects by giving the column names as an array via parameter "fields" as below but the result set I am getting is having only the first and the last column mentioned in the array.

required_fields = ["column1","column2","column3","column4"]
for offset_val in range(0, pardot_obj_dict['total_results'] - 1, 200):
        print("Current offset value is : "+str(offset_val))
        pardot_obj_dict = pardot_api_query_obj(type=obj_type, offset=offset_val, fields = required_fields, output = 'simple')

Is there any way using which I can get all the required fields.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...