| GET | /dailychecks | Run daily checks for API |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Mercedes.Diagnostics
Namespace Global
Namespace Mercedes.Diagnostics
Public Partial Class DailyCheckRequest
Implements IGet
End Class
Public Partial Class DailyCheckResponse
Public Overridable Property Results As List(Of DailyCheckResult) = New List(Of DailyCheckResult)
End Class
Public Partial Class DailyCheckResult
Public Overridable Property CheckName As String
Public Overridable Property Status As Boolean
Public Overridable Property Message As String
Public Overridable Property Details As List(Of String)
End Class
End Namespace
End Namespace
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 /dailychecks HTTP/1.1 Host: prod-api-agency-orch-mb-dhc.rapp-customers.co.uk Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Results:
[
{
}
]
}