GET | /RestApi/sitefinity/data-intelligence/settings |
---|
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 DECSettingsDto
{
public DECSettingsDto()
{
ContentAnalyticsApiKeys = new List<string>{};
}
public virtual bool IsDecEnabled { get; set; }
public virtual bool AccessKeyStrategyUsed { get; set; }
public virtual string AuthorizationHeader { get; set; }
public virtual string ApiServerUrl { get; set; }
public virtual string DecAppUrl { get; set; }
public virtual string DataCenterApiKey { get; set; }
public virtual string LicenseType { get; set; }
public virtual string DecAdminBackendPageUrl { get; set; }
public virtual List<string> ContentAnalyticsApiKeys { get; set; }
}
public partial class DECSettingsRequestDto
{
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK Content-Type: text/jsonl Content-Length: length {"IsDecEnabled":false,"AccessKeyStrategyUsed":false,"AuthorizationHeader":"String","ApiServerUrl":"String","DecAppUrl":"String","DataCenterApiKey":"String","LicenseType":"String","DecAdminBackendPageUrl":"String","ContentAnalyticsApiKeys":["String"]}