POST | /RestApi/sitefinity/data-intelligence/enable-content-analysis |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
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 DECEnableContentAnalysisDto 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.
POST /RestApi/sitefinity/data-intelligence/enable-content-analysis HTTP/1.1
Host: www.asg.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Progress":0,"DataCenterApiKey":"String","SiteNames":["String"],"StatusMessage":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Progress":0,"DataCenterApiKey":"String","SiteNames":["String"],"StatusMessage":"String"}