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 ...

learn more… | top users | synonyms

1
vote
1answer
18 views

Report fields vs. API query

The organization I work for is wanting to do a little house cleaning in our Salesforce setup, and they want to start with old tasks. Our phone system syncs via the SOAP API to log all phone calls as ...
3
votes
1answer
47 views

Salesforce: API to get info of all enterprise users using admins auth token?

Is there a way from the SOAP/METADATA API to get the all the registered users of an enterprise using an API call with the admin's auth-token? I only require the email address, name and role of the all ...
1
vote
1answer
47 views

query user and profile

I'm fairly new to salesforce so please bare with me as my understanding of the API' and SOQL is very limited. I'm having troubles linking user object and profile object through 1 query(), the correct ...
3
votes
3answers
103 views

Web service call out limit reached

I have a requirement where user is sending one record at a time to a third party system using SOAP API. @future is used to send out web calls. Once the request goes out, I need to poll third party ...
2
votes
2answers
60 views

Determine sobject Type From Id Using SOAP API

I'm using C# and would like to determine the type of an sObject based on it's id. I would like to pass an id to my app and have it return a list of accounts related to it. I need to identify the ...
0
votes
1answer
77 views

Get data from SAP to Salesforce using WSDL

I have attached the WSDL2Apex class for getting data Sap to Salesforce. I am bit confused about this Apex code is correct or not for this WSDL file which is to connect the WSDL to get data from ...
0
votes
1answer
25 views

How to insert a new donation and associate an existing user with donation?

I am using the PHP SOAP API and trying to insert a new user (or retrieve an existing) and then insert & attach a new donation, but there doesn't seem to exist a donation "standard object". Is ...
1
vote
0answers
29 views

Salesforce API via the Python beatbox module

