ballerinax/zoho.crm.rest Ballerina library

1.3.1

Overview

This is a generated connector for Zoho CRM REST OpenAPI specification.

Zoho CRM REST API provides the capability to unify customer data from across different applications and databases.

Prerequisites

Before using this connector in your Ballerina application, complete the following:

Quickstart

To use the Zoho CRM REST connector in your Ballerina application, update the .bal file as follows:

Step 1: Import connector

First, import the ballerinax/zoho.crm.rest module into the Ballerina project.

Copy
import ballerinax/zoho.crm.rest;

Step 2 - Create a new connector instance

You can now make the connection configuration using the <ACCESS_TOKEN>.

Copy
rest:ClientConfig clientConfig = {
    auth : {
        token: `<ACCESS_TOKEN>`
    }
};

rest:Client zohoClient = check new (clientConfig);

Step 3: Invoke connector operation

  1. Now you can use the operations available within the connector. Note that they are in the form of remote operations.

    Following is an example to add a record in Zoho.

    Copy
    public function main() returns error? {
        Response response = check zohoClient->addRecord("contacts", {data:[{Last_Name: "NC"}]});
    }
  2. Use bal run command to compile and run the Ballerina program.

Import

import ballerinax/zoho.crm.rest;Copy

Metadata

Released date: 12 months ago

Version: 1.3.1

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.4.1

GraalVM compatible: Yes


Pull count

Total: 3

Current verison: 3


Weekly downloads


Source repository


Keywords

Sales & CRM/Customer Relationship Management

Cost/Paid


Contributors

Other versions