You need to sign in to do that
Don't have an account?
Lead and Campaign
I am adding a lead using the 'create' request. This is successful but I am unclear about the field 'Campaign'. If I try to populate that field with a campaign name or id the error I get is:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<createResponse>
<result>
<errors>
<message>Invalid foreign key relationship name Campaign</message>
<statusCode>INVALID_FIELD</statusCode>
</errors>
<id xsi:nil="true"/>
<success>false</success>
</result>
</createResponse>
</soapenv:Body>
</soapenv:Envelope>