| POST GET | /communication/message/clickatell/webhook |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class ClickatellWebhook
{
open var IntegrationId:String? = null
open var IntegrationName:String? = null
open var Event:ClickatellMesageStatusUpdateEvent? = null
}
open class ClickatellMesageStatusUpdateEvent
{
open var MessageStatusUpdate:ArrayList<ClickatellMesageStatusUpdateObject>? = null
}
open class ClickatellMesageStatusUpdateObject
{
open var Channel:String? = null
open var Timestamp:Long? = null
open var StatusCode:Int? = null
open var Status:String? = null
open var MessageId:String? = null
open var ClientMessageId:String? = null
}
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 /communication/message/clickatell/webhook HTTP/1.1
Host: duengageapi.uat.scadsoftware.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"IntegrationId":"String","IntegrationName":"String","Event":{"MessageStatusUpdate":[{"Channel":"String","Timestamp":0,"StatusCode":0,"Status":"String","MessageId":"String","ClientMessageId":"String"}]}}