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
1answer
15 views

Increase max retrievable items from PHP

Good Day All, I am using a soapclient to access data from salesforce to php, and was able to retrieve data more than a thousand, however, php was only able to display 1000 but it did say that the ...
0
votes
1answer
39 views

Is it possible to create a Triggered Send Definition using WSProxy?

I want to create a Triggered Send Definition using "createItem" method under WSProxy . However i am unable to find any example on the same . I am fairly new to using APIs and need to refer to some ...
0
votes
0answers
32 views

Unable to update field to required using SOAP/Wsproxy

We are using SOAP/WSProxy to update a field to required using the following Update call: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> ...
0
votes
0answers
25 views

Cannot get subscribers from publication (AMPScript) - Custom Preference Center

I am trying to make a custom preference center, where users can see a list of all publication lists in the business unit they belong to and then choose to subscribe/unsubscribe to such lists. What I ...
1
vote
1answer
37 views

Marketing Cloud - update a Data Extension field via SOAP

I have a SOAP request and I want to replace the value in the existing field for the Data Extension Object that I have. It seems to give me a response of "OK" but I do no see that change in the field ...
-1
votes
0answers
14 views

Steps to Create/Update TriggeredsendDefination Using Soap API

I have a few questions to get clarity on TriggeredSendDefination and Salesforce to Marketing Cloud( Using Marketing Cloud Connector). What are required fields while creating triggeredsend in ...
1
vote
1answer
24 views

Process AMPscript SOAP API response

I've built an XML SOAP API request which retrieves the names of all Automations within our BU. It looks like this: SET @endpoint = "https://[endpoint key -censored].soap.marketingcloudapis.com/...
0
votes
0answers
10 views

Soap API Account Creation via SOAP API

Hi I am Trying to create the Account From SOAP API but getting below error : SOAP Project: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise....
0
votes
0answers
36 views

Extracting data from Marketing Cloud via SOAP [duplicate]

I'm getting a 403 - Forbidden response when I try to submit my ExtractRequest via the SOAP API using a temporary access token obtained from the REST API using the xxxx.auth.marketingcloudapis.com/v2/...
3
votes
0answers
30 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
1answer
19 views

AgentWork time fields

Does anybody knows if the fields ActiveTime,HandleTime from the object AgentWork Are in seconds? Here is the documentation but it does not say anything about that. https://developer.salesforce.com/...
1
vote
0answers
27 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
1answer
39 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
33 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
3answers
55 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
29 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
36 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
30 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
33 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
76 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
54 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
34 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
47 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
22 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
24 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
23 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
44 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
32 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
21 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
96 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
67 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
19 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
69 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
47 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
28 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
80 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
43 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
52 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
168 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
29 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
99 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
30 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
64 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
83 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
31 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
125 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
48 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 2 3 4 5 25