<back to all web services

PersonaRequestDto

The following routes are available for this service:
GET/RestApi/sitefinity/data-intelligence/persona
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class PersonaRequestDto
    {
        public String Filter = null;
        
        public String getFilter() { return Filter; }
        public PersonaRequestDto setFilter(String value) { this.Filter = value; return this; }
    }

    public static class PersonaListViewModel
    {
        public IList<Persona> Personаs = null;
        public String DecAppUrl = null;
        
        public IList<Persona> getPersonаs() { return Personаs; }
        public PersonaListViewModel setPersonаs(IList<Persona> value) { this.Personаs = value; return this; }
        public String getDecAppUrl() { return DecAppUrl; }
        public PersonaListViewModel setDecAppUrl(String value) { this.DecAppUrl = value; return this; }
    }

    public static class Persona
    {
        public Integer Id = null;
        public String Name = null;
        public String Description = null;
        public String PhotoUrl = null;
        public PersonaState State = null;
        public Integer Threshold = null;
        public Date CreatedOn = null;
        public String CreatedByUserId = null;
        public Date ModifiedOn = null;
        public String ModifiedByUserId = null;
        public Date ToBeReinitializedAt = null;
        
        public Integer getId() { return Id; }
        public Persona setId(Integer value) { this.Id = value; return this; }
        public String getName() { return Name; }
        public Persona setName(String value) { this.Name = value; return this; }
        public String getDescription() { return Description; }
        public Persona setDescription(String value) { this.Description = value; return this; }
        public String getPhotoUrl() { return PhotoUrl; }
        public Persona setPhotoUrl(String value) { this.PhotoUrl = value; return this; }
        public PersonaState getState() { return State; }
        public Persona setState(PersonaState value) { this.State = value; return this; }
        public Integer getThreshold() { return Threshold; }
        public Persona setThreshold(Integer value) { this.Threshold = value; return this; }
        public Date getCreatedOn() { return CreatedOn; }
        public Persona setCreatedOn(Date value) { this.CreatedOn = value; return this; }
        public String getCreatedByUserId() { return CreatedByUserId; }
        public Persona setCreatedByUserId(String value) { this.CreatedByUserId = value; return this; }
        public Date getModifiedOn() { return ModifiedOn; }
        public Persona setModifiedOn(Date value) { this.ModifiedOn = value; return this; }
        public String getModifiedByUserId() { return ModifiedByUserId; }
        public Persona setModifiedByUserId(String value) { this.ModifiedByUserId = value; return this; }
        public Date getToBeReinitializedAt() { return ToBeReinitializedAt; }
        public Persona setToBeReinitializedAt(Date value) { this.ToBeReinitializedAt = value; return this; }
    }

    public static enum PersonaState
    {
        Inactive,
        Active,
        ToBeDeleted;
    }

}

Java 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
}