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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
Content-Type: application/xml
Content-Length: length

<ClickatellWebhook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/digitaluapi.ServiceModel">
  <Event>
    <MessageStatusUpdate>
      <ClickatellMesageStatusUpdateObject>
        <Channel>String</Channel>
        <ClientMessageId>String</ClientMessageId>
        <MessageId>String</MessageId>
        <Status>String</Status>
        <StatusCode>0</StatusCode>
        <Timestamp>0</Timestamp>
      </ClickatellMesageStatusUpdateObject>
    </MessageStatusUpdate>
  </Event>
  <IntegrationId>String</IntegrationId>
  <IntegrationName>String</IntegrationName>
</ClickatellWebhook>