| Requires any of the roles: | Client, Admin, Partner |
| GET POST | /campaign/communications/test/{ScheduleInstancesId} | Get Campaign Communications |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class SendCampaignCommunicationsTest
{
@DataMember(Order=1)
@Validate(Validator="NotNull")
open var ScheduleInstancesId:Long? = null
@DataMember(Order=2)
@Validate(Validator="NotNull")
open var EmailAddress:String? = null
@DataMember(Order=3)
@Validate(Validator="NotNull")
open var MobileNumber:String? = null
@DataMember(Order=3)
open var NoOfRecords:Int? = null
}
open class SendCampaignCommunicationsResponse
{
open var Status:Boolean? = null
open var ResponseStatus:ResponseStatus? = null
}
Kotlin SendCampaignCommunicationsTest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /campaign/communications/test/{ScheduleInstancesId} HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"ScheduleInstancesId":0,"EmailAddress":"String","MobileNumber":"String","NoOfRecords":0}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Status":false,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}