<back to all web services

TouchpointRequestDto

The following routes are available for this service:
GET/RestApi/sitefinity/data-intelligence/touchpoint
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 Enum CalculationState
            Inactive
            Initializing
            Active
            ToBeDeleted
            [Error]
            Pending
            Expired
        End Enum

        Public Partial Class ConditionExpression
            Public Overridable Property Relation As String
            Public Overridable Property Parts As IList(Of ConditionPart)
        End Class

        Public Partial Class ConditionPart
            Public Sub New()
                Objects = New List(Of String)
                ObjectMetadata = New Dictionary(Of String, String)
                UrlParameters = New Dictionary(Of String, String)
            End Sub

            Public Overridable Property Id As Integer
            Public Overridable Property Predicate As String
            Public Overridable Property IsNegated As Boolean
            Public Overridable Property PredicateOperator As MatchingOperator
            Public Overridable Property ObjectOperator As MatchingOperator
            Public Overridable Property Objects As List(Of String)
            Public Overridable Property ClientAttribute As String
            Public Overridable Property ContactPropertyId As Nullable(Of Guid)
            Public Overridable Property ObjectMetadata As Dictionary(Of String, String)
            Public Overridable Property UrlParameters As Dictionary(Of String, String)
        End Class

        Public Enum MatchingOperator
            ExactMatch
            Contains
            StartsWith
            EndsWith
            UrlStrippedMatch
        End Enum

        Public Partial Class Touchpoint
            Public Overridable Property Id As Integer
            Public Overridable Property Name As String
            Public Overridable Property Definition As ConditionExpression
            Public Overridable Property State As CalculationState
            Public Overridable Property CreatedOn As Nullable(Of Date)
            Public Overridable Property CreatedByUserId As String
            Public Overridable Property ModifiedOn As Nullable(Of Date)
            Public Overridable Property ModifiedByUserId As String
            Public Overridable Property TotalHits As Nullable(Of Integer)
            Public Overridable Property TotalMetaClientHits As Nullable(Of Integer)
            Public Overridable Property AbsoluteHits As Nullable(Of Integer)
            Public Overridable Property AttributionsCalculatedOn As Nullable(Of Date)
            Public Overridable Property StatisticsCalculatedOn As Nullable(Of Date)
            Public Overridable Property Errors As String
            Public Overridable Property TouchpointType As TouchpointType
        End Class

        Public Enum TouchpointType
            Touchpoint
            Discovered
            Personalization
            AbVariant
            AbGoal
            Content
        End Enum
    End Namespace

    Namespace Telerik.Sitefinity.DataIntelligenceConnector.Personalization

        Public Partial Class TouchpointsViewModel
            Public Overridable Property Touchpoints As IList(Of Touchpoint)
        End Class
    End Namespace

    Namespace Telerik.Sitefinity.DataIntelligenceConnector.Personalization.Services

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

VB.NET TouchpointRequestDto DTOs

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

HTTP + JSV

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

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

{
	
}