| GET | /dailychecks | Run daily checks for API |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class DailyCheckRequest : IGet
{
}
open class DailyCheckResponse
{
open var Results:ArrayList<DailyCheckResult> = ArrayList<DailyCheckResult>()
}
open class DailyCheckResult
{
open var CheckName:String? = null
open var Status:Boolean? = null
open var Message:String? = null
open var Details:ArrayList<String>? = null
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=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":[{}]}