Node JS SDK - An Overview

Node JS SDK - An Overview


Node JS SDK offers a way to create client node js applications that can be integrated with Zoho CRM. This SDK makes the access and use of necessary CRM APIs easy. In other words, it serves as a wrapper for the REST APIs, making it easier to use the services of Zoho CRM.

A point to note would be that the developer of the client application should create programming code elements along with configuration-related properties files, interface implementations, instances or objects. Authentication to access Zoho CRM APIs is through OAuth authentication mechanism. Invariably, HTTP requests and responses are taken care by SDK.

A sample of how an SDK acts a middleware or interface between Zoho CRM and a client java application.



Node JS SDK allows you to:
  1. Exchange data between Zoho CRM and the client application where the CRM entities are modelled as classes.
  2. Declare and define CRM API equivalents as simple functions in your node JS application.
  3. Push data into Zoho CRM, by accessing appropriate APIs of the CRM Service.

Response Handling


All API calls will give the actual API response given by Zoho APIs, except file download. For file download, the response will contain an extra field filename.

Error Handling

All errors will be thrown explicitly and care should be taken in catching the same.



                                                                                                                                                                                                                                              

SEE ALSO 
    • Related Articles

    • Installation - Node JS SDK

      Node JS SDK will be installed and a package named 'zcrmsdk' will be created in the local machine. The package can be added using the following code: var ZCRMRestClient = require('zcrmsdk') Installing the SDK Run the command below to install the Node ...
    • Initialization - Node JS SDK

      Whenever the app is started, the below code snippet is to be called for initialization. var ZCRMRestClient = require('zcrmsdk'); ZCRMRestClient.initialize().then(function() { //do whatever required after initialize }) Generating self-authorized grant ...
    • Configuration - Node JS SDK

      Your OAuth Client details should be given to the SDK as a property file. In the SDK, you need to configure a file named oauth_configuration.properties. Please place the respective values in that file. You can place it under resources folder from ...
    • Errors and Solutions - Node JS SDK

      In case you receive an error message when you access the Node JS SDK, use the links below to understand and figure out how to fix them. Access denied for user Invalid Code Invalid Client Invalid OAuth token SEE ALSO  Node JS SDK - An Overview ...
    • Release Notes - Node JS SDK

      ZCRMSDK -VERSION 0.0.15 Install command npm install zcrmsdk@0.0.15 Notes Enhancement: User identifier default value handled in get method. ZCRMSDK -VERSION 0.0.14 Install command npm install zcrmsdk@0.0.14 Notes Issue fix: Default user identifier set ...