You need to sign in to do that
Don't have an account?
SFDC coder
SOAP request for delete call
hi all,
i have created a soap delete request in soap ui tool to delete records in salesforce using External id rather than using the SFDC record id however i am getting the below mentioned response
my delete soap request is
Any help would be appreciated
thanks
i have created a soap delete request in soap ui tool to delete records in salesforce using External id rather than using the SFDC record id however i am getting the below mentioned response
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Client</faultcode> <faultstring>Element {urn:enterprise.soap.sforce.com}sObjects invalid at this location</faultstring> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>
my delete soap request is
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com"> <soapenv:Header> <urn:SessionHeader> <urn:sessionId>XXXXXXXXXXXXXXXXXXXXXXXXXX</urn:sessionId> </urn:SessionHeader> </soapenv:Header> <soapenv:Body> <urn:delete> <urn:externalIDFieldName>Product_Id__c</urn:externalIDFieldName> <!--Zero or more repetitions:--> <urn:sObjects urn:type="Product__c"> <Product_Id__c>456721</Product_Id__c> </urn:sObjects> </urn:delete> </soapenv:Body> </soapenv:Envelope>
Any help would be appreciated
thanks
PS: if this answers your question then hit Like and mark it as solution!
since i don't want to disclose it here i have put XXXXX.Also the other calls are working with the same session id
Yes it does exist i searched it globally and i found one record
PS: if this answers your question then hit Like and mark it as solution!
Could you please share a sample where we can use the external id of the Lookup object. Thanks.