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
0 answers
24 views

"Foreign Key external ID not found for field in entity"

I am upserting into three SF objects and have gotten two of them to work with no issues. The third object is a junction object that relates the other two objects when they are added into salesforce. ...
user avatar
0 votes
1 answer
33 views

'Bad Request' error while sending Soap API to update the query activity

I'm using the Soap API to Update the Query activity. It works fine with a simple query, but when the query contains the special characters(&, (, ),-) mentioned below it gives the 'Bad Request' ...
user avatar
0 votes
1 answer
24 views

How to get deployment's error messages using SOAP

I'm developing an app that uses APEX + SOAP API to retrieve and deploy metadata (specifically - objects). I'm using apex-mdapi to get it done with SOAP. I want to retrieve deployment's details when it ...
user avatar
0 votes
0 answers
18 views

External ID not found Jitterbit upsert

I have a project in jitterbit which upserts data into three objects; Lead, Project_c, and ProjectLead_c The Lead and Project objects are working just fine but I cannot get the upsert to run for the ...
user avatar
0 votes
0 answers
21 views

Decrypt and move multiple file

We are trying to solve the use case where we wanted to decrypt the multiple files, And after decryption we wanted to move ALL file to another directory, But all the steps should have to be performed ...
user avatar
-2 votes
1 answer
34 views

SOAP API calls to retrieve the SFMC users who do not have SSO enabled [closed]

Can anyone pass me on few links or the code snippet for retrieving the users in Marketing cloud account whose SSO is enabled using SOAP API calls
user avatar
  • 9
0 votes
1 answer
30 views

Retrieving DE data with API. ContinueRequest is returning the same data

I'm making the following SOAP API call to get records from a data extension. The DE holds more than 2500 records, so if the response says more data is available, my script will insert the request ID ...
user avatar
  • 162
1 vote
1 answer
26 views

Rest API - Which has higher priority in a SOQL query, LIMIT clause OR Sforce-Query-Options: batchSize?

When a SOQL query has both a LIMIT clause and a Sforce-Query-Options: batchSize with different but valid values, which one of these gets a higher precedence? A query with only LIMIT clause SELECT ID ...
user avatar
0 votes
1 answer
17 views

execute logic beforedelete event trigger

Before deleting the record (Ex: Account obj record), I want to update the field on the account record and send it to content management, hold it for a few seconds, and then delete it. For this ...
user avatar
  • 233
0 votes
1 answer
56 views

How to get Send Classification ID, Delivery Profile ID and Sender profile ID in SFMC?

I am trying to make an API call from Postman to make a test send. I am trying to implement the solution given here - https://gortonington.com/email-send-preview-and-test-sends-via-rest-api/. I am ...
user avatar
  • 3
-1 votes
1 answer
27 views

Not able to create partner jar

Please note I have checked previously posted questions related to this topic, but my issue is not resolved. All the related and required jar files are in one folder (C:\SOAP) and I run below command, ...
user avatar
0 votes
1 answer
39 views

expose a soap api with 40 parameters

I need to expose an API Soap with 40 parameters. Do you have an idea how to do that because SF give me an error when i generate Apex Class from WSDL "Invalid number of parameters exceeds: 32"...
user avatar
  • 3
2 votes
1 answer
34 views

Updated API method to detect merged records

Following the answer on this question, I had been using SELECT Id, isDeleted, masterRecordId FROM Contact WHERE masterRecordId != '' and adding AND SystemModStamp > [the last time we checked] with ...
user avatar
0 votes
0 answers
31 views

Retrieving SQL Query Activity status with SOAP API returns "OLE DB provider unable to begin a distributed transaction" error

I need to know when a SQL Query Activity is done and ran without errors. Therefore I check the status every 10 seconds until it's completed based on the following solution: Checking the Status of the ...
user avatar
  • 1
0 votes
1 answer
26 views

SOAP API request returns 405

I want to get SubscriberStatusEvent using: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/retrieving_the_subscriberstatusevent.html the following code returns OK but there is ...
user avatar
4 votes
0 answers
37 views

Fails to update ContentVersion with Java SOAP API

