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
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Field2Office.API.Model.StatusCheck;

namespace Field2Office.API.Model.StatusCheck
{
    ///<summary>
    ///Check on Status of Long Running Services
    ///</summary>
    public partial class StatusCheck
    {
        public StatusCheck()
        {
            Items = new List<StatusCheckItem>{};
        }

        public virtual string Workspace { get; set; }
        public virtual string Id { get; set; }
        public virtual List<StatusCheckItem> Items { get; set; }
    }

    public partial class StatusCheckItem
    {
        public virtual string RuleId { get; set; }
        public virtual string Name { get; set; }
        public virtual string Description { get; set; }
        public virtual string Status { get; set; }
        public virtual string PercentComplete { get; set; }
        public virtual string LastUpdated { get; set; }
    }

}

C# 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