<back to all web services

PersonaRequestDto

The following routes are available for this service:
GET/RestApi/sitefinity/data-intelligence/persona
namespace Telerik.DigitalExperienceCloud.Client

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type PersonaRequestDto() = 
        member val Filter:String = null with get,set

    type PersonaState =
        | Inactive = 0
        | Active = 1
        | ToBeDeleted = 2

    [<AllowNullLiteral>]
    type Persona() = 
        member val Id:Int32 = new Int32() with get,set
        member val Name:String = null with get,set
        member val Description:String = null with get,set
        member val PhotoUrl:String = null with get,set
        member val State:PersonaState = new PersonaState() with get,set
        member val Threshold:Int32 = new Int32() with get,set
        member val CreatedOn:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val CreatedByUserId:String = null with get,set
        member val ModifiedOn:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val ModifiedByUserId:String = null with get,set
        member val ToBeReinitializedAt:Nullable<DateTime> = new Nullable<DateTime>() with get,set

    [<AllowNullLiteral>]
    type PersonaListViewModel() = 
        member val Personаs:IList<Persona> = null with get,set
        member val DecAppUrl:String = null with get,set

F# PersonaRequestDto 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/persona 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"}