+ Start a Discussion
swamyswamy 

WEB API

Hi,This is Swamy...

                                        

                                        I want something details about   ""WEB API"".....

 

Plz reply me ....ASAP.

 

Best Answer chosen by Admin (Salesforce Developers) 
jhansisridhar_2011jhansisridhar_2011

Good Morning Swamy,

 

You can create records through Eclipse for ex: Inserting a new account into SFDC by writing syntax

 

Account acc = new Account;

------------

---------

---------

 

insert acc;

 

Hope this clears ur dbt.

All Answers

jhansisridhar_2011jhansisridhar_2011

Hi Swamy,

 

follow displayed below link, you will get an idea on Web API.

step 1:

http://www.salesforce.com/docs/developer/cookbook/Content/api_setup_intro.htm

step 2:

http://www.salesforce.com/us/developer/docs/api/index.htm

 

 

 

Mark as solution , if this this post helps you out.

Anup JadhavAnup Jadhav

Hey Swamy,

 

There are 5 different types of "web" api available on the Force.com platform:

 

1. SOAP

2. REST

3. Bulk

4. Metadata

5. Chatter

 

This link has more details about which api you should use:

https://na1.salesforce.com/help/doc/en/integrate_what_is_api.htm

 

You probably need to look at SOAP or REST api, and that's what people mean when they say Web API.

 

Regards,

Anup

 

swamyswamy

Thanks, jhansisridar ........for giving the link....actually,i saw this link in earlier....but my intention is that

 

my client updated the field in some object for the same field  should updated in my salesforce object also....

 

so,for this what is the solution....could you plz,help for this one ......

jhansisridhar_2011jhansisridhar_2011

Hi swamy,

 

Please let me know the fields and requirement of ur client, so that I can try to help U out.

 

 

 

 

swamyswamy

In my client side,he is  having contact  object and am also having  contact object...if he is updated the  fields in contact object than same fields should updated in my salesforce edition........

 

client is having java code......

jhansisridhar_2011jhansisridhar_2011

Hi Swamy,

 

Good Morning!!!!!

 

Your requirement is quiet not clear to me.As per my understanding ,

are you both (client & U) are using same editions of salesforce or different editions?

If u both are using same editions then, as u r using Web API, fields will added automatically in ur salesforce account. for ex: if u r using professional edition and ur client using another edition like unlimited edition  , then fields are not updated in ur salesforce edition.

 

 

Hopes this is clear to U. Let me know if any  concerns.

swamyswamy

ok...good..First ,i want  something...that is how to create records in Eclipse(IDE)....

jhansisridhar_2011jhansisridhar_2011

Good Morning Swamy,

 

You can create records through Eclipse for ex: Inserting a new account into SFDC by writing syntax

 

Account acc = new Account;

------------

---------

---------

 

insert acc;

 

Hope this clears ur dbt.

This was selected as the best answer
swamyswamy

Yaa,it is by an Apex class......but,am telling you one example....if am creating a field in the Eclipse than it automatically reflected into Salesforce.....like,that...... is any path or way  to create a record in Eclipse......(Create a record in Eclipse and it reflected to salesforce...)

 

                                            Is it possiable by API's....or anything...

 

 

if you known plz reply me ASAP...

swamyswamy

Thanks,it's working......but i want some more logic...regarding...i want to update the record in Eclipse that will automatically reflected into Salesforce.....

 

not using by update or upsert  DML operations in Anonymous blog's....

......

is it possiable by any classes......or API's....

jhansisridhar_2011jhansisridhar_2011

Good Morning Swamy,

 

Your questions are going like a loop syntax :)

 

How ever u can write a trigger for ur requirement in eclipse, this will updated automatically in salesforce.

 

 

Hope U got my point.