UpdateCustomTableRecords

This method is used to edit existing records in Custom Tables.

Method Signature:

UpdateCustomTableRecords(CustomTableName,autoId, RowData, async, callback)

Sample Response:

 {"CustomTableRecords":[{"AutoID":118,"FirstName":"f16032020","LastName":"l17032020",
"Email":"table@hcl.com","ApplicationName":"9.2"},{"AutoID":119,
"FirstName":"f2","LastName":"l2","Email":"custom@hcl.com","ApplicationName":"9.2"}]}

Parameter Details:

Table 1. GetCustomTableRecords
Parameter Name Type Mandatory Description
CustomTableName String Y

Unique name of custom table for a specific organization.

It is visible under Master>Custom table menu.

autoId Record ID which user want to edit.
RowData Array Y It is JSON Array which has keyname and keyvalue, e.g., [{"KeyName":"columnName","KeyValue":"ColumnValue"}]
Async Boolean N

In case it’s False:

Function will be called in synchronous mode. i.e., Current execution will wait for method execution to complete

In case it’s True:

Function will be called asynchronously. Execution will not wait for method execution completion. It will jump to next statement.

Callback Function N User can pass function name that can be executed on completion of Parent function call.