var model = new ParticipantDetailsRequestModel()
{
EnableLogging = false,
IDs = new int[] { 1234567890 },
Includes = new ParticipantIncludesModel()
{
IncludeEmailNotifications = true,
IncludeEmailTemplatePlaceholders = true,
IncludeWorkflowActions = true,
IncludeTasks = true
}
};
var results = serviceClient.GetParticipants(sa, model);
if (results.IsSuccessful)
{
//do work...
}
else
{
//handle error
}
Dim model = New ParticipantDetailsRequestModel() With {
.EnableLogging = False,
.IDs = New Integer() {1234567890},
.Includes = New ParticipantIncludesModel() With {
.IncludeEmailNotifications = True,
.IncludeEmailTemplatePlaceholders = True,
.IncludeWorkflowActions = True,
.IncludeTasks = True
}
}
Dim results = serviceClient.GetParticipants(sa, model)
If Not results.IsSuccessful Then
'do work...
Else
'handle error
End If