• Samira
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies

Hello,

I am planning to do use restAPI to Get/Post data to out clients saleforce accounts.

I have created a salesforce developer account for myself: http://naxx.saleforce.com

In my developer account, I added a new 'Connected App' and got a Consumer Key and Secret (cleint_id and client_secret).

Our costumers have multiple salesforce accounts. Ex:

Customer 1: http://firsctCutomerABC.salesforce.com
Custome 2: http://secondCustomerXYZ.salesforce.com

Now my question is, am I supposed to use these two keys(cleint_id and client_secret) that I obtained in my developer salesforce account for all my API calls to our customers salesfoce account?

Or should I create a new 'Connected App' in each of our clients salesforce accounts? and get separate clientId and secret to post data to their salesforce?

so technically should I create new connected App in 1 and new connected App in 2 to get new id/secret?
Customer 1: http://firsctCutomerABC.salesforce.com 
Custome 2: http://secondCustomerXYZ.salesforce.com


Any help will greatly be appriciated!!!!!!

  • October 21, 2016
  • Like
  • 0

Hi,
 
I want to integrate a web applciation with salesforce. My prefered way it through REST API to do a post call.


Here is the scenario I am trying to achive:


I have an Id, I want to query a companies salesforce database and look for an existing record that matches the given Id. If it is found, I would like to update this existing record. If there was no match, I would like to create a new record in their database based on that Id.
 
How can I achive this? Where can I get token/auth for API calls? How can I make these API calls? What are the steps I have to take?
 
I have already signed up for developers edition.

I am not looking for C#/JAVA/... codes. I just want to do a simple Post call while passing that Id.
 
I would greatly appriciate any help you can give me on this matter.

  • September 27, 2016
  • Like
  • 0

Hi,
 
I want to integrate a web applciation with salesforce. My prefered way it through REST API to do a post call.


Here is the scenario I am trying to achive:


I have an Id, I want to query a companies salesforce database and look for an existing record that matches the given Id. If it is found, I would like to update this existing record. If there was no match, I would like to create a new record in their database based on that Id.
 
How can I achive this? Where can I get token/auth for API calls? How can I make these API calls? What are the steps I have to take?
 
I have already signed up for developers edition.

I am not looking for C#/JAVA/... codes. I just want to do a simple Post call while passing that Id.
 
I would greatly appriciate any help you can give me on this matter.

  • September 27, 2016
  • Like
  • 0