Mercedes.Agency.Orchestration.API

<back to all web services

DailyCheckRequest

Diagnostics
Requires Authentication
The following routes are available for this service:
GET/dailychecksRun 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

VB.NET DailyCheckRequest DTOs

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

HTTP + CSV

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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Results":[{}]}