Field Squared API Services

<back to all web services

StatusCheck

Check on Status of Long Running Services

The following routes are available for this service:
GET/{Workspace}/StatusCheck/{Id}
GET/{Workspace}/StatusCheck
import Foundation
import ServiceStack

/**
* Check on Status of Long Running Services
*/
public class StatusCheck : Codable
{
    public var workspace:String
    public var id:String
    public var items:[StatusCheckItem] = []

    required public init(){}
}

public class StatusCheckItem : Codable
{
    public var ruleId:String
    public var name:String
    public var Description:String
    public var status:String
    public var percentComplete:String
    public var lastUpdated:String

    required public init(){}
}


Swift StatusCheck DTOs

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

HTTP + 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