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

Anonymous
Not applicable

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

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

Tags (1)
2 REPLIES 2
Anonymous
Not applicable

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

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
Anonymous
Not applicable

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

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