A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [soap-api]

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 services.

Filter by
Sorted by
Tagged with
1
vote
1answer
3k 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
267 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
2answers
377 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
291 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
319 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 ...
1
vote
1answer
101 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
421 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
297 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
108 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
575 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
2answers
129 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
111 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
68 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 ...
3
votes
0answers
3k 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
545 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
104 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
161 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
148 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
282 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
587 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
139 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
308 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
308 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
272 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
23 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
66 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
270 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
2k 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
138 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 ...
2
votes
1answer
303 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 ...
4
votes
2answers
537 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
170 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
454 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
704 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
277 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
1answer
221 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
251 views

Concurrency violation: the UpdateCommand affected 0 of the expected 1 records

I have developed a Rails app with FuelSDK-Ruby gem which will create / update the Data Extension records in Marketing Cloud. On updating the records in Data Extension, Marketing Cloud responds with ...
0
votes
1answer
378 views

Getting Error: Login Failed error response, when trying to retrive results from salesforce marketing cloud

Request envelope is: { uri: 'https://webservice.s4.exacttarget.com/Service.asmx', method: 'POST', headers: { 'User-Agent': 'node-fuel/1.3.1', 'Content-Type': 'text/xml', SOAPAction:...
1
vote
1answer
793 views

Making SOAP Calls via SSJS

I am trying to make a SOAP call following from the answer here : Server-Side Javascript calling SOAP API I am running this on a cloud page. When I publish it, it doesnt render (harbinger or bad ...
0
votes
1answer
68 views

WSDL class error

Good morning, I have a wsdl that I generated with salesforce, but when I call some methods I get this error: EXCEPTION_THROWN [157]|System.CalloutException: Web service callout failed: Unable to ...
1
vote
1answer
67 views

Can I use enterprise.jar/metadata.jar generated from one org to establish connection with different org?

I have generated jar from enterprise.wsdl for some java development. I wonder if i could use the same jar to establish connection to different salesforce org having different enterprise.wsdl file? ...
0
votes
1answer
301 views

Updating List with AMPScript

I am looking for a way to update a list using AMPscript by just pressing an update button and going through all of the checkboxes that I am pulling from Marketing Cloud. This is all for a custom ...
1
vote
1answer
2k views

Retriving all Active picklist values of all recordtypes

Can you please guide me best way to retrieve all active picklist values of all recordtypes of object. Can it be possible through API or any Apex Script. I want something like below and i will write ...
1
vote
3answers
84 views

Salesforce API call limit

We are getting this error while updating a Custom object we created in Salesforce. REQUEST_LIMIT_EXCEEDED We have searched this error and it means we have reached Salesforce daily API limit. We ...
0
votes
1answer
287 views

Retrieve rows from a Synchronized DE through SOAP API using Access Token from REST API

I'm trying to retrieve rows from a Synchronized DE using the SOAP API with the REST API Access Token: I've seen this: Cannot retrieve fields from a Shared Data Extension using the SOAP API And this: ...
0
votes
2answers
209 views

How To Configure the File Drop Automation Type using Soap APi

How To Configure the (File Drop) Automation Type using Soap APi in Automation Studio this is my code File Drop is draging but not configured <Envelope xmlns="http://schemas.xmlsoap.org/soap/...
1
vote
1answer
72 views

Query list of Sharing Settings, Report Type, Custom Lables

I am currently working on a tool where I need to access the metadata, for which i am using the tooling API and the SOAP API. I am trying to query and get the list of all the data. I was able to ...
1
vote
0answers
24 views

Custom Profile Center POST Subscriber to List

I'm looking for a starting point on how to POST a subscriber to a list so that they are able to opt-in to a list from which I grab from Marketing Cloud. I am using SSJS to grab all of the lists that I ...
0
votes
2answers
246 views

API for user creation in Marketing Cloud not working

I am using the following SOAP envelope for creating a marketing cloud user using SOAP API. I am testing it using POSTMAN, I got a status code 200, so the request went fine, but the user DID NOT get ...
3
votes
1answer
265 views

Custom Profile Center Public Lists

I am looking for a starting point on how to grab all public lists within the marketing cloud instance to show dynamically on my custom profile center that I am building. I am also looking to allow the ...