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.

382 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11
votes
0answers
386 views

WSProxy setClientId in Child BU does not allow execute at Parent BU

In SF Marketing Cloud, I'm trying to update a subscriber at the Parent BU Level from my SSJS in the Child BU. I created a Cloud Page at the Child BU to run the following code in order to debug faster....
5
votes
1answer
257 views

Marketing Cloud create Script Activity via API

I'm trying to create a Script Activity through the API and I can't find any documentation for that SOAP Object. I tried pulling back an existing automation that contained a script activity but the ...
5
votes
2answers
1k 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....
5
votes
0answers
578 views

How to combine two object type in single Soap api Request

I want to Retrieve Properties from both Data Extension and Data Extension Field Object in Single Retrieve Request Suppose Consider this Example: Data Extension Soap Object Request <soapenv:...
4
votes
0answers
61 views

Accessing Marketing Cloud 'Active Salesforce Sends' through SOAP API

Hi I need to get a feed of all scheduled sends within MC. This isn't an issue for most email sends. However, for any scheduled Salesforce Sends they don't appear in the SentEvent object. The below ...
4
votes
0answers
326 views

How to Login to Salesforce via Tooling/Partner SOAP API with char[] instead of String?

I am working on a tool that makes use of the Tooling API and the Partner API. The Partner API is used to login as I have been unable to login successfully via the Tooling API. Another important thing ...
4
votes
0answers
802 views

Get access token from SOAP web method

I have following situation. There has been defined partner trust between Salesforce and our XY web application. These are under OAuth 2.0 compliance. We have defined XY package with client key, secret ...
4
votes
0answers
488 views

Create a Sharepoint BCS Connection to SFDC

I am trying to connect Sharepoint 2013 to Salesforce using OOTB functionallity. Specifically, I'd like to create an External Content Type using a Business Connectfivtiy Services (BCS) Connection. ...
4
votes
1answer
2k views

connection refused error message coming from a java client connecting to salesforce

We have a java web application which makes a soap request to salesforce to get some data. We moved to production today and we noticed that on some requests, we are getting a connection refused error ...
3
votes
0answers
61 views

How to feed IER (individual email result) with Tracking Triggered Send information (triggered send via API from external app)

i hope someone can help me with this problem here: i've to feed the IER "et4ae5__IndividualEmailResult__c" object in SalesCloud from Tracking data of Triggered Send. Normally with the ...
3
votes
0answers
70 views

Pass fieldsToNull in SOAP for custom web service

I have written a custom web service which has a date coming in from different environment. Date can be null. lets call the tag as dateTag which gets map to some date field on my object in CRM. When I ...
3
votes
0answers
63 views

How to start and stop campaigns in Marketing Cloud?

The documentation https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/campaign.htm mentions that a campaign can be started and stopped via SOAP APIs. Where can we find ...
3
votes
0answers
706 views

SSJS WSProxy: Unable to retrieve security descriptor for this frame

I am trying to get a list of MobileConnect Keywords and their associated IDs using WSProxy. I have created a CloudPage Code Resource (JSON) and written the following script: <script runat="server"...
3
votes
0answers
180 views

DoNotTrack field update for new contacts in All Subscribers List

I have a following issue: I have Marketing Cloud account with several Business Units. In some Business Units I should disable tracking of customers behaviour (due to GDPR restrictions), in other ...
3
votes
1answer
77 views

Getting 'get_any' method on the SObject class when building a JAR from Partner WSDL?

We haven't had to build a new version of the partner wsdl jar for SOAP API work since version 12 and things have changed a bit. I'm trying to work with v43.0, but I'm doing something wrong. I've tried ...
3
votes
0answers
227 views

Update Marketing Cloud Automation tasks with SOAP API returns “OK” response but doens't update

