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
0
votes
0answers
22 views

sort Parent and child objects in order of execution

I am doing a upsert operation using soap api, but I need sort the sobject in which all parent should be upserted first and the their children. i.e if Lead object is depend on Acount object and contact ...
0
votes
1answer
43 views

Query on UserRecordAccess shows all permission on apex class even when the user does not have author apex permission

I am having an SOQL query just to check that which user is having what all permissions to an apex class. So the SOQL looks like this SELECT RecordId, HasReadAccess, HasAllAccess,HasDeleteAccess,...
4
votes
1answer
115 views

Error creating an email send definition with a suppression list - SFMC SOAP API

I am running into issues attempting to create an Email Send Definition which has a suppression list / OptOutList using the SFMC SOAP API. However, I am able to create send definitions with source and ...
0
votes
1answer
26 views

MetadataService.cls, How can I filter the Metadata List based on the Last Modified Date?

My requirement is that I need to display org metadata components (like Objects, Apex Classes, VF Pages, Record Types, Profiles, Permission Sets, Custom Object, Custom Fields, Custom Label ...etc) on ...
3
votes
1answer
130 views

Authenticating SOAP API via UsernameToken

So I have tested about every way I can think of and I can no longer get the UsernameToken authentication to work in ANY account. I get the same error of An invalid security token was provided. This is ...
2
votes
0answers
148 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"...
0
votes
1answer
41 views

Named Credential Tooling API SOAP Envelope

Attempting to switch from using custom setting to named credential for authentication. I've updated the http request endpoint to use the named credential but how to update the SOAP envelope to not use ...
0
votes
1answer
42 views

How should I specify a boolean value in SalesForce input in Pentaho Spoon?

UPDATE: I got passed the error in Pentaho, but I still need help. Specifically, I modified the datatype of the IsActive field in my LDAP Input and Excel Output widgets. Now when I set the value of ...
1
vote
1answer
98 views

Can I get the email template by email id via SFMC API (REST/SOAP)?

