| GET | /{Workspace}/StatusCheck/{Id} | ||
|---|---|---|---|
| GET | /{Workspace}/StatusCheck |
import java.math.*
import java.util.*
import net.servicestack.client.*
/**
* Check on Status of Long Running Services
*/
open class StatusCheck
{
var Workspace:String? = null
var Id:String? = null
var Items:ArrayList<StatusCheckItem> = ArrayList<StatusCheckItem>()
}
open class StatusCheckItem
{
var RuleId:String? = null
var Name:String? = null
var Description:String? = null
var Status:String? = null
var PercentComplete:String? = null
var LastUpdated:String? = null
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /{Workspace}/StatusCheck/{Id} HTTP/1.1
Host: dev.fieldsquared.com
Accept: application/xml