Hi! I'm developer and I'm using the REST API. I'd like to make manual tests. To do it I need to create more data, let's say dummy data. Is there a way I can do it in order to test Leads Activities?
You can import leads and custom objects, but you cannot import activities.
There is no real possibility to create activities except through doing it manually, browsing, filling out forms, etc...
But the API will not enable you to temper with existing activities, neither, so there is no much risk using real production data for this specific need.
You should rather post your questions in "products" than in champions, many more people will read them and will be likely to answer.
You can script HTTP requests using Selenium or suchlike. But as Greg says, there's no way to create a truly synthetic backfill of the Activity Log. It reflects actual activity.
You can create custom activities in Marketo via the API if that's an option. The activity type will just be limited to "Custom" though.
Are you sure of this ?
my understanding is that with the REST API, you can create custom objects (or even import them, BTW), but not custom activities. Unless there is an undocumented API call
As it was not in the menu, I could not find it.
Yeah, I'm sure they don't want people abusing that option and creating a plethora of custom activities so they haven't publicized it much, but it is entirely possible to do.
IMO this is one of the more under-utilized (and to an extent, under-developed) functionalities of Marketo. I've used the API to push user logs from our product to Marketo to allow for behavior based nurtures. It's been absolutely game changing in terms of product usage and adoption.
The feedback I got from the doc is that the feature is not GA yet.
May be you could do all what you mention here with a custom objet as well.