<back to all web services

LeadScoreRequestDto

The following routes are available for this service:
GET/RestApi/sitefinity/data-intelligence/leadscore
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 LeadScore
            Public Overridable Property Id As Integer
            Public Overridable Property Name As String
            Public Overridable Property State As LeadScoreState
            Public Overridable Property Levels As IList(Of LeadScoreLevel)
            Public Overridable Property Fields As IDictionary(Of String, String)
            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 ToBeReinitializedAt As Nullable(Of Date)
        End Class

        Public Partial Class LeadScoreLevel
            Public Overridable Property Id As Integer
            Public Overridable Property Name As String
            Public Overridable Property Threshold As Integer
            Public Overridable Property SendNotification As Boolean
            Public Overridable Property Email As String
        End Class

        Public Enum LeadScoreState
            Inactive
            Active
            ToBeDeleted
        End Enum
    End Namespace

    Namespace Telerik.Sitefinity.DataIntelligenceConnector.Personalization

        Public Partial Class LeadScoreListViewModel
            Public Overridable Property LeadScores As IList(Of LeadScore)
            Public Overridable Property DecAppUrl As String
        End Class
    End Namespace

    Namespace Telerik.Sitefinity.DataIntelligenceConnector.Personalization.Services

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

VB.NET LeadScoreRequestDto 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/leadscore HTTP/1.1 
Host: www.asg.com.au 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"DecAppUrl":"String"}