Need to Access Exchange Web Services API using javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alkasaini
    New Member
    • Jan 2016
    • 1

    Need to Access Exchange Web Services API using javascript

    I am creating an application using nodeJS and javascript for achieving following functionalities :
    •Autodicover URL
    •Fetching calendar items
    •Get user availability details
    •Fetching contacts

    My scenario is like I do have a email address and password and then I need to perform autodiscover, fetch contacts and fetch useravailabilit y details from exchange if the exchange credentials are correct. So I have to create a solution which serve to different organizations i.e. user can login using test@domain1.co m or test@doemain2.c om or any other exchange credentials.

    Please let me know the recommended way of accessing exchange API using javascript. Can we use SOAP xmlHttpRequests to connect to exchange and fetch required details like contacts/calendar items. Also, Please let me know is there any javascript API. Any help would be highly appreciated.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    Also, Please let me know is there any javascript API.
    http://nodejs.org/docs lists all APIs provided by the node.js environment. the native JavaScript APIs can be found in the ECMAScript 262 standard.

    you can also import any additional modules you like, which may also count as API.

    Can we use SOAP xmlHttpRequests to connect to exchange and fetch required details like contacts/calendar items.
    you certainly can, but JSON-based services are easier.

    side note: XMLHttpRequest is a browser API, you won‘t find that in node.js

    Please let me know the recommended way of accessing exchange API using javascript.
    check the documentation of the exchange API.

    Comment

    Working...