Functions
#
execute(function_name, parameters, functions_body) → {CRMResponses}
Execute Custom Functions
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
function_name |
String | name of the custom function |
|
parameters |
object |
<optional> |
function paramters as json |
functions_body |
object |
<optional> |
function body as json |
response object
CRMResponses
Examples
var response = ZDK.Apps.CRM.Functions.execute("dealtoquote2");
var response = ZDK.Apps.CRM.Functions.execute("dealtoquote2", { "page": 1, "per_page": 10 });
var response = ZDK.Apps.CRM.Functions.execute("dealtoquote2", { "page": 1, "per_page": 10 }, {"amount": 100, "name": "test"});