I am querying some records of type ContentVersion, changing Title then updating that records through ContentVersion contentVersionToUpdate = new ContentVersion(); contentVersionToUpdate.setTitle(...
user avatar
1 vote
0 answers
24 views

Oauth KickoffUrls empty in OpenId AuthProviders

I am creating an AuthProvider for an external API using Apex and SOAP API private void createAuthProvider() { createSObject( '<urn1:type>AuthProvider</urn1:type>' + '&...
user avatar
0 votes
1 answer
89 views

Unable to login to Salesforce using SOAP API

I am currently working on a project to interface out .Net Core 3.1 application to Salesforce. Unfortunately I am not very familiar with Salesforce and their SOAP API. I have been attempting to find ...
user avatar
  • 31
0 votes
1 answer
35 views

Check if an object has records using python

How can I check if an object has records using Python? I only know the object api name and label. I don't know its field names. The answer may be a boolean or a list of record ID's.
user avatar
  • 149
0 votes
0 answers
17 views

How do I show all the cases belonging to a specific contact and also a view on all cases for the account it belongs to

In an external portal I want to be able to show all the cases belonging to a specific contact and also a view on all cases for the account it belongs to. I did find some api functionality to gather ...
user avatar
  • 63
2 votes
1 answer
122 views

how to get the owner name of a data extension in marketing cloud [closed]

Is there any way to get the owner of a DE through API or Query?, Currently we have a SOAP API but this is not bringing us the Owner, this would be the only attribute that does not call
user avatar
0 votes
0 answers
63 views

Custom SOAP webservice response

I have this scenario, an App using a Salesforce instance have to change and use another Salesforce Instance but only url for the webservice and credentials can be modified in the App. New custom SOAP ...
user avatar
0 votes
0 answers
105 views

How can one authenticate Dataloader CLI when instance has MFA enabled?

Since moving my data export script out of my company's sandbox and into prod, I've been having a hard time getting Dataloader to authenticate, and I suspect this may be due to the Salesforce ...
user avatar
1 vote
0 answers
39 views

Web service callout failed error when trying to update duplicate rule

I am using apex-mdapi (https://github.com/financialforcedev/apex-mdapi) to update the duplicate rules from metadata API. While I am trying to read the metadata, I am not able to update the metadata (...
user avatar
  • 31
0 votes
1 answer
103 views

Not able to retrieve Settings through Metadata API

I am trying to retrieve Settings Metadata using Metadata API. The request body is as follows:- <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <soapenv:...
user avatar
0 votes
0 answers
73 views

Issue with Parsing a XML in Apex

I am trying to parse below xml in apex, where the xml contains a file properties inside <IndexDetails> section and the actual file blob is part of <Attachment>Attachment Blob Content </...
user avatar
  • 1,459
0 votes
1 answer
57 views

Can we ADD an EXCLUSION SCRIPT to an existing EmailActivity in a running Journey via API [how to expire an email]

I am aware that adding exclusion scripts excluded respective Email from being excluded. I have an other team, who wish to control which emails to be excluded from journey. Are there any REST or SOAP ...
user avatar
0 votes
0 answers
39 views

Make an API call from a cloud page that requires NTLM authentication

I'm aware of the process needed to make an API call from Marketing Cloud Cloud pages using Script.Util.HttpRequest Authentication using this is simple when using OAUTH however I need to connect to a ...
user avatar
  • 13
0 votes
1 answer
80 views

How to get data for all profiles of 'ProfileSessionSettings' metadata object in single API call?

I want to fetch 'ProfileSessionSettings' for all applicable profiles in the single API call. I can do this operation for a single profile using the following request body, but am unable to do it for ...
user avatar
1 vote
1 answer
122 views

Parsing XML with <![CDATA[ is giving wrong result and null

I am trying to parse an XML with ![CDATA where multiple attributes are embedded into ![CDATA tags. By referring to multiple suggestions on parsing XML with CDATA, I have implemented below sample code ...
user avatar
  • 1,459
0 votes
1 answer
63 views

Record not in unsubscribe data view when the LogUnsubEvent API request is made

I have added a subscriber via the update API with a status of "Active" to the all subscribers list, and then the logunsubevent request is made for that subscriber. After that, I looked for ...
user avatar
0 votes
0 answers
39 views

add custom Names space in wsdl generated from Apex soap webservice class

requirement: i need to expose the Soap service(from salesforce) and give the wsdl to client to consume/call my service. created global Apex class and webservice method : global with sharing class ...
user avatar
  • 2,537
0 votes
0 answers
25 views

Is there any way to fetch fullnames for ProfilePasswordPolicy records using API? [duplicate]

Is there any way to fetch 'fullname' for ProfilePasswordPolicy records? I am trying to update and read records of ProfilePasswordPolicy but getting the error shown in the screenshot. I can get ...
user avatar
0 votes
1 answer
27 views

Using the SOAP API, is there any way to tell if a sendEmail result has bounced?

I see in the SOAP API official documentation here that even when a success response is returned from sendEmail / SendEmailResult, an email could have bounced. I tried setting the targetObjectId per ...
user avatar
  • 57
0 votes
1 answer
52 views

Is it possible to perform an "upsert" for a subscriber in marketing cloud via the SOAP API?

I want to update a subscriber as opted out if they are already in Marketing Cloud, otherwise I'd like to first insert them as a subscriber, and then opt them out in the same call. Is this ...
user avatar
  • 410
0 votes
0 answers
17 views

Are SFMC data replications useful for Reporting purposes?

My overall goal right now is to work on getting some basic reporting (we need information custom to our business that won't be able to leverage out of the box reporting), and I'm trying to figure out ...
user avatar
-3 votes
1 answer
44 views

unable to upsert Account with different owner in same transaction

I am using SOAPUI to post an XML. I have the below XML code: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com&...
user avatar
4 votes
0 answers
129 views

How to identify legacy API usage?

We're trying to sort out a situation where we know that an org is calling a legacy API version (v19) that will be retired, but we don't know where the calls are coming from. We used the Salesforce ...
user avatar
  • 12.8k
0 votes
1 answer
33 views

Error Creating a row in an existing Data Extension in Sales Force Marketing Cloud through SOAP API

I want to add a new row into an existing data extension in SFMC using an API call, I tried using SOAP API, Following are the Error and API request message: Error : 400 Bad Request. Request URL : https:...
user avatar
0 votes
1 answer
22 views

Unable to update the record using API, getting 'An unexpected error'

I am trying to update the record on ProfilePasswordPolicy using the following request and getting this error. Could not figure it out. headers: Content-Type:text/xml charset:UTF-8 SOAPAction:login ...
user avatar
-1 votes
1 answer
41 views

How to update records of 'ProfilePasswordPolicy' using SOAP API in POSTMAN?

I want to know how we can update records of the ProfilePasswordPolicy object using Postman. https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_profilepasswordpolicy.htm If I ...
user avatar
0 votes
2 answers
52 views

Marketing Cloud SOAP UpdateRequest for a QueryDefinition fails - Bad Request

When I run (in Postman) the SOAP UpdateRequest for a QueryActivity below, I get 'Bad Request' as a response. What do I need to do to get this UpdateRequest working? There's no example in the Marketing ...
user avatar
1 vote
1 answer
88 views

Retrieve ProfilePasswordPolicy via API

The ProfilePasswordPolicy API returns the incorrect number of profiles. The count of Profiles in SF UI is 95 and this API returns the 83 profiles only. Is there anything that I am missing? https://...
user avatar
-1 votes
1 answer
21 views

Create custom faults in SOAP webservice

I am building a new SOAP webservice in apex and I want to know how to throw custom soap faults. I created custom exceptions in apex and throwed it but the stack trace is also thrown along with the ...
user avatar
  • 91
0 votes
0 answers
35 views

Retrieve External Key of Data Extensison using MC API

I would like to retrieve the External Key of the Data Extension used in the journey. I am using a NodeJS backend, so it has to be through the API. I have read that it is currently impossible to do ...
user avatar
1 vote
1 answer
79 views

Increase CPU Time Limit for processing JSON in SOAP API

We're using a Connected App to transfer over a big payload nightly to SF. Sometimes, the JSON payload can be pretty large. SF has some Apex code that processes this payload and can upsert the results. ...
user avatar
0 votes
1 answer
28 views

Accessing data from a child business unit using SOAP

I am using the SOAP API using C# via a connected service in VS. I am authenticating using the username + password method, which means I have access to the entire SF account (this is not what I want). ...
user avatar
  • 1
-1 votes
1 answer
42 views

running apex sample code making use of input from a java connector

I am talking about the emp connector here created for listening to a pushtopic. After getting the needed data from the pushtopic, I am supposed to create a record of a class using the apex sample code ...
user avatar
0 votes
1 answer
36 views

Ordering of fields in describeSObjects result

Is there any ordering to the fields in the describeSObjects result? We're using the connection.js file from this link. The DescribeSObjectsResult does not seem to mention any particular ordering.
user avatar
  • 57
1 vote
0 answers
20 views

How can I set PermissionsEdit and PermissionsRead on a custom field using SOAP? [duplicate]

How can I set PermissionsEdit and PermissionsRead on a custom field using SOAP? What is the URL endpoint and XML structure? I found this doc, https://developer.salesforce.com/docs/atlas.en-us....
user avatar

1
2 3 4 5
28