Using Parameter Name: Requires both the parameter name and group name.
QntrlParam.ofName(paramName, paramGroupName)
Using Parameter Link Name: Requires the parameter link name.
QntrlParam.ofLinkName(paramLinkName)
Using Parameter ID: Requires the parameter ID.
QntrlParam.of(paramID)
Example
// Instead of hardcoding the URL, reference it from ConfigStore let apiUrl = QntrlParam.ofLinkName("api_url"); // Use the referenced URL in your CodeX script let httpReq = new HttpRequest(); httpReq.url(apiUrl); httpReq.method("GET"); httpReq.headers("{ 'Content-Type': 'application/json' } "); let httpRes = httpReq.execute(); |
QntrlParam.create("<param name>", "<group name>", true/false, QntrlParam.Scope.<GLOBAL/ENV>, "<param value>", "<default value>"); |
You can retrieve parameter details using the parameter name, link name, or ID. This allows you to get all the parameter details, such as name, ID, scope, etc.
var param = QntrlParam.ofName("<param name>", "<group name>"); |

var param = QntrlParam.of("<param ID>"); |
var param = QntrlParam.ofLinkName("<link name>"); |
param.update("<param name>", "<param value>", false, QntrlParam.Scope.<scope>, "<default value>"); |
param.destroy(); |