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

How to Create a List (via APIs) from a Large CSV in Marketing Cloud

I wrote some code to interact with Marketing Cloud's SOAP API to create a List and populate Subscribers by importing a CSV file. The code works fine for CSVs up to a couple of thousand records. I ...
1
vote
1answer
266 views

How to Delete AccountContactRelation Record with SOAP API Call?

We are planning to deepen out integration between Salesforce and a third-party tool. Within the tool we have multiple accounts related to one contact. To replicate the relations between these contacts ...
0
votes
1answer
487 views

Cloud pages external api call

Is it possible to call an external API call via marketing cloud pages? Use case: I will be creating a cloud page to capture customer information, as soon as the form is submitted, I want to pass ...
0
votes
1answer
63 views

Reading in XML from webserivce request using HttpRequest

I have seen multiple posts online talking about how to read in XML data from a web request using HttpRequest, but I cannot seem to make it work or find any documentation on it. The closest I have ...
0
votes
1answer
109 views

What is the file limit when using AJAX Toolkit on Visualforce page

I am using html5 FileReader + ajax toolkit + soap API in my Visualforce page to upload a single file as ContentVersion. I'm able to upload files up to 37435519 bytes pdf file but I get this error in ...
1
vote
1answer
169 views

Get Method Syntax to move Data Extension from SFMC via Postman

I am new to API Calls, and Postman API Scripts. I have a Data Extension in Sandbox SFMC, which i want to move to Postman via Postman API call. I already have a script to get the access token from ...
1
vote
1answer
487 views

Intergrating salesforce marketing cloud with Third Party Systems

We have a requirement to integrate Salesforce Marketing cloud with an Third Party System (like AOP) and fetch bulk data from there and store it in a Data Extension. Can you please help me with answer ...
5
votes
1answer
61 views

sObject describe metadata showing duplicate picklist value entries

I'm doing some code generation based on the standard org sObject metadata. As part of that process I'm using the DescribeSObjectResult.fields.picklistValues PicklistEntry records to determine which ...
0
votes
1answer
127 views

'Text ' is not a valid value for the enum 'FieldType'

I am trying to create fields dynamically on a custom object. Field's metadata info taking from csv file. When I am uploading the file then I am getting callout exception from MetadataService. ...
0
votes
1answer
447 views

Customer Community User login using Partner WSDL

Requirement :- Login Customer community user into Salesforce using Partner WSDL. I tried solution provided here and it works for customer community users for me using SOAP UI. But when I used ...
3
votes
0answers
166 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
1answer
169 views

How to specify comment case owner

I am new using salesforce and I already created my case, and now I need to create comments from customer and customerSupport(both), but when I try to specify that in soap API like this: https://xxxx/...
1
vote
0answers
30 views

Process builder triggered by API is not sending email upon task creation

I have a process in the process builder which creates tasks when the status of a specific object is changed. When I change the status manually the process will fire as expected and a bunch of tasks ...
0
votes
1answer
122 views

“Element invalid at this location” error in call to Apex web service

