Skip to content

kevshef/k-deepser-api-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

NodeJS Deepser API

Deepser is a help desk software and you can find more information in DeepDesk API Docs

Installation

To use it you need to install the node packages. Run this command in the terminal in the lib directory

npm i

Example

To start using Deepser API you need edit this form with you credentials

    DeepAPI.getInstance()
    .setHost('https://deepdeskhost.net')
    .setToken('token');

Service Operation

//load an existing operation by id
let operation = new Operation();
operation.load(20);

//Edit or create operation parameters
operation.setData("title", "your title");
operation.setData("description" , "your description");
//...
operation.save();

//load Operation collection
operation.getCollection();
await operation.load();

User

//load an existing user by id
let user = new User();
user.load(3);
//...

//load Users collection
let user = (new User()).getCollection();
await user.load();

Filters

//add filters to your research
let user = (new User()).getCollection();
user.addFieldToFilter('name', '%a%', 'like');
await user.load();

About

Deepser API in NodeJS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors