Trendsic Platform Service

<back to all web services

DispatchNoticeAckRequest

The following routes are available for this service:
POST,OPTIONS/v1/dispatch/notice/{Token}/ack
namespace CRM.AgencyPlatform.API.Internal

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

    [<AllowNullLiteral>]
    type DispatchNoticeResponse() = 
        member val RefCode:String = null with get,set
        member val RecipientName:String = null with get,set
        member val Headline:String = null with get,set
        member val Body:String = null with get,set
        member val AffectedText:String = null with get,set
        member val OriginalWindow:String = null with get,set
        member val NewWindow:String = null with get,set
        member val ScopeLabel:String = null with get,set
        member val Reason:String = null with get,set
        member val HoldStatus:String = null with get,set
        member val ResumesUtc:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val Acked:Boolean = new Boolean() with get,set
        member val Invalid:Boolean = new Boolean() with get,set
        member val ResponseStatus:ResponseStatus = null with get,set

    [<AllowNullLiteral>]
    type DispatchNoticeAckRequest() = 
        member val Token:String = null with get,set

F# DispatchNoticeAckRequest DTOs

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

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/dispatch/notice/{Token}/ack HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Token":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"RefCode":"String","RecipientName":"String","Headline":"String","Body":"String","AffectedText":"String","OriginalWindow":"String","NewWindow":"String","ScopeLabel":"String","Reason":"String","HoldStatus":"String","ResumesUtc":"0001-01-01T00:00:00.0000000","Acked":false,"Invalid":false,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}