IObjectRuleManager.UpdateDefaultLayoutOnNewAsync Method (Int32, Int32, DefaultLayoutOnNewRuleRequest, DateTime)

Relativity Services API
Restricts updates to the properties of the default layout on new object rule to the date that it was last modified.

Namespace:  Relativity.Services.Interfaces.ObjectRules
Assembly:  Relativity.Services.Interfaces (in Relativity.Services.Interfaces.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

Task UpdateDefaultLayoutOnNewAsync(
	int workspaceID,
	int objectRuleID,
	DefaultLayoutOnNewRuleRequest objectRuleRequest,
	DateTime lastModifiedOn
)

Parameters

workspaceID
Type: System.Int32
The ArtifactID of the workspace where the default layout on new object rule should be created. Use -1 to indicate the admin workspace.
objectRuleID
Type: System.Int32
The Artifact ID of the default layout on new object rule.
objectRuleRequest
Type: Relativity.Services.Interfaces.ObjectRules.Models.DefaultLayoutOnNewRuleRequest
The data about the default layout on new object rule being updated.
lastModifiedOn
Type: System.DateTime
The date and time used for comparison with the last modified date assigned to the default layout on new object rule.

Return Value

Type: Task
See Also

Reference