Re: GetMultipleLeads API C object

Anonymous
Not applicable

GetMultipleLeads API C object

Hello,
 
 I am attempting to define a set of parameters for a call to getMultipleLeads , but I do not see any reference to StaticListSelector exposed from tihs object?  I added te current WSDL as a web reference.

I see leadselector but its hierarchy dead ends.

I am using WSDL 2_2

Stephen
Tags (1)
1 REPLY 1
Anonymous
Not applicable

Re: GetMultipleLeads API C object

Stephen,
Have you checked the sample code at http://developers.marketo.com/documentation/soap/getmultipleleads/?  The Java version shows how to use the static list selector.  We will be adding C# samples soon, but in the meantime, feel free to log a support ticket if you are unable to get this to work.

  1.            // Request Using StaticList Selector
  2.             ////////////////////////////////////////////////////////
  3.             StaticListSelector staticListSelector = new StaticListSelector();
  4.  
  5.             //staticListSelector.setStaticListId(value)
  6.             ObjectFactory objectFactory = new ObjectFactory();
  7.             JAXBElement<String> listName = objectFactory.createStaticListSelectorStaticListName("SMSProgram.listForTesting");
  8.             staticListSelector.setStaticListName(listName);