CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Can you use the CiviCRM API with a .NET app
Pages: [1]

Author Topic: Can you use the CiviCRM API with a .NET app  (Read 1092 times)

ykmarston

  • Guest
Can you use the CiviCRM API with a .NET app
April 14, 2010, 11:50:15 am
we plan on calling the CiviCRM API via maybe a webservice or some form does it ovver anything like this.  We are not using PHP at the moment, mostly .NET but we want to be able to get to the CiviCRM database and fields.  What else is the best way to acheive this?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Can you use the CiviCRM API with a .NET app
April 14, 2010, 12:11:24 pm

use the REST API

check: http://wiki.civicrm.org/confluence/display/CRMDOC/REST+interface

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

ykmarston

  • Guest
Re: Can you use the CiviCRM API with a .NET app
April 16, 2010, 02:21:40 pm
Now the rest interface it seems to be something you invoke via a browser but what I need is more I will have a .nett page with a username and password field and I want to authenticate not against the Civi account but against a custom username and password field on each record.  But it seems like I would be doing a search but showing it in the URL? is there any other way? 

I also upon login would get a few feidls for that record like name address etc.  I am wondering what would be the smoothest way to do this? are there any web services offered?  it there something we can do with like PHP on the Civi side to expose some of the fields?  or does it make sense or is it possible to go directly to the database and get the values?

I feel like not to many use .NET with Civi and maybe I'm trying to do something that just isn't meant to do given the restrictions but I'm not sure, the REST is slightly promising though.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Can you use the CiviCRM API with a .NET app
April 16, 2010, 04:50:14 pm

you might want to do a bit of reading on REST

http://en.wikipedia.org/wiki/Representational_State_Transfer

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Can you use the CiviCRM API with a .NET app

This forum was archived on 2017-11-26.