The Contact method

Current version: 9.1

To define the interaction contact, use the Contact() method.

Property

Details

UT SDK method

Contact(string, string)

Required/optional

Optional

Multiple invocations

Multiple invocations are forbidden and cause an InvalidOperationException exception

Value validation

Each value must contain at least one symbol besides whitespace characters

For example:

RequestResponse
var interactionRequest = UTRequestBuilder.Interaction(UTEvent.GetEmptyEvent())
                                         .ChannelId("27b4e611-a73d-4a95-b20a-811d295bdf65")
                                         .EndDateTime(DateTime.Now)
                                         .Initiator(InteractionInitiator.Contact)
                                         .Contact("jsdemo", "demo")

Do you have some feedback for us?

If you have suggestions for improving this article,