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.

339 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
98 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....
7
votes
0answers
618 views

SOAP API Connection with Access Token

I am trying to connect to the SFMC SOAP API using an access token that I've successfully retrieved. (I have successfully made REST API request using same token.) I've been struggling with this for a ...
4
votes
0answers
184 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 ...
4
votes
0answers
398 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
2answers
665 views

Getting production organization ID from sandbox using API

Is there a queryable ressource through the API from a Salesforce sandbox instance that can return the related production environment organization ID?
4
votes
0answers
324 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
785 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
484 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
37 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
0answers
35 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
2answers
138 views

Is there a way to identify all the places a Content Block is used?

I'm trying to identify all the places a Content Block is used. The goal is to be able to reference what will be affected if a Content Block is modified. I've looked a the Asset in the REST API, but I ...
3
votes
0answers
109 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
148 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
85 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
101 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
76 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
130 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
832 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
0answers
130 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
432 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
652 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
80 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
118 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
1answer
64 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
0answers
94 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"...
2
votes
0answers
49 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
0answers
27 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
26 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
45 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 ...
2
votes
0answers
159 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
85 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
125 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
183 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
222 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
478 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
509 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
294 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
91 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
397 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
429 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
97 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
264 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
111 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'...
2
votes
0answers
50 views

Restricting API access to custom webservice

Is it possible to give a 3rd party application access to a custom webservice without giving them access to the standard API? To give a little background on my project. Users will use their ...
2
votes
1answer
106 views

External web service callout

I have parsed a WSDL i obtained from 3rd party application that i want to integrate with Salesforce. Wsdltoapex created 3 apex classes for me. I'm stumped on what i'm supposed to do next. Do i need ...
2
votes
0answers
125 views

How can I upload data containing DateTime and Boolean values into Exact Target Data Extension

I have written .NET code to upload data into Exact Target Data Extension. My Data Extension contains multiple fields of types Text, Number, Boolean, Date. How can I upload the data with Date and ...
2
votes
0answers
73 views

Chunking SObject in SOAP API

I am running a backup on Attachments object using the query: SELECT Id, IsDeleted, ParentId, Name, IsPrivate, ContentType, BodyLength, OwnerId, CreatedDate, CreatedById, LastModifiedDate, ...
2
votes
1answer
137 views

Set Login History Application in External .NET Application

Is it possible to set the application in the Login History object when logging in from a external .NET Application? As you can see the application gets set to Browser when its a browser login, would ...
2
votes
0answers
414 views

Salesforce Notification through reverse proxy

I am an integration developer working with a Salesforce.com developer. He is using the Notification functionality 'push' a message using SOAP to our integration platform when an object changes. ...