Hi all, I am new to the REST API development with Marketo and I was struggling with finding documentation regarding the following 4 (actually simple) points - I was hoping I can find help here.Thanks in advance and Merry Christmas!
Have you checked the doc here: http://developers.marketo.com/rest-api/
Thanks for the quick reply, Greg!
I read through all the documentation on the page you provided, I also successfully set up the web service and API calls such as get lead, get activity, post lead etc. work fine.
actually everything works fine so far with calling the API except for
I just did not find the part where they explain how to create an activity in Marketo via the API. I already set up custom activities as well, I can read them (get activity) but cannot write them - what is the right call?
I found the code below - that's it, nothing else so far. 😕
"value": "iPhone 6s+"
Patrick, just be aware of API limits when calling the Custom Activities API, as it may not be workable for single-row inserts in your environment.
In general, Marketo's APIs show their power when used for batch activities, where the multipliers (for example, 300 activity inserts per call) allow you to keep pace with business needs. They can be a danger zone w/individual activities.
Of course, if you enforce -- or at least can reasonably predict and document -- a limit of, say, 5000 activities per day, you'll be OK (as long as you don't need those 5000 calls for other integrations).
Also, if you need to sync specific fields between your CRM and Marketo, here are some docs that could be useful to you:
SFDC: SFDC Sync: Field Sync - Marketo Docs - Product Docs
MS Dynamics: Microsoft Dynamics Sync: Lead Sync - Marketo Docs - Product Docs
Hope this helps!
Thanks Emma - I appreciate it!
I am not working with SFDC or MSD... I am manually integrating a custom system. as said above, everything works well so far (read leads, read activities, create leads.....) except for these specific points:
Ah my bad, I read your post too fast
1. Only custom activities can be written directly with the REST API
3. You need to specify the names of the fields in the 'fields' parameter, as a comma-separated list
4. There is no method to do so at this time.
Thank you all! all questions answered... I appreciate it!