I am getting SessionID invalid after taking session id from visualforce page using {!$Api.Session_ID} I am getting the below response from workbench Element {https://soap.sforce.com/schemas/class/...
0
votes
3answers
526 views

Marketing cloud SOAP API Retrieve records from DE

My DE looks like this The records in this DE are as shown: I am trying to use soap api to retrive data from this DE. however i am getting errors. can you help me what is wrong in this request ...
4
votes
1answer
900 views

REST API vs SOAP API?

One of the differences between REST and SOAP is that REST is lighter than SOAP. What does it mean when they say REST APIs are lighter than SOAP APIs? How is JSON lighter than XML?
0
votes
3answers
291 views

Clearing a Data Extension using SSJS with SOAP

I am using the below SSJS to clear out a data extension. It works well in the Parent BU but when I run it in a Child Business Unit it fails <script language="javascript" runat="server"> ...
1
vote
2answers
52 views

SOAP and REST API

What is the difference between SOAP and REST APIs. Can someone please explain with the scenarios which one I need to pick for which type of scenarios?
0
votes
1answer
67 views

Is there any way to output SOAP Envelope when using Python Fuel-SDK?

Would anyone know if there is a way to output the SOAP Envelope that is generated when using the Pythin Fuel-SDK, e.g. the SOAP envelope when making the below call: getSub = ET_Client.ET_Subscriber() ...
2
votes
1answer
233 views

Unsubscribe process on external page with update to _Unsubscribe dataview

What I would like to achieve is an email unsubscribe process that is secure, performant and on an external page with the ability to update the internal system table (dataview) _Unsubscribe. How I ...
7
votes
0answers
709 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 ...
0
votes
1answer
399 views

Update Subscriber Status Marketing Cloud SOAP API - OverallStatus Error

I'm trying to update a Subscriber status that belongs to a list to "Unsubscribed" value, even for this or other calls (Except get List subscribers) I'm getting the Overall Status as "Error". Here's ...
3
votes
0answers
88 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 ...
1
vote
1answer
256 views

Using AMPScript's BuildRowsetFromXML function for Parsing SOAP API Response with namespaces

How would I go about using the BuildRowsetFromXML function to parse a SOAP API Response that contains namespaces. The examples that I've seen that use BuildRowsetFromXML use it for parsing a more ...
1
vote
1answer
48 views

RecordType object is not listed as a parent of Account object

With the data model from here, the RecordType's child relationships are not listed when trying to retrieve the information from ChildRelationship. Isn't there a way to retrieve the data model and it'...
2
votes
1answer
154 views

How to access specific mailing address field on person account through API?

I am trying to find out how to access each component of the mailing address on our person account object. The mailing address is on the contact but it's being display through the account. I'm having ...
0
votes
1answer
128 views

Fuel-Rest API using Content Builder send to Data Extension

Is this even possible yet? I have gotten my script up to the point of creating HTML emails in Content Builder and as I understand it, I have three options from there: Send it to a Journey step. My ...
1
vote
0answers
62 views

No such column 'CustomReportId' on entity 'DashboardComponent'

We are getting this error while trying to link dashboards and reports. This field is there in sandboxes but missing in our dev orgs. Since it is standard object, this field cannot be managed in ...
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,...
5
votes
3answers
338 views

Generating email in SFDC/Marketing cloud but sending it out to another system, not the recipient

We are using Salesforce and Marketing cloud to process data, create a campaign, populate a template and send emails. Pretty much as you'd expect. Separately, we have an internal system that is ...
1
vote
1answer
125 views

How to update the FLS using Salesforce Metadata API in a bulk update?

I have a set of fields in the array list which I wanted to give FLS with Read access. I'm using below piece of code to update the field level security using Salesforce API in java language. But the ...
2
votes
1answer
125 views

What is the best way to run test classes from Apex code? SOAP Apis or Rest API?

To run all tests or specific test classes we can use both the APIs SOAP and Rest API. Below are the differences that I noticed when done research on both. All test SOAP - Possible, Without ...
0
votes
1answer
101 views

Having trouble retrieving a checkbox value with SOAP API in c#

This is the first issue I have ran into retrieving data from Salesforce using the SOAP AP. So I have introduced a custom field which is a checkbox, (lets call it Checked) and I have added it to the ...
0
votes
2answers
491 views

Retrieve Data Extension Names From A Folder - Salesforce Marketing Cloud

The SOAP API call below only displays Folder names. Does anybody know how to retrieve the list of data extension within a folder? <Body> <RetrieveRequestMsg xmlns="http://exacttarget.com/...
1
vote
1answer
216 views

Add a subscriber to a list using Marketing Cloud SOAP API

I'm trying to add a subscriber to a list by a SOAP call to the MC API, using this example: https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/...
0
votes
0answers
204 views

How to identify SOAP api version used in Salesforce by external application

We have a salesfore org where an external application is using an enterprise wsdl and consumes data from Salesforce. Currently we have been told by salesforce that we are using an old version of soap ...
0
votes
1answer
42 views

API User + Modify All Data Permissions user cannot insert Case via API with SuppliedEmail

I made a Integration user for our python backend, which utilizes a profile with API Only, and Modify All Data checked. However, upon doing this, previous code that worked before is not working with ...
0
votes
1answer
664 views

System.Callout Exception Unexpected end of file from server Getting error for salesforce to SAP integration

I am integration salesforce with SAP system using SOAP API. SAP Provided the Username and Password SO I have created a NamedCreditials in salesforce and used that in my apex class as endpoint. like ...
0
votes
1answer
100 views

Create a Case with SOAP in PHP - Failing to map across Contact ID

I have created a connection via SOAP with PHP and I am trying to create a new Case when the user submits the form. I have the SFDC Contact ID of the user and I am trying to insert the Contact Id into ...
1
vote
1answer
68 views

Custom Profile Center Update Info in Other System

I'm planning to create a customer profile center with CloudPages and Smart Capture. I understand this document is the best resource for doing so: https://developer.salesforce.com/docs/atlas.en-us.mc-...
0
votes
0answers
153 views

Content Builder: Automated Image creation from URL

I want to establish an automated image creation that pulls images from URLs to content builder and automatically saves or overrides them, because i want to use these images in emails and i believe ...
1
vote
3answers
415 views

can't find PartnerConnection and Connector Java classes

I'm trying to build a simple java client program using the partner WSDL. I build stubs from the Partner WSDL file. I downloaded the WSC .jar file and added it to my build path. I'm still getting ...
0
votes
1answer
1k views

How to query all active approval processes

I'd like to query all Active approval process, know what Object they control, and ultimately pull the type of Approver (related, user, queue etc..) is this possible? doesn't seem like it..
0
votes
2answers
41 views

SOAP connection and I have a query - Select from array of IDs via SOAP

I have a SOAP connection to SFDC in PHP and I have a query that looks like this: $query2 = " Select Name, StartDate from Campaign where Id in (7016F0000025iaJ, 7016F0000025iZV, 7016F000001PvKf)"; ...
0
votes
1answer
90 views

Talend to Salesforce: IOException: [LoginFault [ApiFault exceptionCode='INVALID_LOGIN'

I am trying to connect Talend to Salesforce. I complete the Salesforce connection settings in Talend: User Id Password Security Token And then try to test the connection, and I get this error ...
0
votes
1answer
27 views

Illegal character 0x0 when trying to delete more than 200 rows

I'm using salesforce's PHP SOAP client (SforceBaseClient) to attempt to delete records. It's working fine for less than 200 at a time, and I remember reading that you are limited to 200 rows at a ...
1
vote
2answers
532 views

Activate a Master Unsubscribe using the SOAP/REST API?

Is there a way to Activate a Master Unsubscribe using the SOAP/REST API? We are using the update method (UpdateAdd) with SOAP API. It works when a user is activated or subscribed to one or more ...
1
vote
0answers
25 views

How can I find if the DataExtensionField is required on an email template

Occasionally we post to send an email and it returns with a message "Missing variable". I'm trying to create some sync ability between what we can validate and send to salesforce. I can query the ...
0
votes
1answer
60 views

Event Id not retrievable for SentEvent

While making curl request to SentEvent api endpoint I get Id as non retrievable property. Can somebody tell why is it ? How do I uniquely identify a sent event ?
1
vote
1answer
123 views

Apex Generation Failed - WSDL problem - SOAP

I'm trying to solve this problem with Salesforce. I'm trying to generate apex classes from WSDL (converted from WADL) Parsing works correcly without any errors and warning. But I can't generate the ...