| CaseManagerOpenCaseById Method |
Retrieves a specific case by its unique identifier
Namespace:
Law.EdaIntegration.Case
Assembly:
Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.2
Syntax public Case OpenCaseById(
string caseId
)
Parameters
- caseId
- Type: SystemString
The unique identifier of the case
Return Value
Type:
CaseA case object
Exceptions Examples
This example demonstrates retrieving a specific case by its id and printing
its details to the system console.
using Law.EdaIntegration;
using Law.EdaIntegration.Case;
class Sample
{
public static void Main()
{
string connectionString = @"Data Source=localhost;Initial Catalog=EDA_Management;Integrated Security=False;User ID=myUserId;Password=myPassword";
EdaIntegration edaIntegration = new EdaIntegration();
edaIntegration.InitializeEnvironment(connectionString);
string caseId = "0504c9ad-bb89-445a-a2f4-045cfb459db2";
Case edaCase = edaIntegration.Cases.OpenCaseById(caseId);
Console.WriteLine("Name: " + edaCase.Name);
Console.WriteLine("Client: " + edaCase.Client);
Console.WriteLine("Description: " + edaCase.Description);
Console.WriteLine("Last Accessed: " + edaCase.LastAccessed);
}
}
See Also