<back to all web services

PersonaRequestDto

The following routes are available for this service:
GET/RestApi/sitefinity/data-intelligence/persona

export class PersonaRequestDto
{
    public Filter: string;

    public constructor(init?: Partial<PersonaRequestDto>) { (Object as any).assign(this, init); }
}

export enum PersonaState
{
    Inactive = 'Inactive',
    Active = 'Active',
    ToBeDeleted = 'ToBeDeleted',
}

export class Persona
{
    public Id: number;
    public Name: string;
    public Description: string;
    public PhotoUrl: string;
    public State: PersonaState;
    public Threshold: number;
    public CreatedOn?: string;
    public CreatedByUserId: string;
    public ModifiedOn?: string;
    public ModifiedByUserId: string;
    public ToBeReinitializedAt?: string;

    public constructor(init?: Partial<Persona>) { (Object as any).assign(this, init); }
}

export class PersonaListViewModel
{
    public Personаs: IList<Persona>;
    public DecAppUrl: string;

    public constructor(init?: Partial<PersonaListViewModel>) { (Object as any).assign(this, init); }
}

TypeScript PersonaRequestDto 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/persona HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	DecAppUrl: String
}