Hi,
I working an custom activity through rest API. Add Custom Activities » Marketo Developers
But I am not sure what is "leadId". When i checked my lead details,the lead ID is empty. How can i update the custom activity?
Also I am not sure what is "activityTypeId".
Hello,
You can find that info here Get Activity Types » Marketo Developers
I have gone through the link.
In My marketo datbase leadid is empty for an email address. how can i update activity for that lead?
Lead ID != Email.
All leads have an ID.
Look in the URL on the Lead Detail page.
I have checked the lead id in marketo. it shows the mpty value. Please refer the screenshot. Also it is not integrated with CRM.
What is the URL of that page?
Hi,
I tried to update the activity. It shows me the error Activity type id '1001' not found". I am using PHP.
Any suggestions?
You ran a get first? http://developers.marketo.com/documentation/rest/get-activity-types/
Hi,
Thank you for the answers.
i checked the activity types. i tried to update "visits web page". it shows me an error "Invalid activity type id '1".
any Suggestions?
This is no longer valid after the latest fall release, I had a long discussion with Marketo Customer Support and the short answer is that they do not support adding activities using the REST API. (they did before). Notice it says "custom" activities on Add Custom Activities » Marketo Developers , this means it is not possible to create normal activities, only "custom" ones. You need to contact Marketo to add them though, you cannot do that yourself 😞
I still do not agree with Marketo that they removed this, but they do not acknowledge that. I still think its a bug if you look closely at error message "Invalid activity type id '1" , notice the ' before the 1.
I hope this helps you
Hi, May i know why the stopped "support adding activities using the REST API". I sthere any security reason?
Well, for something like Visits Web Page there is a far more scalable API anyway, especially if you're going to have 1:many lead:activities in a given day -- the Munchkin API.
That is correct, but if you want to track other activity types and Munchkin is not an option the REST API fails to give support for this. In our case its Java backend which uses the REST API to add the activities.
When is the Munchkin endpoint not an option? Anything that can do REST can use Munchkin.
Thank you. I find it in the URL. leadDatabase/loadLeadDetail?leadId=xxxxxxxxxx
Great. Thank you very much. Thank you.