Request
To register the new parent STCU node with the business rules, send a PUT request to:
Bash
http://<host>:<port>/businessConfig/admin/v1/businessRuleInstances/CPM/com.nagra.ml.sp.cpm.rules.aftercommit/Update editorial contents metadata for CU
Headers
-
Content-Type: application/json
Mandatory fields
-
agendaGroup– must beBusinessRules -
parameterSet.StcuParentNodeId
Example
A request with this payload registers the STCU parent node with the business rules:
JSON
{
"agendaGroup": "BusinessRules",
"parameterSet": {
"StcuParentNodeId": "STCUParentNodeId"
}
}
Here, STCUParentNodeId is the ID of the node that you already created.
Response
A successful request returns an HTTP 201 status (or 200 if the specified business rule instance already exists).
Example
The payload of a response to a successful request looks like this:
JSON
{
"moduleName": "CPM",
"businessRuleName": "Update editorial contents metadata for CU",
"businessRulePackageName": "com.nagra.ml.sp.cpm.rules.aftercommit"
}
See also
For full details of this API, see the config-manager API documentation.