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
18 views

Scheduled Class within a Batch Class

I am trying to schedule a callout from a scheduled class. In order to get around the limitation of sending callouts from scheduled classes, I tried to include the scheduled class within my batch class,...
2
votes
1answer
42 views

Remove Role from AccountUser with SOAP API

is there a way to remove a Role from a user using the Marketing Cloud SOAP API? I've retrieved the AccountUser object with the corresponding Roles, I remove the specific Role from the array and make ...
2
votes
1answer
45 views

Controlling Journey Builder custom activity exit time based on DE update completion

We have developed a custom activity that returns the date and should populate DE/ This date is used in Wait by attribute activity which follows custom activity. The problem we face is that we receive ...
0
votes
0answers
13 views

SOAP API Returns No Errors But No Data Is Written

Summary We use the SOAP API to write records to some data extensions in Marketing Cloud. All has been working fine. Recently we added two more data extensions into the mix in one account and the ...
0
votes
0answers
42 views

Marketing Cloud SOAP API UpdateRequest response Bad Request

I'm trying to send a SOAP request to the Marketing Cloud API so I can unsuscribe a person from a list but the response always is "Bad Request". Here is the request I'm sending: <soapenv:Envelope ...
0
votes
1answer
30 views

Creating user initiated email send definition through API

I am able to create email send definitions through SOAP API but not through REST API. Through SOAP API I can only create definitions having classic emails and not content builder emails. Through Rest ...
0
votes
0answers
17 views

Using the SOAP API, can I identify records marked as duplicates, before they're purged?

I've had a recurring problem where the copy of the Salesforce data in our data warehouse includes records which had been purged from Salesforce. This creates overcount in reports, undermining ...
0
votes
0answers
28 views

Retrieving multiple records from External System with SOAP Callout and inserting them into Salesforce

I have a SOAP callout to an external webservice and I'd like to retrieve the records from the external service and insert them into Salesforce. The problem I am facing is that I am unable to insert ...
0
votes
1answer
23 views

How do I get field labels of all fields with api names for a particular object (Eg: Profile)?

How do I get field labels of all fields with api names for a particular object (Eg: Profile)? I can do this using apex but I'm looking to have all these values in excel or csv?
1
vote
1answer
55 views

Using API call in SSJS

I would like to know if we can do an API call Using SSJS. My need is to extract data from a data extension and target an end point using API call. The SSJS is unfortunlly not documented very well. I ...
0
votes
0answers
16 views

Is there any way to close partner Connection without invalidating access token

My application uses rest API access token for soap API partner connection login. After using the partner connection I want to close the partner connection without invalidating the access token so that ...
0
votes
0answers
37 views

How to send triggered emails from SOAP API in Marketing Cloud

I try to send an email from Marketing Cloud with the SOAP API but it doesn't work. I try with SOAP UI, I always get a "OK" status but I never receive the email. This is my code: <?xml version="1....
0
votes
1answer
45 views

To retrieve email Id for an email in MC using Rest API [closed]

Please can anyone suggest how to retrieve email Id for an email in MC using Rest API Regards, Shiva
4
votes
1answer
70 views

Identify the Type of an Automation Activity using SSJS WSProxy

I'm trying to create an API call that will return the SQL Code from all Query Activities within an given Automation. Using the information provided in this question Retrieve multiple tasks in an ...
0
votes
1answer
23 views

Retrieve Data Extension based on ObjectID using SOAP API

Using the Marketing Cloud API I'm trying to programmatically determine the fields in an event definition. So... I can start with the ID of the journey and get the journey definition with /...
1
vote
1answer
44 views

Send Summary SOAP API returns 500 Internal Server Error

I'm using Postman to test my API skills in Marketing Cloud. I created the following SOAP API to pull some details on a specific Send. FYI, the endpoint is : https://YOUR_SUBDOMAIN.soap....
1
vote
0answers
23 views

How can I use Salesforce SOAP APIs to pull the org name for an org subscribing to my managed package?

Background: I threw together a quick script to pull AppAnalytics logs from my LMA programmatically via python. This part is working just fine. I am including my script here in case it helps someone ...
1
vote
1answer
39 views

Retrieve tracking data using SOAP API

I believe I heard recently that it is possible retrieve tracking data using SOAP api and that we can get more data than from data views. I am familiar with SOAP as such, but after going through ...
1
vote
0answers
71 views

Web service callout failed: WebService returned a SOAP Fault: System.Web.Services.Protocols.SoapException: Server was unable to process request

I am new to Integration Projects. I have an Apex class generated from the WSDL of a third party. I would like to utilize the methods of that Apex class and write a batch class that utilizes the ...
0
votes
0answers
22 views

Using SSJS WSProxy within Postman to directly make SOAP API calls without needing the Soap XML request body

So far I've been able to use Postman to pass values to a SFMC Landing Page or CloudPage that hosts SSJS WSProxy to execute a particular SOAP API requests such as updating a data extension that occurs ...
4
votes
1answer
89 views

Update Data Extension field name with SOAP API

I'm having issues trying to update a Data Extension Field Name using the SOAP API. I've followed the documentation to Update Column Properties for a Data Extension. I've tried different permutations ...
0
votes
1answer
41 views

XML to Data Extension

I am trying to find a way to automate a SOAP call and have the response which is in XML format being parsed and put into a data extension in the proper format (data to columns) I can create the SOAP ...
1
vote
1answer
45 views

Displaying the publication list so the user can opt-in from a cloud page

I want to create a cloud page where it displays all the publication lists and from those user can select and subscribe in any of the publications.Just like in the subscription center. As I am new to ...
0
votes
0answers
15 views

Create Activity and Automation through FuelSDK for Python

I was wondering if anyone has successfully been able to create Activity and Automation objects via Python FuelSDK. I can successfully start Automations but not sure what code to use to create an ...
1
vote
1answer
88 views

System.CalloutException: Web service callout failed: Unable to find field status

I have downloaded the WSDL file from this link: download. This WSDL contains 2 bindings, 2 ports so to generate apex class in Salesforce, I have removed the additional binding & port then I'm able ...
0
votes
1answer
25 views

Where get the WSDL for standards methods

I would like to know where I can get the WSDL for standards methods for one object. I mean, I would like to know how I can get the WSDL for the standards methods for the order object (CRUD). If I ...
2
votes
1answer
71 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 ...
1
vote
1answer
61 views

Marketing Cloud SOAP API call to Send object

I am trying to retrieve sent data using SOAP API. My header is: Content-Type text/xml SoapAction Retrieve I am calling https://mc....soap.marketingcloudapis.com/Service.asmx Below is my envelope: &...
0
votes
3answers
104 views

Field is not writeable: User.UserType

I'm trying to test a scheduled Apex class and I have a method that generates fakes users within my test class: List<User> newUsers = new List<User>(); Profile p = [ SELECT Id FROM ...
0
votes
1answer
31 views

FuelOAuth node is missing in Marketing cloud WSDL

Need help on Marketing cloud WSDL. I am not able to find the FueOAuth node in marketing cloud WSDL. I got the WSDL from below link: https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-...
0
votes
1answer
30 views

Query Out the Child Record From Parent list in order to get there Size

We have a requirement in order to Find out the Child Record from the Parent List. Parent Query: list<Case> caseList = [ select Id, recordTypeId, Type, Sub_Type__c, Origin, ...
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
31 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
94 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
23 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
103 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
106 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
28 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
33 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
84 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
69 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
103 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
55 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
113 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
63 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
101 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
52 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
170 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
40 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 ...