Hi
I am sending outbound email with the help of UCS psdk. The code which I have used is
InteractionAttributes interactionAttributes = new InteractionAttributes();
interactionAttributes.TenantId = 101;
interactionAttributes.MediaTypeId = "email";
interactionAttributes.TypeId = "Outbound";
interactionAttributes.SubtypeId = "OutboundNew";
interactionAttributes.Status = new NullableStatuses(Statuses.Pending);
interactionAttributes.Subject = "subject";
interactionAttributes.QueueName = "Outbound queue";
interactionAttributes.EntityTypeId = new NullableEntityTypes(EntityTypes.EmailOut);
EmailOutEntityAttributes outAttributes = new EmailOutEntityAttributes();
outAttributes.FromAddress = "a@a.com";
outAttributes.ToAddresses = "b@b.com";
InteractionContent content = new InteractionContent();
content.Text = "message";
RequestInsertInteraction insert = new RequestInsertInteraction();
insert.InteractionAttributes = interactionAttributes;
insert.EntityAttributes = outAttributes;
insert.InteractionContent = content;
IMessage response = UCSProtocol.Request(insert);
If I use the above code, in the UCS log and the response, I could see the message as
ucs.svc.protocol - Request (queued for 0 ms): Id=2|Type=Request|[b]Service=OMInteractions|Method=InsertInteraction[/b]|Parameters=[]|UserData=[]
ERROR 04:42:01,640 [SvcSrvW-1 ] <2> ucs.svc.protocol - No or invalid service name 'OMInteractions'
But if I send the mail using AIL in the log it apperars like
[b] Service 'Contact' method 'findOrCreate'[/b] started, and the mail is sent successfully.
Why is that the value of service is different between Interaction SDK and platform SDK. I don't set the values for service and method anywhere. Is there anywhere I need to set the value of service and method.
Thanks,
Sanjay.