When making Marketo API calls to pull fields, some fields do not return. In the examples below, "Source" does not return, and as a comparison, "Lead Source Last" indeed does return.
What is preventing "Source" from returning as a field in our API calls, or what is the best way to further troubleshoot?
The "Source" field does not return when we poll the Marketo API for fields:
To compare, the "Lead Source Last" field indeed does return when we poll the Marketo API for fields:
Hi Ish,
Which API are you using, REST or SOAP? Have you ensured you are using the correct corresponding API name that is found when you export fields from Field Management? Are you receiving an error when you attempt to pull the value of that field?
SOAP call to fetch following objects :
1. LEAD_RECORD
2. OPPORTUNITY
3. ACTIVITY_RECORD
4. OPPORTUNITY_PERSON_RULE
Below is the call to fetch above mentioned entities
@WebMethod(
action = "http://www.marketo.com/mktows/describeMObject"
)
@WebResult(
name = "successDescribeMObject",
targetNamespace = "http://www.marketo.com/mktows/",
partName = "successDescribeMObject"
)
SuccessDescribeMObject describeMObject(@WebParam(
name = "paramsDescribeMObject",
targetNamespace = "http://www.marketo.com/mktows/",
partName = "paramsDescribeMObject"
) ParamsDescribeMObject var1, @WebParam(
name = "AuthenticationHeader",
targetNamespace = "http://www.marketo.com/mktows/",
header = true,
partName = "authentication"
) AuthenticationHeader var2);
leadSource - We get this field as an Opportunity Field. Shouldn't it be in a Lead Field?
The field is leadSource.
leadSource - We get this field as an Opportunity Field. Shouldn't it be in a Lead Field?