GET | /RestApi/sitefinity/data-intelligence/content-analysis-progress |
---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Telerik.Sitefinity.DataIntelligenceConnector.Services;
namespace Telerik.Sitefinity.DataIntelligenceConnector.Services
{
public partial class DECEnableContentAnalysisDto
{
public DECEnableContentAnalysisDto()
{
SiteNames = new List<string>{};
}
public virtual int Progress { get; set; }
public virtual string DataCenterApiKey { get; set; }
public virtual List<string> SiteNames { get; set; }
public virtual string StatusMessage { get; set; }
}
public partial class DECMonitorContentAnalysisDto
{
public DECMonitorContentAnalysisDto()
{
DataCenterProgress = new List<DECEnableContentAnalysisDto>{};
}
public virtual List<DECEnableContentAnalysisDto> DataCenterProgress { get; set; }
}
}
C# DECMonitorContentAnalysisDto DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /RestApi/sitefinity/data-intelligence/content-analysis-progress HTTP/1.1 Host: www.asg.com.au Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"DataCenterProgress":[{"Progress":0,"DataCenterApiKey":"String","SiteNames":["String"],"StatusMessage":"String"}]}