• sftest
  • NEWBIE
  • 0 Points
  • Member since 2004

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

Hi,

I want to create a form on my website using C#.

  1. After the user submits the form I want to use the API to check if a contact exists using that email address. 

  2. If the contact exists I want to update the contact.

  3. If the contact does not exist I want to check if a lead exists for the email address.

  4. If a lead exists I want to update the lead.

  5. If the lead does not exist I want to insert a lead.

Is this possible to do using the API?

Any code samples in C# of people using the API on websites would be greatly appreciated.