TicketUserServices

<back to all web services

JobHeartbeatListRequest

The following routes are available for this service:
GET/JobHeartbeat
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports TicketUserServices.ServiceModel

Namespace Global

    Namespace TicketUserServices.ServiceModel

        Public Partial Class JobHeartbeatListRequest
            Public Overridable Property OverdueOnly As Boolean
        End Class

        Public Partial Class JobHeartbeatListResult
            Public Sub New()
                Items = New List(Of JobHeartbeatStatus)
            End Sub

            Public Overridable Property Items As List(Of JobHeartbeatStatus)
            Public Overridable Property OverdueCount As Integer
            Public Overridable Property StatusCode As Integer
            Public Overridable Property Message As String
        End Class

        Public Partial Class JobHeartbeatStatus
            Public Overridable Property JobName As String
            Public Overridable Property Description As String
            Public Overridable Property Enabled As Boolean
            Public Overridable Property LastOkAt As Nullable(Of Date)
            Public Overridable Property MinutesSinceOk As Nullable(Of Integer)
            Public Overridable Property ExpectedIntervalMinutes As Integer
            Public Overridable Property Overdue As Boolean
            Public Overridable Property ItemsProcessed As Nullable(Of Long)
            Public Overridable Property ConsecutiveFailures As Integer
            Public Overridable Property SucceedingButIdle As Boolean
        End Class
    End Namespace
End Namespace

VB.NET JobHeartbeatListRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /JobHeartbeat HTTP/1.1 
Host: stubbur-app.azurewebsites.net 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	items: 
	[
		{
			jobName: String,
			description: String,
			enabled: False,
			lastOkAt: 0001-01-01,
			minutesSinceOk: 0,
			expectedIntervalMinutes: 0,
			overdue: False,
			itemsProcessed: 0,
			consecutiveFailures: 0,
			succeedingButIdle: False
		}
	],
	overdueCount: 0,
	statusCode: 0,
	message: String
}