The following on SOAP API seems to be possible, but in REST API with say 50 activity types on the system I would have to make min 5 REST calls. Is this correct or is there a better way?
"getLeadActivity" allowed you to return all activity for a lead without providing activity ids or calling many times. getLeadActivity » Marketo Developers
" If you want all activity types, a blank value needs to be passed."
"Get Lead Activities" Get Lead Activities » Marketo Developers
Comma-separated list of activity ids, max 10. Obtain activity ids by calling Get Activity Types.
You are correct.
Not directed at anyone here, more something Marketo could address... It's my understanding that the REST API is to replace the SOAP API which has been deprecated, and therefore is supposed to have "feature parity" with the SOAP API. The idea that you need to use 5x the API calls for the same goal doesn't seem to meet this objective. The feature is sort of there but to get to the same goal is 5x as expensive.
Is there any way to bring this into like with the SOAP API?
It's my understanding that the REST API is to replace the SOAP API
Repeal and replace I think would be the term for it.