Alfresco Index of Web Scripts URI '/api/path/{store_type}/{store_id}/{id}/rules'
Alfresco Community v3.2.0 (2039)
3 Web Scripts

Back to Web Scripts Home

Up to uri /api/path/{store_type}/{store_id}/{id}

/api/path/{store_type}/{store_id}/{id}/rules/{rule_id}

Delete Rules
DELETE /alfresco/service/api/node/{store_type}/{store_id}/{id}/rules
DELETE /alfresco/service/api/path/{store_type}/{store_id}/{id}/rules
DELETE /alfresco/service/api/rules/appliedtonode/{store_type}/{store_id}/{id}
Description:Delete the collection of rules which have been applied to the given rule owning node node.
Authentication:user
Transaction:required
Format Style:argument
Default Format:json
Id:org/alfresco/repository/rule/rules.delete
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/rule/rules.delete.desc.xml

Get Rules
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/rules?includeInherited={includeInherited?}&ruleTypeName={ruleTypeName?}
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/rules?includeInherited={includeInherited?}&ruleTypeName={ruleTypeName?}
GET /alfresco/service/api/rules/appliedtonode/{store_type}/{store_id}/{id}?includeInherited={includeInherited?}&ruleTypeName={ruleTypeName?}
Description:Get the collection of rules which have been applied to the given (actionable) node. If the optional 'includeInherited' parameter is not provided, then rules inherited from the given node's parents are included by default. If the optional 'ruleTypeName' parameter is provided, then only rules of that specific given rule type are returned
Authentication:user
Transaction:required
Format Style:argument
Default Format:json
Id:org/alfresco/repository/rule/rules.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/rule/rules.get.desc.xml

Create Rule
POST /alfresco/service/api/node/{store_type}/{store_id}/{id}/rules
POST /alfresco/service/api/path/{store_type}/{store_id}/{id}/rules
POST /alfresco/service/api/rules/appliedtonode/{store_type}/{store_id}/{id}
Description:Creates a rule in the rule collection associated with the given actionable node
Authentication:user
Transaction:required
Format Style:argument
Default Format:json
Id:org/alfresco/repository/rule/rules.post
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/rule/rules.post.desc.xml