ballerinax/orbitcrm Ballerina library

1.5.2

Overview

The Orbit API v1 connector(https://docs.orbit.love/reference/about-the-orbit-api) OpenAPI specification.

Orbit API used to track activities of users and manage users.

Key Features

  • Programmatic access to create and manage resources via REST API
  • Manage user accounts and profiles
  • Secure authentication with API key or OAuth support

Prerequisites

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

Quickstart

Step 1: Import connector

Import the ballerinax/orbitcrm module into the Ballerina project.

Copy
import ballerinax/orbitcrm;

Step 2: Create a new connector instance

Add the project configuration file by creating a Config.toml file. Config file should have following configurations. Add the tokens obtained in the previous step to the Config.toml file.

Copy
[auth]
token = "<Bearer_token">
Copy
configurable http:BearerTokenConfig & readonly auth = ?;
orbitcrm:ClientConfig clientConfig = {auth : auth};

orbitcrm:Client myclient = check new orbitcrm:Client(clientConfig, {}, "https://app.orbit.love/api/v1");

Step 3: Invoke connector operation

  1. You can get activity details as follows with getActivitiesById method by passing Id of a work sheet as a parameter. Successful creation returns the json containing activity detail and the error cases returns an error object.
    Copy
    orbitcrm:json result = check myclient->getActivitiesById(<Workspace_ID>);
  2. Use bal run command to compile and run the Ballerina program.

Import

import ballerinax/orbitcrm;Copy

Other versions

See more...

Metadata

Released date: 3 days ago

Version: 1.5.2

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.8.0

GraalVM compatible: Yes


Pull count

Total: 27

Current verison: 0


Weekly downloads


Source repository


Keywords

Type/Connector

Vendor/Orbit

Area/CRM & Sales

Sales & CRM/Customer Relationship Management

Cost/Freemium


Contributors