var model = new ParticipantInsertRequestModel()
{
Participants = new ParticipantInsertModel[]
{
new ParticipantInsertModel()
{
TransactionID = 1234567890,
FullName = "Sally Smith"
}
}
};
var results = serviceClient.InsertParticipants(sa, model);
if (results.IsSuccessful)
{
//do work...
}
else
{
//handle error
}
Dim model = New ParticipantInsertRequestModel() With {
.Participants = New ParticipantInsertModel() {New ParticipantInsertModel() With {
.TransactionID = 1234567890,
.FullName = "Sally Smith"
}}
}
Dim results = serviceClient.InsertParticipants(sa, model)
If Not results.IsSuccessful Then
'do work...
Else
'handle error
End If