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

Retrieve details of last run AutomationInstance via Soap API

I would like some input on how I could try to fetch details of the last run instance of an Automation which is scheduled. I've tried with filter on CompletedTime with greaterThan etc but the only one ...
0
votes
0answers
41 views

Test class where a single method calls two Webservices in a row [duplicate]

I need to create a Test class where a single method (doPost()) calls two Webservices in a row. The first is a REST API and the second is a SOAP API. The first API retrieve a token that I need to use ...
0
votes
1answer
16 views

Access denied when using JSFORCE to connect and update records

we've developed an ecommerce website for a client and want to integrate with their salesforce to add opportunities when a potential client creates an order on the website. We had everything working in ...
0
votes
0answers
24 views

Connecting to Salesforce using dot net code [duplicate]

In References.cs change [System.Xml.Serialization.XmlArrayItemAttribute("columns", typeof(ListViewRecordColumn), IsNullable=false)] TO [System.Xml.Serialization.XmlArrayItemAttribute("...
0
votes
1answer
58 views

Salesforce login using dot net code [closed]

static async Task<loginResponse> SfLogin() { Task<loginResponse> lr = sc.loginAsync(null, userName, password + securityToken); return await lr; } // In the above ...
0
votes
0answers
8 views

Transient Error: PerformResult has OK status, but is missing a Result list

I am using the Perform endpoint to request starting ImportDefinition for an FTP CSV file. Some highlights: I use the CustomerKey of the Import Definition in the PerformRequest Definition tag. I am ...
0
votes
0answers
18 views

Soap error- Element 'ID' is missing attribute 'type'

I am facing this error. can someone tell me why I am facing this issue in soap? System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: Validation error occurred. ...
0
votes
0answers
37 views

How can i get the latest version of the Soap Api endpoint in Salesforce?

I am currently using version 48 for the Soap endpoint , how can i see what the lates version is so that I can update The url is as follows: https://xxxx/services/Soap/u/48.0 Also if there is a newer ...
0
votes
0answers
10 views

How to use Named credentials in SOAP callouts? [duplicate]

Can someone here please help me in accessing named credentials in SOAP callouts like we do in REST ?
0
votes
1answer
27 views

Getting invalid header line: “SFDC_STACK_DEPTH: 1” error

While posting a HTTPs request through apex I am getting below intermittent error . *64545242 client sent invalid header line: "SFDC_STACK_DEPTH: 1" while reading client request headers, ...
0
votes
0answers
36 views

Data Extension List Count Mismatch in UI and Api

I am trying to retrieve the list of all the Data Extensions created for a Business Unit and i am successful in it. But, the problem is there is a mismatch in the count from the API and UI. In UI I see ...
0
votes
0answers
7 views

What is the purpose of “ActionPlanItem”?

I'm going through the ActionPlan module in the api and can't figure out the purpose of ActionPlanItem. From this image in the docs, it doesn't seem to have any role: So for example: say I create an ...
0
votes
1answer
28 views

VSCode Salesforce API/sfdx mass create custom formula fields

I'm looking for a way to custom create a placeholder formula field. SOAP doesn't allow formula field. I see a few ways online using force.com IDE, but now I'm trying it out on VSCode and I'm kind of ...
0
votes
0answers
16 views

Retrieve whether a subscriber has been added to a suppression list or not

I'm trouble understanding how to retrieve whether or not a subscriber has been added to a suppression list or not. Please note that I'm referring to a regular suppression list, not an auto-suppression ...
1
vote
1answer
93 views

SOAP api QueryDefinition send results to CSV

I notice that within the documentation for the SOAP API it has the fields FileSpec and FileType which leads me to believe that a query results can be stored as a csv file that would be found within ...
0
votes
0answers
24 views

Is there any soap api get the status message of the perform extract to know whether the extract is in progress or failed or complete?

Extract API used: <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:u="http://docs.oasis-open....
0
votes
1answer
44 views

API Trigger Sends only deploy to existing customers?

We're creating a Triggered Send and it is sending to addresses that are already in All Subscribers, but not anyone who is completely new to the client... We are sending both the SubKey and Email, and ...
0
votes
2answers
56 views

Pagination in SOAP

I need to fetch DataExtensions page-by-page but I didn't find anything useful for SOAP in SFMC The only I found is how to limit batch size for the response Can I load the next batch, or is there ...
0
votes
1answer
54 views

Get row identifier from DataExtension

I use an undocumented preview API to render email preview. POST /guide/v1/emails/<emailID>/dataExtension/<DE-Key>/rows/<rowId>/preview?kind=html To render preview I need to specify ...
1
vote
0answers
40 views

Create File Location using API

I want to create a File location inside Salesforce Marketing Cloud using API. I am not able to find any API to create File location. Does SFMC provide an API to create a File location using SOAP or ...
0
votes
1answer
38 views

Create A FileTransferActivity via SOAP API

I'm trying to create a FileTransferActivity using the SOAP API. According to the docs, it should be possible to both create and perform a FileTransferActivity, but no examples are given. This is what ...
1
vote
0answers
30 views

Transfer Email Templates and content from one Exact target to another (Marketing Cloud)

A client migrating from Exatcttarget 1.0 to 2.0. We have 400+ email templates to transfer. What's the preferred way to achieve this while keeping the native capability of drag&drop to edit emails? ...
0
votes
0answers
26 views

<faultstring>INVALID_TYPE: Must send a concrete entity type.</faultstring> When creating an account with SOAP [duplicate]

I am getting the below error when trying to create an "Account" object in salesforce org by SOAP request. Request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/...
0
votes
0answers
50 views

Process builder, Invalid field 'CreatedDate' for object 'dlrs__LookupRollupSummary__c' Class

I created a process builder in order to automate the creation of events in a public calendar when a user creates an opportunity. We have presentation date for the opportunities and we wanted to have ...
1
vote
1answer
21 views

Order of returned Ids when creating multiple records with the SOAP API

When I create records using the SOAP API, the Id of the created records are returned, and if multiple records are created in a single call, all the Ids are returned. I'm just wondering if there's any ...
1
vote
1answer
39 views

Exposing custom soap service with WSS security in SOAP header

How can we create Salesforce custom web soap service with soap header which will have wss:Security elements inside it? following is the sample custom apex web service global class MyWebService { ...
0
votes
0answers
24 views

Unable to access API with site guest user, connection.js - getting API_CURRENTLY_DISABLED for this user

I want to enable the API in Guest user profile (Guest user license) for accessing a record using sforce.connection where the user is not logged in. Basically for uploading attachment of larger size to ...
0
votes
0answers
18 views

How to convert extracted .csv file from SFMC Data Extension to FTP location with UTF 8 Encoding? [duplicate]

I am successful in extracting data into .csv from data extension to ftp location using Data Extension Extract API. The issue I am facing here is extracted .csv file is having some other Encoding type ...
4
votes
1answer
122 views

Importing Wsdl2Apex with multiple wsdl:part in a wsdl:message

I am trying to import a WSDL in salesforce which contains Multi-part messages. Multi-part messages are not supported by the wsdl2Apex tool. The suggested workaround is to modify the WSDL to generate ...
0
votes
2answers
58 views

Tracking Extract via SOAP API - where to find exported file?

I'm trying to perform a Tracking Extract via the SOAP API and all seems fine from the API response. However, I'm not sure where I should find the file (in this case shorttimespan.zip). Should it be in ...
0
votes
2answers
47 views

How to get Matching Account Records using SOAP API

I've spent most of the day going through the SOAP API Developer Guide. I'm successfully making calls to my sandbox via SoapUI client. I've tried a number of SOAP calls, including findDuplicates(), ...
0
votes
1answer
31 views

Cannot write custom object via Soap API, getting INVALID_TYPE: sObject type is not supported

We have created a new custom object in our SF account named "Product License". We are trying to write new data to it via SF Soap API. However, when I try to call the update method, I get the ...
1
vote
1answer
23 views

API Call Field Update error

Trying to update the SicDesc field from another system using API on Account. But run into this error. INVALID_FIELD_FOR_INSERT_UPDATE: Account: bad field names on insert/update call : SicDesc. It ...
0
votes
0answers
30 views

Salesforce CPQ Code Issue in calculating New new revenue

Error: Apex trigger SBQQ.ContractAfter caused an unexpected exception, contact your administrator: SBQQ.ContractAfter: execution of AfterUpdate caused by: System.DmlException: Insert failed. First ...
0
votes
0answers
24 views

Salesforce Trust api Call from salesforce

Salesforce provided some apis to make a request and get the salesforc staus in anwhere(like in other app) for dashboards perspectives. I am not able to get how i can use get request in workbench for ...
0
votes
2answers
82 views

Unable to use array.includes() with SSJS?

i have the following functions i'm using to not only collect all DEs in an account but using the JSON payload from that, also extract all the Business Unit IDs. Within the pullAllBusinessUnits() ...
0
votes
1answer
18 views

not able to get FaultString in soap api JAVA

I am trying to get faultstring from SoapFaultException class but can only get faultcode but not faultstring. Code snipped : public static Object querySf(String query , PartnerConnection pc) throws ...
1
vote
1answer
127 views

WSProxy to retrieve all data extension across all business units

I have the following SSJS function which uses WSProxy to return an array of all data extensions across all business units, however, when I test the script in a CloudPage (in a child BU), it returns ...
0
votes
0answers
44 views

Using WSProxy to lookup rows returns “Error: Data extension does not exist:”

i'm using SSJS/WSProxy so that i can search data extension for a specific email address and return the DE name + any rows that contain that email. I have the following FOR loop that takes each Email ...
0
votes
2answers
63 views

How to retrieve status of an Automation using Java FuelSDK

I'm using Java 8 with FuelSDK and am trying to retrieve some Automations but can however not wrap my head around how do it. I am able to fetch the DataExtensions using the following code: ...
1
vote
2answers
41 views

Scenarios where SOAP based services is preferred compared to REST based services?

i know that around 70% of integration uses REST but i need some example scenarios where SOAP is preferred(not that REST can't be implemented)? I am thinking of an example like, where we need to ...
0
votes
0answers
18 views

Retrieve Marketing Cloud SOAP API SendEvent - Read Timeout

I want to be able to retrieve all sendevents from the date range and the subscriber list specified, however, I always get read time out when I do this in Prod. (Works fine in lower region.) How can I ...
0
votes
0answers
33 views

fetching Dataextension headers using Soap+ssjs

I get no error, my cloud page keeps running <script runat= "server"> Platform.Load("core", "1.1.1"); var username = 'abc'; var password = 'xyz'; var ...
3
votes
1answer
69 views

deseo poder recuperar y actualizar los campos de _EnterpriseAttributes de un suscriptor en AMPSCRIPT, ya que no conozco mas lenguajes

(Title Translation via Google Translate: I want to be able to retrieve and update _EnterpriseAttributes fields from a subscriber) deseo poder recuperar y actualizar los campos de _EnterpriseAttributes ...
0
votes
1answer
41 views

Retrieve ResultMessage Object - Default Response of 'OK'?

I'm noticing that for request IDs that show a messageErrorStatus of 'The subscriber ExactTarget system status is held' in response to the DeliveryRecords API (https://www.exacttargetapis.com/messaging/...
0
votes
0answers
22 views

LogUnsubEvent with Marketing Cloud Platform SDK for PHP

Is it possible to log an unsubscribe event with Marketing Cloud Platform SDK for PHP? I found this method: https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-sdks.meta/mc-sdks/subscriber-...
0
votes
0answers
36 views

Can we query Journey History beyond last 30 days / 180 days? Maybe using API? (Marketing Cloud)

Trying to know who started/completed a journey (all-time), or in the last year. It seems impossible with the UI - limited to 30 days. Data Views are limited to 180 days. but is it possible with an API ...
0
votes
1answer
29 views

What is the exact use of latestDateCovered in GetUpdated() soap call?

We are using getUpdated() soap API call for getting the updated results. From below link https://developer.salesforce.com/docs/atlas.en-us.224.0.api.meta/api/...
1
vote
1answer
65 views

Retrieve Data Extension from Child BU via SOAP API

I am trying to retrieve details of data extension from Child BU in Marketing Cloud via SOAP API. I cannot retrieve data from Child BU, whatever I try, it only returns the data from Parent BU. Here is ...
0
votes
1answer
48 views

Data Migration - Replication vs Bulk API

I'm curious to understand the pros and cons of the Replication API and the Bulk API When migrating 20 objects with approximately 75MM rows, which would you choose? Why? Which would be fastest? Why?

1
2 3 4 5
26