Update value of JSON request node. Function accepts any kind of variable or a record, that can be added to a node with Type = Table
.
Text
- Specifies the path to JSON node in XPath syntax. E.g. write /
for a root node, /customer/phones
for a phones node in customer object.Variant
- Specifies the value, that will be updated in the JSON node.//Update simple value in id node
APIScriptRWU.UPDATE_VALUE('/id',1);
//Update record value in the root table node
Customer.GET('10000');
APIScriptRWU.UPDATE_VALUE('/',Customer);