GET | /RestApi/sitefinity/data-intelligence/content-analysis-progress |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class DECMonitorContentAnalysisDto
{
public ArrayList<DECEnableContentAnalysisDto> DataCenterProgress = null;
public ArrayList<DECEnableContentAnalysisDto> getDataCenterProgress() { return DataCenterProgress; }
public DECMonitorContentAnalysisDto setDataCenterProgress(ArrayList<DECEnableContentAnalysisDto> value) { this.DataCenterProgress = value; return this; }
}
public static class DECEnableContentAnalysisDto
{
public Integer Progress = null;
public String DataCenterApiKey = null;
public ArrayList<String> SiteNames = null;
public String StatusMessage = null;
public Integer getProgress() { return Progress; }
public DECEnableContentAnalysisDto setProgress(Integer value) { this.Progress = value; return this; }
public String getDataCenterApiKey() { return DataCenterApiKey; }
public DECEnableContentAnalysisDto setDataCenterApiKey(String value) { this.DataCenterApiKey = value; return this; }
public ArrayList<String> getSiteNames() { return SiteNames; }
public DECEnableContentAnalysisDto setSiteNames(ArrayList<String> value) { this.SiteNames = value; return this; }
public String getStatusMessage() { return StatusMessage; }
public DECEnableContentAnalysisDto setStatusMessage(String value) { this.StatusMessage = value; return this; }
}
}
Java DECMonitorContentAnalysisDto DTOs
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 /RestApi/sitefinity/data-intelligence/content-analysis-progress HTTP/1.1 Host: www.asg.com.au Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"DataCenterProgress":[{"Progress":0,"DataCenterApiKey":"String","SiteNames":["String"],"StatusMessage":"String"}]}