You need to sign in to do that
Don't have an account?
derrickmorin
Retrieving Tasks associated with Leads
I am looking at the API documentation and I am not seeing how Leads and Tasks are related. I know that they are because on SF.com I can associate Tasks with Leads. I want to query the web service api and retrieve all new tasks created in the past month and the Leads they are associated with. All I am seeing is Task.AccountId and that doesn't seem to contain anything for Tasks that are associated with Leads.
Thanks
Derrick
So get back all the tasks, iterate through them building up an array of WhoIds where the key starts with 00Q, then make a retrieve call on Lead with these ids.
I've WhoIds that starts with '000' e.g. 000000000000000AAA
what does this mean?