rbv_api.getRecord2()
Purpose
Retrieves all field data (including formulas) for a given record in JSON format whose objDefName and id is passed.
Syntax
rbv_api.getRecord2(objDefName, id);
Parameters
objDefName
Integration name of the object definition.
id
A long value containing the record ID.
Return value
A JSON object.
Permissions Required
View permission for the requested object type.
Example
var data = rbv_api.getRecord2("xyz", 236);
rbv_api.println(data["name"]);