CFT.getCftSurveyssent()

Gets all surveys sent in a specified date range

There are only two required parameters Username and Password

Usage

Hover over inputs/exits for more info.

var CFT = require('machinepack-cft');


// Gets all surveys sent in a specified date range

CFT.getCftSurveyssent({

userName: 'username@firm.com',

password: 'password',

fromDate: '20151231',

toDate: '20161231',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// Your password is incorrect.

InvalidPassword: function () {

 

},

// You do not have API access please ask your Firm Administrator to give you API Access

NoAccess: function () {

 

},

// OK.

success: function (result) {

 

},

});

Inputs

userName required

Your username for ClientFeedbackTool, must be your email address will not work with username

'username@firm.com'
password required

Your clientfeedbacktool credentials

'password'
fromDate required

The earliest date when you want data returned in YYYYMMDD format

'20151231'
toDate required

The latest date when you want data returned in YYYYMMDD format

'20161231'

Exits

error

An unexpected error occurred.

InvalidPassword

Your password is incorrect.

NoAccess

You do not have API access please ask your Firm Administrator to give you API Access

success

OK.

'{"List":[]}'