An existing message details. The class is used as a SendingSource for the
Send service
Parameters:
Name
|
Type
|
Required
|
Description
|
Id
|
string
|
Yes
|
The message send Id
|
Channel type
|
ChannelType enum
|
Yes
|
The type of the message. Currently only Email/Sms is supported.
|
Java Code:
ExistingSendingSource t = new ExistingSendingSource();
t.channelType = ChannelType.SMS;
String id = Integer.toString(sendId);
t.setId(id);
C# Code:
ExistingSendingSource t
= new ExistingSendingSource();
t.ChannelType = ChannelType.Sms;
t.Id = sendId.ToString(CultureInfo.InvariantCulture);
this.source = t;
VB Code:
Dim t
As New ExistingSendingSource()
t.ChannelType = ChannelType.Sms
t.Id = sendId.ToString(CultureInfo.InvariantCulture)
Raw Xml:
<source xsi:type="ExistingSendingSource">
<ChannelType>Sms</ChannelType>
<Id>1</Id>
</source>