I'm trying to update the AutomationTasks of an automation in Marketing Cloud with the SOAP API. The docs don't indicate whether this is possible (the example SOAP envelope for updating an automation ...
3
votes
0answers
318 views

How to efficiently Retrieve Open Event Details or Bounce Event Details given SubscriberKey?

I am trying to get all tracking data events based on the subscriber key (email). Using the Retrieve Sent Event, Retrieve Open Event, and Retrieve Bounce Event pages as a template, I've written some ...
3
votes
0answers
102 views

Reduce queue time for SFMC API requests

When using the Salesforce Marketing Cloud (SFMC) SOAP API, e.g. to run a Query Activity, we notice a task gets created. The task initially has a Status: Queued until Complete. This queue time can be ...
3
votes
0answers
178 views

No such column 'Description' on entity 'Attachment'

I am using salesforce partner web service API Version 42.0. I call description field from attachment object. This attachment is in the custom object I created. And somehow got this error. System....
3
votes
0answers
108 views

How to query for Tabsets related to a Lightning App in REST or SOAP API

I am trying to find a way to query the TabSet for a given Lightning App so I know which Tabs a user can access when that App is selected. This is useful when building a navigation menu in a custom UI/...
3
votes
1answer
155 views

Why are deleted Emails retrieved with the rest? Is there a way to filter them off?

So, I'm doing a retrieve for all the Emails from our account, but the result also retrieves contents that were previously deleted. Does anyone know of a Email Object Property that I can use to filter ...
3
votes
3answers
1k views

How to upload external data files to Wave Analytics using External Data API

I want to upload external data csv file to Salesforce Wave Analytics using External Data API and Web Services Connector (WSC). I have connected to salesforce using below code: ConnectorConfig config ...
3
votes
1answer
166 views

SOAP API extend idle time

I am running the following query SELECT Id, ParentId, Name, ContentType, BodyLength, Body, OwnerId, CreatedDate, CreatedById, LastModifiedDate, LastModifiedById, SystemModstamp FROM Attachment ...
3
votes
1answer
798 views

Callout to web service doesn't work depending the profile I'm using

I have a customized button that once you click it, a new window it's open displaying some data from an external app, getting the data through a SOAP web service. If I'm logged as System Administrator ...
3
votes
2answers
841 views

Retrieve email object from folder via soap API

I am trying to access email objects defined within a folder using the soap API but I get an empty response. I have tried using a simple filter on the CategoryID with no success. Has anyone ...
3
votes
0answers
1k views

API Login - Customer Community License

I am trying to login as a "Customer Community" license user using Partner Wsdl and getting this error: [LoginFault [ApiFault exceptionCode='INVALID_LOGIN' exceptionMessage='Invalid username, ...
3
votes
0answers
81 views

Can't use GetUserInfo for Group Edition organizations (SOAP Partner API) anymore

I use the GetUserInfo service from the SOAP Partner API, through a call very similar [1] to: http://wiki.developerforce.com/page/PartnerGetUserInfo. This call works perfectly for all types of ...
3
votes
1answer
124 views

Updating/Adding subscribers through api

Updating/Adding Subscriber Through API. I am looking or a set of rules to update/add subscribers through the api. There seems to be the following scenarios. Update/add using subscriber id Update/add ...
2
votes
0answers
63 views

Refreshing a filtered Data Extension with SOAP via wsproxy

There is a rather limited documentation for wsproxy when it comes to the performitem function: https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-programmatic-content.meta/mc-programmatic-...
2
votes
1answer
613 views

Show null element node in WSDL for SOAP

We are using the enterprise WSDL file for an integration, during the query call of the WSDL we retrieve some account records. The issue we are facing is if some of the field value is null or no value ...
2
votes
1answer
320 views

How to retrieve Apex 'webservice' WSDL using oauth access token?

My Connected App authenticates using the OAuth 2 Username/password flow, which gives an "access_token" that I can use for authenticating REST queries via the "Authorization" HTTP header as a bearer ...
2
votes
1answer
520 views

LWC Continuation SOAP API does not seem to be working

I`m trying to execute Continuation from LWC action. The thing is that I use it for SOAP API. It is a long-time running request, but I have to show a loading spinner until the response will be ...
2
votes
0answers
64 views

Bad Request when trying a simple Subscriber update using SOAP API

I am just starting with API and not even sure how to troubleshoot this. I am getting "Bad Request" after trying the following in POSTMAN. Went through similar posts, but didn't find an answer. Below ...
2
votes
1answer
104 views

Retrieve Subscriber from a Suppression List

I'm trying to retrieve emails on a Suppression List using the SOAP API Here is my SOAP Envelope <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> ...
2
votes
0answers
27 views

Automatic field reversal on API actions

I've got a Python app that's using the simple-salesforce Salesforce API client. One operation that it performs is automatic re-assignment of contact owners based on the owner of the respective account,...
2
votes
0answers
219 views

Soap API loop over sub query result

I'm trying to get the values from sub query result using java code and partner connection, but I'm not able to get the inner records. I tried using XmlObject. I'm able to use below code in parse the ...
2
votes
0answers
94 views

Salesforce-send API Error

We are trying to create a Salesforce-send using APIs. We want to use Salesforce standard reports as audience but when we perform the SOAP request we get this error: V5 Customers cannot create User-...
2
votes
1answer
168 views

SFMC Soap API Retrieve existing Tracking DataExtract

i am trying to retrieve an existing DataExtract filtering by CustomerKey but the API returns me a Status OK without any objects. Also tried to retrieve without filter bu i get the same result. I am ...
2
votes
0answers
205 views

What API Objects work with the InvokeExecute() AMPScript function?

The only example provided in the official documentation for the InvokeExecute() AMPScript function is for logging an unsubscribe event. I've only ever seen it used for that purpose. Do any of you ...
2
votes
1answer
253 views

Cannot retrieve FilterActivity object via SOAP API

I am trying to retrieve FilterActivity object using SOAP API. I tried with the following RetrieveRequest: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header&...
2
votes
0answers
585 views

Invalid session using SOAP API

I'm using SOAP API to read some info from my org. The call flow is typical and work well for my other orgs: login (using old style username/password), set session id and server url then call describe. ...
2
votes
0answers
536 views

Soap API sendEmail Must specify a type attribute

I am trying to send an email using the Soap API but always get the following error: Additional information: Must specify a {http://www.w3.org/2001/XMLSchema-instance}type attribute value for the {...
2
votes
0answers
367 views

Assigning a User when creating a Business Unit with Fuel-SOAP

I am using Fuel-SOAP (via fuel-soap npm) to create a new Business Unit. I am able to create a new business unit but am not able to attach an existing user to it in the same API call. I keep getting ...
2
votes
2answers
105 views

Is the serverUrl returned to the SOAP login API predictive?

I am using the SOAP API to retrieve data from a Salesforce Instance. The URL for the login request to my instance is something like: https://instance.my.salesforce.com/services/Soap/u/38.0 The ...
2
votes
0answers
518 views

Not able to generate jar file through terminal for enterprise WSDL

EXECUTING THE CODE IN macOS Sierra Version 10.12.3 Unable to generate Java Stub File. Code executing in Terminal java -classpath /Users/main/Desktop/MWC/force-wsc-39.0.3.jar:/Users/main/Desktop/MWC/...
2
votes
1answer
660 views

Use JSForce to connect with a community/portal user

it possible to connect to sales force with a community license user using jsforce? This is what I have tried let conn = new jsforce.Connection({ loginUrl : 'https://login.salesforce.com' }); ...
2
votes
1answer
816 views

How to Retrieve all email send definitions by folder (category) ID through the Marketing Cloud API

I'm using the SalesForce Marketing Cloud (Exact Target). I have a folder ID (category ID) and I want to get all the send definitions (user-initiated sends) in that folder via the SOAP API in C#. I ...
2
votes
1answer
126 views

Fuel SDK - PHP (SOAP), Creating a folder results in “an unknown error”

I am using the php Fuel SDK to create new folders and populate them with images. /** * @return mixed */ function createFolder() { $client = getAuth(); // Create Folder $postFolder = new ...
2
votes
0answers
306 views

Should I make SOAP logout call

I'm concerning about logout SOAP call. What's the purpose of making this call? I believe, any call to API is counted towards the API call limit, so this call just closes the session (session will be ...
2
votes
0answers
123 views

AJAX Toolkit login method only creates a 500 Server Error

I'm including apex.js and connection.js (version 32) in some javascript on a preview sandbox running spring'16. I'm trying to use sforce.connection.login(username,passwordAndToken) Unfortunately I'...

1
2 3 4 5
8