SOAP API: Can I discover, for a given lead, which of the instance's workspaces it's in? | Community
Skip to main content
August 8, 2014
Question

SOAP API: Can I discover, for a given lead, which of the instance's workspaces it's in?

  • August 8, 2014
  • 2 replies
  • 822 views
I'm using getMultipleLeads to discover which leads have been added or updated recently to my given Marketo instance. One of the things I might want to do with those leads is to add them to a list -- again, using the SOAP API. I know that this will only succeed for leads that are in the same workspace as the list. Is there any way for me to discover via getMultipleLeads or any other API call which workspace(s) any given lead is in?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

August 8, 2014
Great question.  However, I'd bet a large amount of money that the answer is "no".
September 11, 2014
I learned today that a Workspace is just a view that is restricted to one or more Partitions.

A Lead actually belongs to a Partition, not a Workspace.  So you need to look at the "Lead Partition" attribute of a Lead.