digitaluapi

<back to all web services

ClickatellWebhook

The following routes are available for this service:
POST GET/communication/message/clickatell/webhook
namespace digitaluapi.ServiceModel

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type ClickatellMesageStatusUpdateObject() = 
        member val Channel:String = null with get,set
        member val Timestamp:Int64 = new Int64() with get,set
        member val StatusCode:Int32 = new Int32() with get,set
        member val Status:String = null with get,set
        member val MessageId:String = null with get,set
        member val ClientMessageId:String = null with get,set

    [<AllowNullLiteral>]
    type ClickatellMesageStatusUpdateEvent() = 
        member val MessageStatusUpdate:ResizeArray<ClickatellMesageStatusUpdateObject> = null with get,set

    [<AllowNullLiteral>]
    type ClickatellWebhook() = 
        member val IntegrationId:String = null with get,set
        member val IntegrationName:String = null with get,set
        member val Event:ClickatellMesageStatusUpdateEvent = null with get,set

F# ClickatellWebhook DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + 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"}]}}