Trendsic Platform Service

<back to all web services

DispatchNoticeAckRequest

The following routes are available for this service:
POST,OPTIONS/v1/dispatch/notice/{Token}/ack

export class DispatchNoticeResponse
{
    public RefCode: string;
    public RecipientName: string;
    public Headline: string;
    public Body: string;
    public AffectedText: string;
    public OriginalWindow: string;
    public NewWindow: string;
    public ScopeLabel: string;
    public Reason: string;
    public HoldStatus: string;
    public ResumesUtc?: string;
    public Acked: boolean;
    public Invalid: boolean;
    public ResponseStatus: ResponseStatus;

    public constructor(init?: Partial<DispatchNoticeResponse>) { (Object as any).assign(this, init); }
}

export class DispatchNoticeAckRequest
{
    public Token: string;

    public constructor(init?: Partial<DispatchNoticeAckRequest>) { (Object as any).assign(this, init); }
}

TypeScript DispatchNoticeAckRequest 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 /v1/dispatch/notice/{Token}/ack HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Token":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
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"}}}