<back to all web services

ContactPropertiesRequestDto

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

Namespace Global

    Namespace Telerik.DigitalExperienceCloud.Client

        Public Partial Class ContactProperty
            Public Overridable Property Id As Guid
            Public Overridable Property DatacenterId As Guid
            Public Overridable Property IsIdentifier As Boolean
            Public Overridable Property IsIndexed As Boolean
            Public Overridable Property DataVolumeRank As Nullable(Of Integer)
            Public Overridable Property Order As Double
            Public Overridable Property Name As String
            Public Overridable Property ColumnName As String
            Public Overridable Property TableName As String
            Public Overridable Property State As ContactPropertyState
            Public Overridable Property DataType As Integer
            Public Overridable Property Aliases As IList(Of ContactPropertyAlias)
        End Class

        Public Partial Class ContactPropertyAlias
            Public Overridable Property Id As Guid
            Public Overridable Property PropId As Guid
            Public Overridable Property Name As String
            Public Overridable Property Priority As Double
        End Class

        Public Enum ContactPropertyState
            Initialized = 1
            Processing = 2
            Active = 3
            Updated = 4
            Deleted = 5
            [Error] = 6
            HiddenInUI = 7
        End Enum
    End Namespace

    Namespace Telerik.Sitefinity.DataIntelligenceConnector.Personalization

        Public Partial Class ContactPropertiesViewModel
            Public Overridable Property ContactProperties As IList(Of ContactProperty)
            Public Overridable Property DecAppUrl As String
        End Class
    End Namespace

    Namespace Telerik.Sitefinity.DataIntelligenceConnector.Personalization.Services

        Public Partial Class ContactPropertiesRequestDto
            Public Overridable Property Filter As String
        End Class
    End Namespace
End Namespace

VB.NET ContactPropertiesRequestDto DTOs

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

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /RestApi/sitefinity/data-intelligence/contact-properties HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"DecAppUrl":"String"}