Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

SOAP API provides a powerful, convenient, and simple SOAP-based Web services interface for interacting with Salesforce.You can use SOAP API to create, retrieve, update, or delete records. You can also use SOAP API to perform searches and much more. Use SOAP API in any language that supports Web ...

0
votes
2answers
15 views

SOAP connection and I have a query - Select from array of IDs via SOAP

I have a SOAP connection to SFDC in PHP and I have a query that looks like this: $query2 = " Select Name, StartDate from Campaign where Id in (7016F0000025iaJ, 7016F0000025iZV, 7016F000001PvKf)"; ...
0
votes
1answer
16 views

Talend to Salesforce: IOException: [LoginFault [ApiFault exceptionCode='INVALID_LOGIN'

I am trying to connect Talend to Salesforce. I complete the Salesforce connection settings in Talend: User Id Password Security Token And then try to test the connection, and I get this error ...
0
votes
1answer
13 views

Illegal character 0x0 when trying to delete more than 200 rows

I'm using salesforce's PHP SOAP client (SforceBaseClient) to attempt to delete records. It's working fine for less than 200 at a time, and I remember reading that you are limited to 200 rows at a ...
0
votes
2answers
42 views

Activate a Master Unsubscribe using the SOAP/REST API?

Is there a way to Activate a Master Unsubscribe using the SOAP/REST API? We are using the update method (UpdateAdd) with SOAP API. It works when a user is activated or subscribed to one or more ...
1
vote
0answers
17 views

How can I find if the DataExtensionField is required on an email template

Occasionally we post to send an email and it returns with a message "Missing variable". I'm trying to create some sync ability between what we can validate and send to salesforce. I can query the ...
0
votes
1answer
13 views

Event Id not retrievable for SentEvent

While making curl request to SentEvent api endpoint I get Id as non retrievable property. Can somebody tell why is it ? How do I uniquely identify a sent event ?
1
vote
1answer
32 views

Apex Generation Failed - WSDL problem - SOAP

I'm trying to solve this problem with Salesforce. I'm trying to generate apex classes from WSDL (converted from WADL) Parsing works correcly without any errors and warning. But I can't generate the ...
1
vote
1answer
21 views

How to get the profile name and role name from User object

We already have a soql query to retrieve the User object (which returns the role id and profile id) was wondering if we could retrieve the RoleName and ProfileName from within the same query instead ...
0
votes
2answers
39 views

How to set SendableSubscriberField value while creating sendable Data Extension?

What value should I use for SendableSubscriberField field? I have seen some answers. Which is suggesting, we can set either Email Address or Subscriber Key based on your salesforce configuration? ...
0
votes
1answer
16 views

How do i get info about the user role and profile from salesforce ? is there an API

We are trying to get the user role and profile info from salesforce, if there is there a rest api if you could please share info on it it would be of great help, if not could you please point if there ...
0
votes
2answers
29 views

Create Triggered Send Data Extension via SOAP API

I'm trying to create data extension from TriggeredSendDataExtension template. I use SOAP and develop it in java. Following example works for me: https://developer.salesforce.com/docs/atlas.en-us.mc-...
3
votes
1answer
66 views

Deleting a Subscriber from a Suppression List using the API

I need to delete a Subscriber from a Suppression List using the API. I have followed this documented example to delete a Subscriber from a Suppression List, but it does not work (and there's nothing ...
1
vote
1answer
38 views

Unit testing with SOAP and REST callouts

My project assumes quite big integration with external webservices. Unfortunately first major service is SOAP and second is REST. Problem is that there are getting more and more places in the code ...
0
votes
1answer
17 views

Salesforce Shield Decryption When Using API

Our application supports reading data from salesforce in a batch form and also as a real time sync. We have been using the salesforce SOAP api and the real time streaming api for the two use cases ...
0
votes
2answers
57 views

SSJS functions not working for Data Extension objects

I'm trying to retrieve the CustomObjectID of a data extension that already exists, by using the External Key/CustomerKey. That didn't work, so now I'm trying to retrieve any DEs at all, and that's not ...
0
votes
1answer
35 views

run automation SOAP API

I have created a automation with script activity which i need to run it through SOAP API. when i pass the payload i get a response as 200 ok but the automation is not running. Below is the payload.<...
0
votes
1answer
22 views

Salesforce SOAP API doesnt have setRecordTypeId method when using enterprise WSDL

I am using SOAP API to post leads in salesforce i want leads to be of specific record type but im not getting any option to set the record type of lead.Please Find code below. ...
3
votes
1answer
48 views

SoapUI: Error getting response

I'm learning all about the SOAP api (working through the Trailhead module) and I'm having issues with SoapUI. I'm able to make a login call successfully (username, password and token removed): <...
0
votes
0answers
18 views

How to limit batch size in a SOAP request?

I'm making a SOAP call that effectively is just checking that a value exists. It just needs to return something, or nothing, to verify that it works. This is my current request body: <tns:...
0
votes
2answers
28 views

Trying to run a sql activity thourgh a curl SOAP request - SoapAction incorrect?

If I manual trigger/run the activity the destination Data Extension is being filled correctly. However when try a SOAP request using curl, nothing happens... I've tried 2 different SoapAction values. ...
1
vote
0answers
15 views

Failed to call Marketing Cloud SOAP API from Apex : <OverallStatus>Error: Value cannot be null. Parameter name: key</OverallStatus>

I am trying to call Marketing Cloud SOAP API from APEX with the following Request Body: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/...
0
votes
0answers
18 views

Not able to connect Salesforce using Soap API/ WSC connector

I am trying to connect salesforce using WSC connector. I have created the metadata.jar file, enterprise.jar file etc. I am getting the connection error. It is working in an open network, but now ...
2
votes
0answers
795 views

Data Integration Specialist Challenge 7 not completing [closed]

I am trying to complete the challenge 7 "Synchronize Salesforce project data with Square Peg's external billing system". However I get the following error: Challenge Not yet complete... here's ...
2
votes
2answers
87 views

Overwrite Data Extension with API call

Has anyone figured out a way to overwrite Data Extension rows via API call? There isn't anything for it in documentation, neither SOAP API, SSJS, AMPscript, WSProxy or GTL seem to have an option to ...
0
votes
1answer
29 views

Getting `FatalError` while retrieving query definition status

Following is my SOAP request: { uri: 'https://webservice.s6.exacttarget.com/Service.asmx', method: 'POST', headers: { 'User-Agent': 'node-fuel/1.3.1', 'Content-Type': 'text/xml', ...
0
votes
1answer
30 views

Invalid type: CampaignInfluence

I am getting error while querying on object CampaignInfluence List<CampaignInfluence> caminlst = [select id,Contact.Id,Opportunity.Id,Campaign.id from CampaignInfluence] ...
0
votes
1answer
29 views

Looking for SOAP API to Retrieve email form a Content Builder sub-folder

I can execute a Retrieve filtering by name and return any email in the parent Content Builder folder, but when I attempt to Retrieve using a filter of the ID (Category) of the sub-folder, nothing is ...
1
vote
1answer
49 views

How can I get a tracking send data extension via API?

On the tab Tracking->Send, there are an attribute called "Data Extensions". It indicates which DE is used for this send. I can get it one by one on Marketing Cloud, but on SOAP API, the "List" ...
0
votes
1answer
39 views

SOAP API, Create Data Extension in a specific Business Unit

I am able to create a data extension using PHP, but only in the parent account. I know how to target different folders, but I need to create the data extension in a specific Business Unit. How can ...
0
votes
1answer
27 views

how to update 200 records at a time + SOAP API

I'm writing Java program which use enterprie WSDL to upsert approx 20,000 records in Salesfore. This program will run every night. I'm able to write a program which upsert one record a time, using ...
0
votes
1answer
62 views

Add Subscriber to Auto Suppression Lists with SOAP API

I am trying to add a Subscriber to an Auto suppression list using SOAP API. Here is the envelope I am using : <?xml version="1.0" encoding="UTF-8"?> <s:Envelope xmlns:s="http://www.w3.org/...
0
votes
1answer
27 views

How to get LIST of Custom Settings by API with Query Condition?

I want to get list of available Custom Settings using SF API in Java. I mean Setup > Build > Develop > Custom Settings > Get that list Additionally, I need to have got the condition in ...
0
votes
1answer
30 views

Marketing Cloud SOAP API send Email to List

I'm attempting to make a SOAP API call to have email sent to a new list every day. The HTML Email is created in Content Builder and works from the UI. The List creation, Subscriber creation(on the ...
0
votes
2answers
19 views

Define Object Fields (Custom) Usage and Compare Metadata Between Similar Fields

I am new to coding in Apex, but understand java and other object oriented languages. I am looking to use an API (such as the Tooling and SOAP API's) to compare fields in my Case object in my org. An ...
0
votes
1answer
31 views

Journey Builder Activity behaving different based upon Entry Event

I have an package in Marketing Cloud that adds a custom Activity to Journey Builder. Upon notification to my Activity that a contact has enter the step, my App reaches back out to Marketing Cloud to ...
1
vote
2answers
46 views

Changing WSDL breaks client

I have auto-generated a C# client from a WSDL (https://eu7.salesforce.com/setup/build/generateEnterpriseWsdl.apexp). This works fine until someone changes the structure of one of the tables I'm ...
2
votes
1answer
91 views

Use SOAP API creating account issue

I am doing this trailhead (https://trailhead.salesforce.com/modules/api_basics/units/api_basics_soap) and done everything whatevet mention in this and i got success message that account is created but ...
0
votes
0answers
3 views

API in SFMC for Adoptiom information like number of supermessages send, etc

I need to get some informations with API about number of super messages used all time. Someone know how can I extract this informations using API?
0
votes
0answers
23 views

insufficient access rights on object id on CampaignMember

I am updating CampaignMember status using SOAP API and it is throwing insufficient access rights on object id Am using a System Admin user and it is working fine for other campaigns but failing ...
0
votes
0answers
49 views

SOAPFaultException when trying to assign Role to user - Marketing Cloud API - FuelSDK Java

I am trying to assign a Role to a User, but for some reason it always gives me an unmarshalling error. The output says: Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: ...
1
vote
1answer
62 views

How to unpause an automation via API?

I'm trying to find a way to "unpause" a paused automation via API (using SSJS). When an automation is in "Ready" status (status code 2), you're able to invoke a perform (InvokePerform) to kick off the ...
3
votes
2answers
73 views

Preventing Recursive Future Calls

I have a usecase where when an account is updated, an after update trigger is fired. This trigger will call a future method which will call a SOAP API to assign the relevant territory assignment rules....
1
vote
1answer
30 views

How can I create a queue group via the API

So in testing, I've figured out that a queue is a type of Group. I'm trying to POST a new group, then change its Type from "regular" to "queue", but in doing so, I get this error message: Unable to ...
2
votes
2answers
66 views

Partner API describeSObject on Contact fails with “Instance validation error: 'urn:address' is not a valid value for soapType.”

We're trying to pull down picklist values from the Contact object to show on an ASP.Net page using the Partner API. However, we receive the following error when the describeSObject call is made. "...
1
vote
1answer
120 views

Sending a batch of emails via Marketing Cloud but triggered in Sales Cloud

I recently came up with a business requirement that I'm not sure how to implement. Our product owner basically wants to: Send a set of email reminders to the main contact role associated with an ...
0
votes
1answer
58 views

Error when performing test email sends

I am getting following error while performing test email send definition via SOAP API. Can anyone please explain to me what is the cause of this error and how can I resolve it? StatusCode : 'Error',...
0
votes
0answers
64 views

Failed to send request when using Dataloader command line

I try to create a tool to schedule export data from Salesforce to Windows server. I follow a Salesforce guide and do every step but still got failure. Here is my config file: process-conf.xml <!...
0
votes
0answers
18 views

Link Email Events to Campaign they were sent from via API

Actually my question is quite similar to this one, but the provided answer does not work for me (or rather is unclear) : I want to correlate the response data from Email Sends (Open Events and Click ...
0
votes
1answer
46 views

Finding Duplicates using Salesforce API from external tool

Could any one guide us the best approach to find the duplicates using with own filters not salesforce Duplicate Rules. We have pushing leads to Salesforce from external tool.We want restrict the ...
0
votes
0answers
20 views

Deleting data extensions over multiple BUs using SOAP

I want to delete several DEs using this SOAP request. However, the DEs are spread over multiple business units. Is that possible to do using the SOAP request?