<back to all web services

PersonaRequestDto

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

public class PersonaRequestDto : Codable
{
    public var filter:String

    required public init(){}
}

public class PersonaListViewModel : Codable
{
    public var personаs:IList<Persona>
    public var decAppUrl:String

    required public init(){}
}

public class Persona : Codable
{
    public var id:Int
    public var name:String
    public var Description:String
    public var photoUrl:String
    public var state:PersonaState
    public var threshold:Int
    public var createdOn:Date?
    public var createdByUserId:String
    public var modifiedOn:Date?
    public var modifiedByUserId:String
    public var toBeReinitializedAt:Date?

    required public init(){}
}

public enum PersonaState : String, Codable
{
    case Inactive
    case Active
    case ToBeDeleted
}


Swift 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"}