Skip to main content
October 28, 2013
Question

How to config attributes returned when getting data of ActivityRecord or MObject by SOAP APIs?

  • October 28, 2013
  • 2 replies
  • 686 views

Hi all,

When getting data of LeadRecord, I can set parameter 'includeAttributes' to specify the wanted fields.
How about 'getLeadChanges' and 'getMObjects'?
If I want to get data of only two or three specified attributes, I don't need all the data returned to me. Then which parameter in the SOAP APIs could I use?

Best Regards,
Biao

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

October 28, 2013
Biao,
http://developers.marketo.com/documentation/soap/getleadchanges/ has info about getLeadChanges().  You may use the activityFilter->includeAttributes and activityFilter->excludeAttributes filters.

http://developers.marketo.com/documentation/soap/getmobjects/ has details about getMObjects().  You can use includeDetails flag to indicate whether you need all the info or only a subset

Raj
October 29, 2013
Hi Raj,

For getLeadChanges(), I can only find the properties for activiy types (included and excluded), but there is no parameter 'includeAttributes' just like in parameter of getMultipleLead().

For getMObjects(), parameter includeDetails is only applicable when used with Program MObjects. When trying its different values (true and false) for Opportunity and OpportunityPersonRole, I find no difference.

I'm using SOAP APIs 2.2. Is there anything missed?

Best Regards,
Biao