setDid
setDid
Permissions:
admin
Description:
Sets the Route Local Variables within the tenant’s Route Templates that are configured as DID on the Field settings page.
*Fields that do not have the Tenant Access (Edit) checkbox selected in Field settings cannot be returned.
Parameters:
template – the name of an ARS route template
name – Route Name
enabled – 1: Enabled, 0: Disabled
<Variable> – <value> – The variable can be v1~v9, w1~w9, or x1~x9.
Sample request:
{"jsonrpc":"2.0", “method”:"setDid", “params”:{"template":"temp1", "name":"n1", "v1":"value1", "v2":"value2"}, "id":1}
Returns:
If the method succeeds, it returns “OK” in the result field.