I have a few emails in Email Studio (I don't have any classic emails). I would like to use the API (either SOAP or REST whichever works) to get the email template. Then after that, I will make another ...
-2
votes
1answer
76 views

Unsubscribe publication list through salesforce

Does someone have an example solution for me? I want to Unsubscribe/ Active people on publication list through salesforce? I want to map certain checkboxes in Salesforce to Publication lists in ...
0
votes
0answers
21 views

Use SOAP API to connect third party system and be able to search that database from Salesforce

I'm struggling with understanding how I will implement this SOAP API from Salesforce to https://services.edrs.sfa.bis.gov.uk/documentation/WebServices/. The API will enable a user to search the EDS ...
0
votes
1answer
122 views

Retrieve the context of a running SSJS script

Does anyone know how to get the details of the parent automation from within an SSJS script? We are looking to develop a generic SSJS script that can be used in multiple automations, but whose ...
1
vote
1answer
70 views

[Apex]: Changes in Exact Target Partner WSDL to include fueloauth in SOAP Envelope Header

I want to retrieve data from Marketing Cloud Data Extension. Turns out there isn't any REST API for that. Retrieve Data from a Data Extension shows SOAP API can be used but there are no sample for ...
1
vote
2answers
142 views

Retrieve DE fields in order via SOAP API

I am trying to retrieve DE fields via SOAP API but the response containing the fields is out of order not even in alphabetical. I need them to be in the exact order as what is in the UI. I need this ...
0
votes
2answers
83 views

Can we send Rich text Field's HTML from Service Cloud to any other system Via API

We have a use case where the Users will make text entries in a Rich Text Salesforce Field and will do customization on the input text field with the salesforce provided rich field's capability. We ...
1
vote
1answer
116 views

Converting SOAP callouts to REST callouts

I am completely new to this Integration concepts. I did the trailheads around the Apex Integration Services and Lightning Platform API basics. These trails are pretty straight forward with source URLs,...
1
vote
1answer
57 views

Trying to filter DataExtensions using a Client.ID but we get Filter Property 'Client.ID' is not a retrievable property

We have this little piece of code $getDERows = new ET_DataExtension_Row(); $getDERows->authStub = $this->soap_client; $getDERows->filter = array("Property" => "Client.ID", "...
1
vote
1answer
199 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 ...
1
vote
0answers
56 views

SOAP API: Populate lookup using an external Id

Helping a client structure their C# SOAP API an upsert into Salesforce and we're running into issues. I'm having a hard time finding documentation on this. (searched all this doc, found nothing ...
0
votes
1answer
110 views

Can't add users to permission set programatically due to TABSET_LIMIT_EXCEEDED

When attempting to add all users to a permission set programmatically using the Java SOAP API, I am running into an issue where all of the users are not being added to the permission set. The error ...
0
votes
0answers
41 views

Unable to add data to Data Extension using Automation script Activity

I am trying add data that come from response of SOAP API to get data from list in data extension If response contains 2500 records then I am using for loop to add this data one by one in data ...
0
votes
1answer
139 views

How Can I retrieve SFMC Automation ObjectID using SOAP API

I am trying to fetch the ObjectID of an Automation created in Salesforce Marketing Cloud using SOAP API call. So that I can use that in starting the automation using API Call from a third party system....
0
votes
0answers
27 views

Unplanned Outage Error while trying to make SOAP calls for adding data to Data Extensions using PHP SDK

I am trying to push some 3rd. Party Data to Data Extension using PHP SDK. I have taken the Starter kit from here: http://help.marketingcloud.com/globalassets/documentation/apistarterkits/php-...
3
votes
1answer
40 views

Deployment of metadata via REST vs old style SOAP deployment

So now it's possible to deploy metadata using Rest approach (vs old-school classic and heavy SOAP one): https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_rest_deploy.htm ...
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 ...
0
votes
0answers
19 views

How to get Salesforce standard api errors from Salesforce itself?

I need to know is there any way to retrieve Salesforce standard api errors which is using from other services from Salesforce itself? ( Those errors can be missing some parameters or somethings using ...
0
votes
1answer
25 views

Missing Label attribute from CustomObject metadata

We've been working with the Metadata API and keep running into an issue whenever we get sObject details either directly via retrieving a package.xml or even by describing the org through the ...
1
vote
1answer
89 views

Standard SOAP API Create method - could not establish trust relationship for the ssl/tls secure channel

I have shared the standard soap wsdl with the third party. Its being used by them to create records in salesforce. They are using .NET to integrate with Salesforce. We are able to create records using ...
0
votes
1answer
143 views

Using AmpScript to update All Subscriber List

Here is my code that executes after a submit button is pressed on a cloudpage %%[UpsertData("SubscribersTester", 1, "Email Address", @subKey, "First Name", @Fname, "Last Name", @Lname, "Monthly"...
1
vote
1answer
83 views

SFMC API - Change the timezone of the date in the response to a SOAP call

everyone, by making the call to retrieve information from the Allsubscribers (https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/creating_a_subscriber.htm?search_text=CreateRequest)...
0
votes
1answer
63 views

Query more than 10,000 records from salesforce using C# [closed]

I'm trying to collect data from Salesforce (from a custom object). I referenced generated Enterprise WSDL from Salesforce and referenced it to my web application. I am pulling data from Salesforce ...
1
vote
1answer
53 views

Marketing Cloud SOAP API - Derive Email Template from SendEvent

I'm currently using the Marketing Cloud SOAP API to get metrics about emails I send out. This works fine, I am able to get single instances of every event, but I am struggling with relating the send ...
7
votes
0answers
119 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....
0
votes
1answer
73 views

How can I overcome a “session is not valid for use with the API” error when accessing AJAX Toolkit as a Community user?

I'm attempting to use the AJAX Toolkit to access the current Account ID of the logged-in user from within a community site. (The particular community is managed by Nimble AMS, and is referred to as "...
1
vote
1answer
79 views

Marketing Cloud SOAP API Get Subscriber Specific Email Metrics

I'm currently working with the Marketing Cloud SOAP API to retrieve email metrics sent from the Journey Builder. I am able to do this, but it appears that the metrics I receive are related to the sum ...
0
votes
1answer
79 views

Marketing Cloud SOAP API Returns Empty Response

I'm trying to send a SOAP request to the marketing cloud api so I can retrieve information from a data extension. My current request looks like this: <soapenv:Envelope xmlns:soapenv="http://...
0
votes
1answer
46 views

Retrieve all properties for a specific Automation in a child Business Unit

I would like to retrieve all properties of an Automation at Child Business Unit. When I run this SOAP Call, with a Child Business Unit MID, I get all properties for active Automations but of the ...
2
votes
1answer
95 views

How to deploy data extension between SFMC orgs without putting all fields manually

I know that a Data extension could beb deployed using tool like Postman through API by SOAP request as described here But this request requires adding all the fields to the request manually. How can ...
1
vote
0answers
47 views

Recognizing random data extension by API

Is there a way to check by API which of data extension is type of 'random'? I can't retrieve by SOAP type property of data extension. Thanks for help.
1
vote
1answer
107 views

SOAP WSDL Error

I have the below apex class as a SOAP Webservice global class TestingWebService { webservice static List<ContentDocument> getContentNotes(date startDate, date endDate) { ...
1
vote
1answer
36 views

Create sObjects related by What field

I am using the SOAP API (in C#) to create new Cases, which will have several Tasks attached. The intent is to be able to view these Tasks under the "Activities > Next Steps" area of the Case view on ...
2
votes
0answers
53 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 ...
1
vote
1answer
42 views

Triggered Send Subscriber Attributes - Object reference not set to an instance of an object

Creating a Triggered Send call, which works fine until I try to enumerate a Dictionary to set the Subscriber Attributes (see comment on line where exception occurs). At this point, both the "...
1
vote
2answers
133 views

Populating Big Objects from CSV

I need to create a client application where users can upload CSV files, which will then be used to populate Custom Big Objects. My problem is I'm not sure which API to use. The Salesforce ...
0
votes
0answers
23 views

Creating auto-refreshing filtered data extensions through the SFMC APIs

Given a folder of filters, is it feasible to create filtered data extensions and for each filter, and an automation that automatically refreshes them through the APIs? This old thread seems to imply ...
3
votes
1answer
43 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 ...
-1
votes
1answer
37 views

Trying to create List in Marketing cloud Via SOAP API response is OK but Not reflecting in Marketing cloud

I am trying to create a list in marketing cloud through SOAP API . Have followed the documentation.getting the response as OK but the list is not getting created in Marketing cloud. Using SOAPUI:for ...
1
vote
1answer
101 views

How to enable Bulk API v2.0

We are loading data into Salesforce from Informatica and have enabled Bulk API option. But in the Salesforce Batch status pages, we see that v1 of the Bulk API is being used. We are using 41.0 ...
1
vote
0answers
17 views

Uploading Self Signed Cert Through MetaData SOAP

I am trying to understand the right way to format a SOAP POST in order to upload a self-signed certificate into a scratch org. Based on here: https://developer.salesforce.com/docs/atlas.en-us....
1
vote
2answers
492 views

How to Construct SOAP XML Request in apex

<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www....