IObjectRuleManager.ReadAsync Method (Int32, Int32, Boolean, Boolean)

Relativity Services API
Retrieves extended metadata for an object rule, including information about additional actions available.

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

Task<ObjectRuleResponse> ReadAsync(
	int workspaceID,
	int objectRuleID,
	bool includeMetadata,
	bool includeActions
)

Parameters

workspaceID
Type: System.Int32
The ArtifactID of the workspace where the object type should be created. Use -1 to indicate the admin workspace.
objectRuleID
Type: System.Int32
The Artifact ID of the object rule.
includeMetadata
Type: System.Boolean
A Boolean value indicating whether to return extended object rule metadata in the response.
includeActions
Type: System.Boolean
A Boolean value indicating whether to return a list of operations available to the current user of this object rule.

Return Value

Type: Task<ObjectRuleResponse>
See Also

Reference