0.1.0 • Published 8 years ago

cloudelements-crm-zoho v0.1.0

Weekly downloads
3
License
-
Repository
-
Last release
8 years ago

cloudelements-crm-zoho

CloudelementsCrmZoho - JavaScript client for cloudelements-crm-zoho This SDK is automatically generated by the Swagger Codegen project:

  • API version: api-v2
  • Package version: 0.1.0
  • Build date: 2016-04-26T17:58:39.784-06:00
  • Build package: class io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install cloudelements-crm-zoho --save

git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/YOUR_GIT_REPO_ID then install it via:

npm install YOUR_USERNAME/YOUR_GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var CloudelementsCrmZoho = require('cloudelements-crm-zoho');

var api = new CloudelementsCrmZoho.ZohocrmApi()

var authorization = "authorization_example"; // {String} The authorization tokens. The format for the header value is 'Element <token>, User <user secret>'

var body = new CloudelementsCrmZoho.Account(); // {Account} The Account object to be created.<br>With the exception of the 'id' field, the required fields indicated in the 'Account' model are those required to create a new account.


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createAccount(authorization, body, callback);

Documentation for API Endpoints

All URIs are relative to https://vineet.localtunnel.me/elements/api-v2/hubs/crm

ClassMethodHTTP requestDescription
CloudelementsCrmZoho.ZohocrmApicreateAccountPOST /accountsCreate a new account in the CRM system. Account creation will flow through Cloud Elements to your CRM service. With the exception of the 'ACCOUNTID' field, the required fields indicated in the 'Account' model are those required to create a new account.
CloudelementsCrmZoho.ZohocrmApicreateAccountNotePOST /accounts/{accountId}/notesCreate a note for an account
CloudelementsCrmZoho.ZohocrmApicreateActivitiesCallPOST /activities-callsCreate a call
CloudelementsCrmZoho.ZohocrmApicreateActivitiesEventPOST /activities-eventsCreate an event
CloudelementsCrmZoho.ZohocrmApicreateBulkByObjectNamePOST /bulk/{objectName}<span class='betaAPI'>beta</span> Upload a file of objects to be bulk uploaded to the provider.
CloudelementsCrmZoho.ZohocrmApicreateBulkQueryPOST /bulk/query<span class='betaAPI'>beta</span> Create an asynchronous bulk query job.
CloudelementsCrmZoho.ZohocrmApicreateByObjectNamePOST /{objectName}Create a new object in the CRM system. The provided objectName can be that of a custom or standard object. Object creation will flow through Cloud Elements to your CRM service.
CloudelementsCrmZoho.ZohocrmApicreateCampaignPOST /campaignsCreate a new campaign in the CRM system. Campaign creation will flow through Cloud Elements to your CRM service. With the exception of the 'id' field, the required fields indicated in the 'Campaign' model are those required to create a new campaign.
CloudelementsCrmZoho.ZohocrmApicreateContactPOST /contactsCreate a new contact in the CRM system. Contact creation will flow through Cloud Elements to your CRM service. With the exception of the 'id' field, the required fields indicated in the 'Contact' model are those required to create a new contact.
CloudelementsCrmZoho.ZohocrmApicreateContactNotePOST /contacts/{contactId}/notesCreate a note for a contact
CloudelementsCrmZoho.ZohocrmApicreateLeadPOST /leadsCreate a new lead in the CRM system. Lead creation will flow through Cloud Elements to your CRM service. With the exception of the 'id' field, the required fields indicated in the 'Lead' model are those required to create a new lead.
CloudelementsCrmZoho.ZohocrmApicreateLeadNotePOST /leads/{leadId}/notesCreate a note for a lead
CloudelementsCrmZoho.ZohocrmApicreateOpportunitPOST /opportunitiesCreate a new opportunity in the CRM system. Opportunity creation will flow through Cloud Elements to your CRM service. With the exception of the 'id' field, the required fields indicated in the 'Opportunity' model are those required to create a new opportunity.
CloudelementsCrmZoho.ZohocrmApicreateOpportunitNotePOST /opportunities/{opportunityId}/notesCreate a note for an opportunity
CloudelementsCrmZoho.ZohocrmApicreateTaskPOST /tasksCreate a task
CloudelementsCrmZoho.ZohocrmApideleteAccountByIdDELETE /accounts/{id}Delete an account associated with a given ACCOUNTID from your CRM system.\nSpecifying an account associated with a given ACCOUNTID that does not exist will result in an error message.
CloudelementsCrmZoho.ZohocrmApideleteAccountsNoteByNoteIdDELETE /accounts/{accountId}/notes/{noteId}Delete a note for an account
CloudelementsCrmZoho.ZohocrmApideleteActivitiesCallByCallIdDELETE /activities-calls/{callId}Delete a call
CloudelementsCrmZoho.ZohocrmApideleteActivitiesEventByEventIdDELETE /activities-events/{eventId}Delete an event
CloudelementsCrmZoho.ZohocrmApideleteByIdDELETE /{objectName}/{id}Delete an object associated with a given object name and ID from the CRM system. Specifying an object associated with a given objectName and ID that does not exist will result in an error message.
CloudelementsCrmZoho.ZohocrmApideleteCampaignByIdDELETE /campaigns/{id}Delete a campaign associated with a given CAMPAIGNID from your CRM system.\nSpecifying a contact associated with a given CAMPAIGNID that does not exist will result in an error message. .
CloudelementsCrmZoho.ZohocrmApideleteContactByIdDELETE /contacts/{id}Delete a contact associated with a given CONTACTID from your CRM system.\nSpecifying a contact associated with a given CONTACTID that does not exist will result in an error message. .
CloudelementsCrmZoho.ZohocrmApideleteContactsNoteByNoteIdDELETE /contacts/{contactId}/notes/{noteId}Delete a note for a contact
CloudelementsCrmZoho.ZohocrmApideleteLeadByIdDELETE /leads/{id}Delete a lead associated with a given LEADID from the CRM system. Specifying a leadassociated with a given LEADID that does not exist will result in an error message. \n
CloudelementsCrmZoho.ZohocrmApideleteLeadsNoteByNoteIdDELETE /leads/{leadId}/notes/{noteId}Delete a note for a lead
CloudelementsCrmZoho.ZohocrmApideleteOpportunitByIdDELETE /opportunities/{id}Delete an opportunity associated with a given POTENTIALID from the CRM system. Specifying an opportunity associated with a given POTENTIALID that does not exist will result in an error message.
CloudelementsCrmZoho.ZohocrmApideleteOpportunitiesNoteByNoteIdDELETE /opportunities/{opportunityId}/notes/{noteId}Delete a note for an opportunity
CloudelementsCrmZoho.ZohocrmApideleteTaskByTaskIdDELETE /tasks/{taskId}Delete a task
CloudelementsCrmZoho.ZohocrmApigetAccountByIdGET /accounts/{id}Retrieve an account associated with a given ACCOUNTID from the CRM system.Specifying an account with a specified ACCOUNTID that does not exist will result in an error response.
CloudelementsCrmZoho.ZohocrmApigetAccountsGET /accountsFind accounts in the CRM system, using the provided CEQL search expression. The search expression in CEQL is the WHERE clause in a typical SQL query, but without the WHERE keyword. For example, to search for all accounts whose name contains the word 'data', the search expression parameter will be <i>where=name like '%data%'</i>. If a search expression is not provided, then the first 200 records will be returned. <p>If a value of true is specified for the includeDeleted flag, then any soft-deleted records will also be considered in the searched records.
CloudelementsCrmZoho.ZohocrmApigetAccountsNoteByNoteIdGET /accounts/{accountId}/notes/{noteId}Retrieve a note for an account
CloudelementsCrmZoho.ZohocrmApigetAccountsNotesGET /accounts/{accountId}/notesList notes for an account
CloudelementsCrmZoho.ZohocrmApigetActivitiesCallByCallIdGET /activities-calls/{callId}Retrieve a call
CloudelementsCrmZoho.ZohocrmApigetActivitiesCallsGET /activities-callsSearch for calls
CloudelementsCrmZoho.ZohocrmApigetActivitiesEventByEventIdGET /activities-events/{eventId}Retrieve an event
CloudelementsCrmZoho.ZohocrmApigetActivitiesEventsGET /activities-eventsSearch for events
CloudelementsCrmZoho.ZohocrmApigetBulkByObjectNameGET /bulk/{id}/{objectName}<span class='betaAPI'>beta</span> Retrieve the results of an asynchronous bulk query.
CloudelementsCrmZoho.ZohocrmApigetBulkStatusGET /bulk/{id}/status<span class='betaAPI'>beta</span> Retrieve the status of a bulk job.
CloudelementsCrmZoho.ZohocrmApigetByIdGET /{objectName}/{id}Retrieve an object associated with a given ID from the CRM system.Specifying an object with a specified ID that does not exist will result in an error response.
CloudelementsCrmZoho.ZohocrmApigetByObjectNameGET /{objectName}Find objects in the CRM system, using the provided object name and CEQL search expression. The search expression in CEQL is the WHERE clause in a typical SQL query, but without the WHERE keyword. For example, to search for all contacts whose name contains the word 'data', the search expression parameter will be <i>where=name like '%data%'</i>. If a search expression is not provided, then the first 200 records will be returned. <p>If a value of true is specified for the includeDeleted flag, then any soft-deleted records will also be considered in the searched records.
CloudelementsCrmZoho.ZohocrmApigetCampaignByIdGET /campaigns/{id}Retrieve a campaign associated with a given CAMPAIGNID from the CRM system.Specifying a contact with a specified CAMPAIGNID that does not exist will result in an error response.
CloudelementsCrmZoho.ZohocrmApigetCampaignsGET /campaignsFind campaigns in the CRM system, using the provided CEQL search expression. The search expression in CEQL is the WHERE clause in a typical SQL query, but without the WHERE keyword. For example, to search for all contacts whose name contains the word 'jones', the search expression parameter will be <i>where=name='%jones%'</i>. If a search expression is not provided, then the first 200 records will be returned. <p>If a value of true is specified for the includeDeleted flag, then any soft-deleted records will also be considered in the searched records.
CloudelementsCrmZoho.ZohocrmApigetContactByIdGET /contacts/{id}Retrieve a contact associated with a given CONTACTID from the CRM system.Specifying a contact with a specified CONTACTID that does not exist will result in an error response.
CloudelementsCrmZoho.ZohocrmApigetContactsGET /contactsFind contacts in the CRM system, using the provided CEQL search expression. The search expression in CEQL is the WHERE clause in a typical SQL query, but without the WHERE keyword. For example, to search for all contacts whose name contains the word 'jones', the search expression parameter will be <i>where=name='%jones%'</i>. If a search expression is not provided, then the first 200 records will be returned. <p>If a value of true is specified for the includeDeleted flag, then any soft-deleted records will also be considered in the searched records.
CloudelementsCrmZoho.ZohocrmApigetContactsNoteByNoteIdGET /contacts/{contactId}/notes/{noteId}Retrieve a note for a contact
CloudelementsCrmZoho.ZohocrmApigetContactsNotesGET /contacts/{contactId}/notesList notes for a contact
CloudelementsCrmZoho.ZohocrmApigetLeadByIdGET /leads/{id}Retrieve a lead associated with a given LEADID from the CRM system.Specifying a lead with a specified LEADID that does not exist will result in an errorresponse.
CloudelementsCrmZoho.ZohocrmApigetLeadsGET /leadsFind leads in the CRM system, using the provided CEQL search expression. The search expression in CEQL is the WHERE clause in a typical SQL query, but without the WHERE keyword. For example, to search for all leads whose name contains the word 'data', the search expression parameter will be <i>where=name like '%data%'</i>. If a search expression is not provided, then the first 200 records will be returned. <p>If a value of true is specified for the includeDeleted flag, then any soft-deleted records will also be considered in the searched records.
CloudelementsCrmZoho.ZohocrmApigetLeadsNoteByNoteIdGET /leads/{leadId}/notes/{noteId}Retrieve a note for a lead
CloudelementsCrmZoho.ZohocrmApigetLeadsNotesGET /leads/{leadId}/notesList notes for a lead
CloudelementsCrmZoho.ZohocrmApigetObjectsGET /objectsGet a list of all the available objects.
CloudelementsCrmZoho.ZohocrmApigetObjectsMetadataGET /objects/{objectName}/metadataGet a list of all the field for an object.
CloudelementsCrmZoho.ZohocrmApigetOpportunitByIdGET /opportunities/{id}Retrieve an opportunity associated with a given POTENTIALID from the CRM system.Specifying an opportunity with a specified POTENTIALID that does not exist will result in an error response.
CloudelementsCrmZoho.ZohocrmApigetOpportunitiesGET /opportunitiesFind opportunities in the CRM system, using the provided CEQL search expression. The search expression in CEQL is the WHERE clause in a typical SQL query, but without the WHERE keyword. For example, to search for all opportunities whose name contains the word 'data', the search expression parameter will be <i>where=name like '%data%'</i>. If a search expression is not provided, then the first 200 records will be returned. <p>If a value of true is specified for the includeDeleted flag, then any soft-deleted records will also be considered in the searched records.
CloudelementsCrmZoho.ZohocrmApigetOpportunitiesNoteByNoteIdGET /opportunities/{opportunityId}/notes/{noteId}Retrieve a note for an opportunity
CloudelementsCrmZoho.ZohocrmApigetOpportunitiesNotesGET /opportunities/{opportunityId}/notesList notes for an opportunity
CloudelementsCrmZoho.ZohocrmApigetPingGET /pingPing the Element to confirm that the Hub Element has a heartbeat. If the Element does not have a heartbeat, an error message will be returned.
CloudelementsCrmZoho.ZohocrmApigetTaskByTaskIdGET /tasks/{taskId}Retrieve a task
CloudelementsCrmZoho.ZohocrmApigetTasksGET /tasksSearch for tasks
CloudelementsCrmZoho.ZohocrmApigetUsersGET /usersFind users in the CRM system, using the provided CEQL search expression. The search expression in CEQL is the WHERE clause in a typical SQL query, but without the WHERE keyword. For example, to search for all users whose name contains the word 'smith', the search expression parameter will be <i>where=name='%smith%'</i>. If a search expression is not provided, then the first 200 records will be returned. <p>If a value of true is specified for the includeDeleted flag, then any soft-deleted records will also be considered in the searched records.
CloudelementsCrmZoho.ZohocrmApiupdateAccountByIdPATCH /accounts/{id}Update an account associated with a given ACCOUNTID in the CRM system. The update API uses the PATCH HTTP verb, so only those fields provided in the account object will be updated, and those fields not provided will be left aloneUpdating an account with a specified ACCOUNTID that does not exist will result in an error response.
CloudelementsCrmZoho.ZohocrmApiupdateAccountsNoteByNoteIdPATCH /accounts/{accountId}/notes/{noteId}Update a note for an account
CloudelementsCrmZoho.ZohocrmApiupdateActivitiesCallByCallIdPATCH /activities-calls/{callId}Update a call
CloudelementsCrmZoho.ZohocrmApiupdateActivitiesEventByEventIdPATCH /activities-events/{eventId}Update an event
CloudelementsCrmZoho.ZohocrmApiupdateByIdPATCH /{objectName}/{id}Update an object associated with a given object name and ID in the CRM system. The update API uses the PATCH HTTP verb, so only those fields provided in the object will be updated, and those fields not provided will be left alone.Updating an object with a specified ID that does not exist will result in an error response.
CloudelementsCrmZoho.ZohocrmApiupdateCampaignByIdPATCH /campaigns/{id}Update the contact associated with the given CAMPAIGNID in the CRM system. The update API uses the PATCH HTTP verb, so only those fields provided in the contact object will be updated, and those fields not provided will be left aloneUpdating a contact with a specified CAMPAIGNID that does not exist will result in an error response.
CloudelementsCrmZoho.ZohocrmApiupdateContactByIdPATCH /contacts/{id}Update the contact associated with the given CONTACTID in the CRM system. The update API uses the PATCH HTTP verb, so only those fields provided in the contact object will be updated, and those fields not provided will be left aloneUpdating a contact with a specified CONTACTID that does not exist will result in an error response.
CloudelementsCrmZoho.ZohocrmApiupdateContactsNoteByNoteIdPATCH /contacts/{contactId}/notes/{noteId}Update a note for a contact
CloudelementsCrmZoho.ZohocrmApiupdateLeadByIdPATCH /leads/{id}Update a lead associated with the given LEADID in the CRM system. The update API uses the PATCH HTTP verb, so only those fields provided in the lead object will be updated, and those fields not provided will be left alone.Updating a lead with a specified LEADID that does not exist will result in an error response.
CloudelementsCrmZoho.ZohocrmApiupdateLeadsNoteByNoteIdPATCH /leads/{leadId}/notes/{noteId}Update a note for a lead
CloudelementsCrmZoho.ZohocrmApiupdateOpportunitByIdPATCH /opportunities/{id}Update the opportunity associated with the given POTENTIALID in the CRM system. The update API uses the PATCH HTTP verb, so only those fields provided in the opportunity object will be updated, and those fields not provided will be left alone.Updating an opportunity with a specified POTENTIALID that does not exist will result in an error response.
CloudelementsCrmZoho.ZohocrmApiupdateOpportunitiesNoteByNoteIdPATCH /opportunities/{opportunityId}/notes/{noteId}Update a note for an opportunity
CloudelementsCrmZoho.ZohocrmApiupdateTaskByTaskIdPATCH /tasks/{taskId}Update a task

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.