GET | /RestApi/sitefinity/data-intelligence/settings |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class DECSettingsRequestDto
{
}
public static class DECSettingsDto
{
public Boolean IsDecEnabled = null;
public Boolean AccessKeyStrategyUsed = null;
public String AuthorizationHeader = null;
public String ApiServerUrl = null;
public String DecAppUrl = null;
public String DataCenterApiKey = null;
public String LicenseType = null;
public String DecAdminBackendPageUrl = null;
public ArrayList<String> ContentAnalyticsApiKeys = null;
public Boolean getIsDecEnabled() { return IsDecEnabled; }
public DECSettingsDto setIsDecEnabled(Boolean value) { this.IsDecEnabled = value; return this; }
public Boolean isAccessKeyStrategyUsed() { return AccessKeyStrategyUsed; }
public DECSettingsDto setAccessKeyStrategyUsed(Boolean value) { this.AccessKeyStrategyUsed = value; return this; }
public String getAuthorizationHeader() { return AuthorizationHeader; }
public DECSettingsDto setAuthorizationHeader(String value) { this.AuthorizationHeader = value; return this; }
public String getApiServerUrl() { return ApiServerUrl; }
public DECSettingsDto setApiServerUrl(String value) { this.ApiServerUrl = value; return this; }
public String getDecAppUrl() { return DecAppUrl; }
public DECSettingsDto setDecAppUrl(String value) { this.DecAppUrl = value; return this; }
public String getDataCenterApiKey() { return DataCenterApiKey; }
public DECSettingsDto setDataCenterApiKey(String value) { this.DataCenterApiKey = value; return this; }
public String getLicenseType() { return LicenseType; }
public DECSettingsDto setLicenseType(String value) { this.LicenseType = value; return this; }
public String getDecAdminBackendPageUrl() { return DecAdminBackendPageUrl; }
public DECSettingsDto setDecAdminBackendPageUrl(String value) { this.DecAdminBackendPageUrl = value; return this; }
public ArrayList<String> getContentAnalyticsApiKeys() { return ContentAnalyticsApiKeys; }
public DECSettingsDto setContentAnalyticsApiKeys(ArrayList<String> value) { this.ContentAnalyticsApiKeys = value; return this; }
}
}
Java DECSettingsRequestDto DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /RestApi/sitefinity/data-intelligence/settings HTTP/1.1 Host: www.asg.com.au Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { IsDecEnabled: False, AccessKeyStrategyUsed: False, AuthorizationHeader: String, ApiServerUrl: String, DecAppUrl: String, DataCenterApiKey: String, LicenseType: String, DecAdminBackendPageUrl: String, ContentAnalyticsApiKeys: [ String ] }