<back to all web services

DECSettingsRequestDto

The following routes are available for this service:
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
    {
    }

}

C# DECSettingsRequestDto DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"IsDecEnabled":false,"AccessKeyStrategyUsed":false,"AuthorizationHeader":"String","ApiServerUrl":"String","DecAppUrl":"String","DataCenterApiKey":"String","LicenseType":"String","DecAdminBackendPageUrl":"String","ContentAnalyticsApiKeys":["String"]}