Re: Check a Box Using SOAP API

Anonymous
Not applicable

Check a Box Using SOAP API

Hey all,

I am trying to update a lead record  in order to trigger a smart list which will automatically send an e-mail blast to the new sign up.

We have all the pieces in place but cannot seem to get the box "checked". We created a custom field called "Bootcamp Sign Up". When using the SOAP API how would I POST back to marketo in order for this field to be marked as "checked" in the lead database?

The field is set as a boolean value so we tried POST back the value "True" to the endpoint "bootcampsignup". This gave us the error message: 

Function ("bootcampsignup") is not a valid method for this service

Attached is also a screenshot of the check box in the lead database that we need to have checked. Any ideas would be great! 

Thanks

0EM50000000SbUO.jpg

Tags (1)
4 REPLIES 4
Anonymous
Not applicable

Re: Check a Box Using SOAP API

Can you post the Request XML you are making for this SOAP API call? 
Anonymous
Not applicable

Re: Check a Box Using SOAP API

We are not building any XML for this request. We are just following the same steps that we used for syncLead: http://developers.marketo.com/documentation/soap/syncLead
Anonymous
Not applicable

Re: Check a Box Using SOAP API

I am not sure if I understand. You would need to pass an attribute similar to this in your request:

<leadAttributeList>
          <attribute>
            <attrName>Bootcampsignup</attrName>
            <attrValue>True</attrValue>
          </attribute>
</leadAttributeList>

          
Anonymous
Not applicable

Re: Check a Box Using SOAP API

Hi Murtza,

Tahnks for getting back to me. This is indeed the request that we have used. Still getting the error message of Function ("bootcampsignup") is not a valid method for this service.

Does the SOAP api allow for this type of action or is this limited to the REST api? Struggling to find answers on the forum or outside of the community.