I am new to accessing Salesforce data via the API. I am using the beatbox library for Python. My code: import beatbox sf = beatbox.PythonClient() sf.login('my user name', 'my password + security ...
-2
votes
0answers
29 views

List of all external systems which can be integrated with Salesforce? [closed]

I need a list of all external systems which can be integrated with Salesforce. Please feel free to reply even if it is not an exhaustive list.
2
votes
1answer
34 views

How do I set an Account object's type with the Partner API?

I'm trying to use the partner API to upsert Account objects: SObject account = new SObject(); account.setType("Account"); // set some fields account.setField("Name", "Spacely Sprockets"); // write ...
0
votes
0answers
22 views

SOQL Selecting CollaborationGroups, GroupMembers and Posts/Comments?

Hey guys I'm trying to take a member, and select the group(s) the belong to, the (other) members in that group, and all posts and comments that are in that group. I have it set right now where I am ...
3
votes
1answer
54 views

serverUrl for Apex Web Service

When using the enterprise WSDL, we use the dynamic serverUrl that's returned from the login for subsequent calls using the ent wsdl. What do others do for custom Apex services for the endpoint? I ...
4
votes
1answer
63 views

Call tooling API via WSC or AXIS

Was somebody able to access the new tooling API via the force.com Webservice Connector (WSC) or Axis? The code generation seemed to work fine for both of these stacks and I was also able to login and ...
2
votes
3answers
152 views

Exporting Data From Salesforce - REST or SOAP?

We have a requirement where we need to export records from salesforce tables into our application programmatically. I am reading on the various API's for data integration from salesforce mainly SOAP ...
3
votes
1answer
42 views

Real time Integration - Approach

Scenario: From Salesforce on click of a button a Unique Id has to be passed to the external System which responds with 1000s of records which needs to be inserted in one of the SFDC custom Objects. ...
2
votes
2answers
41 views

SOQL to get attachment(s) on PollPost

Just curious what SOQL I would use to get the Poll Items (attachments) on a FeetItem with the Type PollPost? So if we had a poll saying, "Whats your favourite color?" How would I get the line item ...
0
votes
1answer
24 views

SOAP Equivelant of RESTs /chatter/users/me/conversations?

Title pretty much says it, I know that in REST we query private conversations using the above endpoint /chatter/users/{ID}/conversations, but I'm not sure where to look for the same thing in SOAP. ...
0
votes
1answer
95 views

sObject ' ' type is not supported

Hey everyone I've been seeing this a lot lately and am trying to figure out why this error is thrown when querying the SOAP API directly. I've tried several very basic SOQL queries such as SELECT ...
1
vote
1answer
43 views

SOQL Selecting Chatter comments if been created or has been replied to in the last 24 hours

Hey guys I've been experimenting with different queries to try and get all Chatter Posts and their comments within the last 24hr period, but realize that doing this without Apex Triggers is much more ...
0
votes
2answers
170 views

Authentication Bearer in SOAP API?

UPDATE I created the below answer which allows you to use a REST application connection to (from there on) work on the SOAP API without needing to use SOAP's Login method, but instead relies ...
8
votes
2answers
184 views

How do I use the Tooling API to create a new Apex Trigger?

How do I use the Tooling API to create a new Apex Trigger (rather than update an existing one)? According to the documentation I need to specify the ContentEntityId as an existing Trigger Id. But in ...
0
votes
1answer
53 views

Debugging SF API

I'm calling the SF SOAP API from 3rd party system e.g. services/data/v25.0/sobjects/Account/ I'm facing a problem which I would like to debug. How can I debug the API and see what am I being sent?
2
votes
1answer
81 views

Can we query the info from “Data Management -> Storage Usage” through SOAP API?

Can we query the info from "Data Management -> Storage Usage" through SOAP API? If so how? Actually, I need the count of records in all the objects in the org, and the size. (Also would like to know ...
1
vote
2answers
72 views

Rest API Session ID SOAP Partner Connection

I have a REST access token and would like to use that access token in my PartnerConnection ConnectionConfig to make a Bulk API call. It does not seem to work as I get an message to set my Service ...
0
votes
1answer
45 views

Web Api - binding.query returning html

Im building a component to extract data from SF using C#, however when i execute the query i just get HTML returned and the following error: Client found response content type of ...
2
votes
2answers
42 views

Multiple toAddresses in sendEmail

Trying to use sendEmail() SOAP functionality (generating XML as in this example). According to the sendEmail() documentation you can use a list of emails in the toAddresses field. How are these ...
2
votes
2answers
33 views

Set 'Related To' field in sendEmail

I am able to send email over the SOAP api using something similar to http://wiki.developerforce.com/page/Partner_Send_Email However, I would like the emails to be associated with a particular ...
2
votes
1answer
64 views

Accessing Email sent in Activity History via API

Salesforce supports sending Email under Activity History on Opportunities/Accounts etc. Where is this information stored? Is there a way to send, query and store email messages via the API? The ...
4
votes
2answers
69 views

What is the URL for using the Tooling API via SOAP?

What is the URL for using the Tooling API via SOAP? If I already have a valid Session Id I can start using the API directly: E.g. Partner API: ...
2
votes
1answer
61 views

SOAP API - No operation available for request

I am trying to access Salesforce via the SOAP API (at the moment just using the python requests library). I have a developer account. I am trying to use an existing OAuth access token as described in ...
1
vote
2answers
93 views

SOAP API - getUpdated()/retrieve() vs query()/queryMore()

The Salesforce SOAP API's getUpdated() is designed to return all objects of a given type, inserted or updated within a given timeframe. IDs for updated records will then be returned and the Salesforce ...
3
votes
1answer
87 views

Setting a custom object relationship with the SOAP API

I've been using the SOAP API to load different SObjects into an org. When I have a relationship, I can normally use an external ID as follows in order to set up relationships that exist between ...
0
votes
1answer
40 views

SOAP XML node Sequence

So I recently had the task of logging in using the SOAP API. I constructed the envelope, and logged in fine with the following: <soapenv:Envelope ...
1
vote
1answer
170 views

Forming SOAP header through apex class if the WSDL provided has no information regarding the header

<soapenv:Header> <wsse:Security SOAP-ENV:mustUnderstand="1" xmlns:SOAP-ENV="SOAP-ENV"> <wsse:UsernameToken wsu:Id="UsernameToken-1" ...
2
votes
1answer
49 views

How to add a field using the SOAP or other API

I am using the SOAP API to load data for multiple SObject types into a completely new Developer sandbox. I have manually added external ids to many of the objects through the native interface so that ...
0
votes
0answers
31 views

Developer account SOAP API limits

We have a developer account, but for some reason we can only use the SOAP API to query the 'test' dataset that was provided (and not any custom data we have entered). SFDC returns a blank dataset with ...
9
votes
1answer
91 views

Can an Object Definition's ID be obtained programmatically?

I've noticed that SF related lists are anchored (#) by a concatenation of the current record's Id, an underscore, the Id of the related list's object definition, and then "_target" (e.g. ...
2
votes
2answers
82 views

Need to determine size of large tables from API

As the title says, I'm using a COUNT(id) query on some tables using the SOAP API. One of our tables is very large, and we're getting back QUERY_TIMEOUTs. Is there an easier way to figure out the size ...
1
vote
2answers
65 views

SOAP API - Reading first line of an excel file to determine setter methods

I want to use Java to bind to the SOAP API to insert some objects into salesforce from a CSV file. I don't want to use the dataloader or excel connector, because I will be inserting multiple related ...
1
vote
2answers
868 views

How to Convert wsdl to java classes using apache axis

Help me out to generate java classes from enterprise wsdl. I followed this link: http://www.gerd-riesselmann.net/scala/creating-java-classes-wsdl-file-using-apache-axis-2 I installed apache axis and ...
2
votes
3answers
446 views

Custom field is not visible/editable after creation (Professional Edition)

I am able to create a Custom Field on standard object (like Account or Contact) via API. I see this field was created in Salesforce UI as a custom field. But, whenever I describe sobject via API - I ...
4
votes
3answers
115 views

How can I *automatically* “restore” a sandbox environment with exactly the same data set?

I would like to be able to automatically "restore" a sandbox (actually developer org) with the same set of data. The org will be used for in-house training purposes, and the idea is that at the end of ...
2
votes
2answers
1k views

Rest API Vs SOAP API in Salesforce

Can any one explain me what is REST API and SOAP API. Also the example scenarios where these can be used ?
0
votes
1answer
327 views

Creating user via API

I am trying to build a database.com app, and goal is to user Database.com light users ($10/100). I want to give a signup screen for new users. Regarding this I checked available API options SOAP API ...
1
vote
1answer
59 views

Can a user with limited access query from SOAP api?

So we have the exact same fields in the Sanbox and Production, however, when I run a select statement from the SOAP api, I am told a certain field is invalid. I confirmed it is not invalid. The only ...
11
votes
2answers
844 views

How can I determine how many future calls have been executed in 24 hours?

I just ran into a huge gotcha in Salesforce: the 24 hr limit on # of future calls - cf. http://www.sundoginteractive.com/index.php?/sunblog/posts/governor-limit-gotchas-part-1-the-future-call/. I ...
1
vote
4answers
311 views

How do I consume workflow outbound messages?

I'm working on integrating a record update in Salesforce into a third party application. My plan is to create a service using the ASP.NET Web API that listens for requests from Salesforce. I'm ...
2
votes
1answer
271 views

Determine the correct file type extension for an Attachment

When using the Soap API to work with an Attachment how can I determine the correct file extension when saving the Body contents locally? E.g. I created a test attachment on an Account from a PDF. ...
2
votes
2answers
225 views

Maximum number of records using SOAP APi

What are the maximum no of records that can be fetched using 1 SOAP API call
3
votes
1answer
90 views

import converted lead with depending objects (meetings, calls, emails, notes)

I am trying to import a converted lead using REST/SOAP API-s. While I am able to create already converted lead, I am not able to attach all its depending object like notes, meetings etc because lead ...

1 2