Timetask.get()

List all or one (project, client, person, ...)

Usage

Hover over inputs/exits for more info.

var Timetask = require('machinepack-timetask');


// List all or one (project, client, person, ...)

Timetask.get({

account: 'myaccount',

token: 'gfg12DF',

model: 'project',

id: 125031,

params: {},

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

account required

account name

'myaccount'
token required

your token

'gfg12DF'
model required

name of the model

'project'
id

id of the model

125031
params

params object for filtering

Exits

error

An unexpected error occurred.

success

OK.