<back to all web services

DECSettingsRequestDto

The following routes are available for this service:
GET/RestApi/sitefinity/data-intelligence/settings
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Telerik.Sitefinity.DataIntelligenceConnector.Services

Namespace Global

    Namespace Telerik.Sitefinity.DataIntelligenceConnector.Services

        Public Partial Class DECSettingsDto
            Public Sub New()
                ContentAnalyticsApiKeys = New List(Of String)
            End Sub

            Public Overridable Property IsDecEnabled As Boolean
            Public Overridable Property AccessKeyStrategyUsed As Boolean
            Public Overridable Property AuthorizationHeader As String
            Public Overridable Property ApiServerUrl As String
            Public Overridable Property DecAppUrl As String
            Public Overridable Property DataCenterApiKey As String
            Public Overridable Property LicenseType As String
            Public Overridable Property DecAdminBackendPageUrl As String
            Public Overridable Property ContentAnalyticsApiKeys As List(Of String)
        End Class

        Public Partial Class DECSettingsRequestDto
        End Class
    End Namespace
End Namespace

VB.NET 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"]}