| POST | /v1/messaging/evaluate |
|---|
"use strict";
export class Report {
/** @param {{Tenants?:number,AlmostUpPublished?:number,RunningBehindPublished?:number,BranchesSwept?:number,RollupsRebuilt?:number,RetriesSent?:number,Problems?:string[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
Tenants;
/** @type {number} */
AlmostUpPublished;
/** @type {number} */
RunningBehindPublished;
/** @type {number} */
BranchesSwept;
/** @type {number} */
RollupsRebuilt;
/** @type {number} */
RetriesSent;
/** @type {string[]} */
Problems = [];
}
export class MessagingEvaluateResponse {
/** @param {{ResponseStatus?:ResponseStatus,Report?:Report}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {Report} */
Report;
}
export class MessagingEvaluateRequest {
constructor(init) { Object.assign(this, init) }
}
JavaScript MessagingEvaluateRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/messaging/evaluate HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Report":{"Tenants":0,"AlmostUpPublished":0,"RunningBehindPublished":0,"BranchesSwept":0,"RollupsRebuilt":0,"RetriesSent":0,"Problems":["String"]}}