Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
1answer
31 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
34 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
28 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
19 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
25 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
43 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
79 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
23 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
26 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
44 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 ...
0
votes
0answers
18 views

How to verify if Email Object is still active or deleted?

Sometimes making a curl request for a particular Id for Email Object I do not get error but I get empty response. Is there a way to identify what if the particular object is deleted or inactive ? ...
4
votes
1answer
597 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
2answers
34 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
votes
0answers
57 views

EMAIL IDs are missing

I am making a curl request to EMAIL SOAP API . I am expecting 600 IDs in the response while I am receiving just 400. Can someone tell why are the rest of IDs not coming in the response ? How can I ...
1
vote
2answers
35 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
21 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() ...
1
vote
1answer
52 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 ...
3
votes
0answers
74 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
42 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
48 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
32 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
24 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
18 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
37 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
18 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
25 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,...
3
votes
0answers
55 views

Generating email in 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
52 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
64 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
32 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
1answer
62 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/...
0
votes
1answer
47 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
31 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
0answers
17 views

Talend job UNKNOWN_EXCEPTION in component tSalesforceInput_5

Here are the full exception details: Exception in component tSalesforceInput_5 AxisFault faultCode: {urn:fault.partner.soap.sforce.com}UNKNOWN_EXCEPTION faultSubcode: faultString: ...
0
votes
1answer
12 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
210 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
0answers
30 views

How to get the particular pagelayout details through Salesforce API - Java

I'm trying to get the particular page layout details using the below code. But unable to fetch the details DescribeLayoutResult = connection.describeLayout(string sObjectType, string layoutName, ID ...
0
votes
1answer
21 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
28 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
50 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
55 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
65 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
30 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
36 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
20 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
121 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
21 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
21 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
63 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 ...
1
vote
1answer
110 views

How to get the profile name and role name from User object

We already have a soql query to retrieve the User object (which returns the role id and profile id) was wondering if we could retrieve the RoleName and ProfileName from within the same query instead ...