<back to all web services

PersonaRequestDto

The following routes are available for this service:
GET/RestApi/sitefinity/data-intelligence/persona
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 Persona
            Public Overridable Property Id As Integer
            Public Overridable Property Name As String
            Public Overridable Property Description As String
            Public Overridable Property PhotoUrl As String
            Public Overridable Property State As PersonaState
            Public Overridable Property Threshold As Integer
            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 Enum PersonaState
            Inactive
            Active
            ToBeDeleted
        End Enum
    End Namespace

    Namespace Telerik.Sitefinity.DataIntelligenceConnector.Personalization

        Public Partial Class PersonaListViewModel
            Public Overridable Property Personаs As IList(Of Persona)
            Public Overridable Property DecAppUrl As String
        End Class
    End Namespace

    Namespace Telerik.Sitefinity.DataIntelligenceConnector.Personalization.Services

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

VB.NET PersonaRequestDto 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/persona 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"}