| GET,OPTIONS | /v1/engine/health |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class EngineHealthRequest
{
}
open class EngineHealthResponse
{
open var Runs30:Int? = null
open var Succeeded30:Int? = null
open var Failed30:Int? = null
open var Waiting:Int? = null
open var OpenErrorGroups:Int? = null
open var AffectedRuns:Int? = null
open var SlaBreaches:Int? = null
open var Throughput:ArrayList<WorkflowThroughputView> = ArrayList<WorkflowThroughputView>()
open var ByVertical:ArrayList<WorkflowVerticalHealthView> = ArrayList<WorkflowVerticalHealthView>()
open var ResponseStatus:ResponseStatus? = null
}
open class WorkflowThroughputView
{
open var Hour:Int? = null
open var Ok:Int? = null
open var Failed:Int? = null
}
open class WorkflowVerticalHealthView
{
open var Vertical:String? = null
open var Workflows:Int? = null
open var Runs30:Int? = null
open var Fail30:Int? = null
open var Waiting:Int? = null
}
Kotlin EngineHealthRequest 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.
GET /v1/engine/health HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Runs30: 0,
Succeeded30: 0,
Failed30: 0,
Waiting: 0,
OpenErrorGroups: 0,
AffectedRuns: 0,
SlaBreaches: 0,
Throughput:
[
{
Hour: 0,
Ok: 0,
Failed: 0
}
],
ByVertical:
[
{
Vertical: String,
Workflows: 0,
Runs30: 0,
Fail30: 0,
Waiting: 0
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}