You need to sign in to do that
Don't have an account?
jwillans
Creating data using partner API
It is possible using the enterprise API to create data using the approach described here:
http://www.salesforce.com/us/developer/docs/api/index.htm
Is it possible to achieve the same end through the "partner" API. For example, rather than concrete Java types:
Opportunity newOpportunity = new Opportunity();
newOpportunity.setStageName("Prospecting");
SaveResult[] results = binding.create(new SObject[] {newOpportunity});
Can the description of object types be captured in data, for example:
SObject opportunity = new SObject();
sobject.setType("Opportunity");
/* Missing bit: some code to describe the stage name */
SaveResult[] results = binding.create(new SObject[] {newOpportunity});
Thanks,
James
http://www.salesforce.com/us/developer/docs/api/index.htm
Is it possible to achieve the same end through the "partner" API. For example, rather than concrete Java types:
Opportunity newOpportunity = new Opportunity();
newOpportunity.setStageName("Prospecting");
SaveResult[] results = binding.create(new SObject[] {newOpportunity});
Can the description of object types be captured in data, for example:
SObject opportunity = new SObject();
sobject.setType("Opportunity");
/* Missing bit: some code to describe the stage name */
SaveResult[] results = binding.create(new SObject[] {newOpportunity});
Thanks,
James
Message Edited by jwillans on 08-08-200707:42 AM
James