| POST | /v1/messaging/evaluate |
|---|
export class Report
{
public Tenants: number;
public AlmostUpPublished: number;
public RunningBehindPublished: number;
public BranchesSwept: number;
public RollupsRebuilt: number;
public RetriesSent: number;
public Problems: string[] = [];
public constructor(init?: Partial<Report>) { (Object as any).assign(this, init); }
}
export class MessagingEvaluateResponse
{
public ResponseStatus: ResponseStatus;
public Report: Report;
public constructor(init?: Partial<MessagingEvaluateResponse>) { (Object as any).assign(this, init); }
}
export class MessagingEvaluateRequest
{
public constructor(init?: Partial<MessagingEvaluateRequest>) { (Object as any).assign(this, init); }
}
TypeScript MessagingEvaluateRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
Content-Type: text/jsv
Content-Length: length
{
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
]
}
}