The java tag has no wiki summary.
0
votes
0answers
54 views
unable to create user with REST api email
Hi I am using REST API to create new USER, when i am extracting the meta data using the
/services/data/v20.0/sobjects/User/describe
the label for 'Email' field is shown as 'E-mail' whereas on ...
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 ...
1
vote
2answers
80 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 ...
3
votes
1answer
36 views
How expensive is isDone() in java metadata api
I found the following code example online:
long waitTimeMilliSecs = ONE_SECOND;
// After the create() call completes, we must poll the results of the checkStatus()
// call until it ...
6
votes
1answer
140 views
REST API: How to update active values for picklist?
I need to update the Picklist values for a custom field on a custom object. I have already populated the Available Values via the Enterprise and Metadata Java APIs, but now I need to move the newly ...
0
votes
2answers
139 views
Creation of Batches from CSV resulting in erroneous state
I'm trying to make batches from a CSV file written using CSVWriter of opencsv as:
CSVWriter writer = new CSVWriter(new FileWriter(filePath+createFileName), ',', CSVWriter.DEFAULT_QUOTE_CHARACTER);
...
2
votes
1answer
58 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 ...