| POST | /v1/messaging/evaluate |
|---|
import Foundation
import ServiceStack
public class MessagingEvaluateRequest : Codable
{
required public init(){}
}
public class MessagingEvaluateResponse : Codable
{
public var responseStatus:ResponseStatus
public var report:Report
required public init(){}
}
public class Report : Codable
{
public var tenants:Int
public var almostUpPublished:Int
public var runningBehindPublished:Int
public var branchesSwept:Int
public var rollupsRebuilt:Int
public var retriesSent:Int
public var problems:[String] = []
required public init(){}
}
Swift 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"]}}