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
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Mercedes.Diagnostics;

namespace Mercedes.Diagnostics
{
    public partial class DailyCheckRequest
        : IGet
    {
    }

    public partial class DailyCheckResponse
    {
        public virtual List<DailyCheckResult> Results { get; set; } = [];
    }

    public partial class DailyCheckResult
    {
        public virtual string CheckName { get; set; }
        public virtual bool Status { get; set; }
        public virtual string Message { get; set; }
        public virtual List<string> Details { get; set; }
    }

}

C# 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":[{}]}