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

Construction of security Header for Soap API

Can you please provide a code snippet to pass type in the password element? Please find the below details of header public class ECH_VFC029_HeaderSecurityLDAP { /** * Clase wrapper que ...
1
vote
0answers
19 views

INVALID_QUERY_LOCATOR on queryMore on node js

I m getting INVALID_QUERY_LOCATOR error on using queryMore operation using the Enterprise WSDL on node js. Below is the code client.query({queryString:"Select Id,Name FROM Account ORDER BY Name"},...
0
votes
0answers
22 views

How do you provide type attribute in password element? [closed]

Can you please provide a code snippet to pass type in the password element? Please find the below details of header: Also please find a below class that I am using to generate header. public class ...
0
votes
1answer
34 views

Marketing Cloud SOAP API - How to Retrieve Latest Subscribers?

How to perform a retrieve request to retrieve the LATEST subscribers from Salesforce? <soap:Body> <RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI"> <...
0
votes
0answers
27 views

How to get Asset Id or Customer Key from a Send object RetrieveRequest

Using the following SOAP envelope: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/...
0
votes
2answers
45 views

How can the Subject Prefix be defined in the SOAP Request for Performing a test send of a EmailSendDefintion

Using the SOAP API Request for Performing a Test Send on a EmailSendDefinition (User-Initated Send), I am unable to get the test send to have the same desired default [Test Send]: prefix that I get ...
0
votes
0answers
28 views

Marketing Cloud SOAP API - Why doesn't DescribeRequests work for the Permission and PermissionSet objects

When I use DescribeRequests with Marketing Cloud SOAP API Objects such as AccountUser or Role, I get back a response with properties and information about the properties, including the property and ...
1
vote
0answers
33 views

How to determine the Business Unit for the Journey from Custom Activity

Hello I've been digging through the internet on how I can retrieve or get the business unit of the currently running journey from the custom activity, basically I want to get the business unit from ...
1
vote
1answer
28 views

Working with searches and query API. Executing a SOQL query using “IN” clause

select Id, Name from Contact where Email in ('apple+super@gmail.com','apple+100@gmail.com') Can anyone help me to query this using the salesforce query api endpoint. The endpoint that I have tried ...
-2
votes
1answer
32 views

How to use JSON generator to create object within array [closed]

I have one JSON format { "request": { "key": "NC", "msgId": "XXXXXX", "sourceSystem": "Salesforce", "targetSystem": "test", "objectName": "Notifcation", "payload": { ...
1
vote
1answer
59 views

405 - HTTP verb used to access this page is not allowed

I am trying to configure my POSTMAN as per the below article https://gortonington.com/introduction-to-making-api-calls-to-sfmc-from-postman/ But I am facing the Error - 405 - HTTP verb used to ...
0
votes
0answers
51 views

How to access data extensions through rest/soap API

In our application we allow users to navigate to + select a Data Extension (including in a folder) and then we read the column names from it to help them map their data. This was originally ...
2
votes
0answers
32 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
28 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 ...
0
votes
0answers
20 views

Groups object upserting return INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY exception

I use Salesforce SOAP API and try to upsert Groups. I just get data from Salesforce: "LastModifiedDate" -> "2018-04-15T11:35:25.000Z" "SystemModstamp" -> "2018-04-15T11:35:25.000Z" "...
0
votes
0answers
23 views

Email Send Definition ErrorCode 9999999

I am setting up an Email Send Definition using the SOAP API and I want to pass a variable that I can use in the Ampscript in the Email. In the documentation I can find that this should be done using ...
1
vote
1answer
22 views

Calling a setCallBack inside another setCallback

I have too function to call, the result of action1 will be feed into function 2: I have tried to following methods but didnt work: handleSoap: function(component,event,helper) { var mastrSoap = ...
1
vote
1answer
36 views

LogUnsubEvent SOAP API call to Marketing cloud not Unsubscribing Subscriber

I am building a custom Integration between Sales Cloud and Marketing Cloud using the LogUnsubEvent call to unsubscribe a subscriber and get the metrics updated correctly on the reports providing the ...
0
votes
1answer
29 views

unable to call SOAP API from apex class

I have the below wsdl file (the original one is larger than 1MB, so I only copy the parameters I need): https://pastebin.com/3J23zm7K However, as Salesforce doesnt support xsd:extension base, I ...
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
2answers
78 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
56 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
18 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
1answer
59 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
41 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
26 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
60 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
42 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
49 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
114 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
28 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
77 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
26 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
49 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
77 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
27 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
104 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
45 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
51 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
16 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
92 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
26 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
102 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
68 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
148 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
52 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
41 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, ...