GET | /RestApi/sitefinity/data-intelligence/contact-properties |
---|
import Foundation
import ServiceStack
public class ContactPropertiesRequestDto : Codable
{
public var filter:String
required public init(){}
}
public class ContactPropertiesViewModel : Codable
{
public var contactProperties:IList<ContactProperty>
public var decAppUrl:String
required public init(){}
}
public class ContactProperty : Codable
{
public var id:String
public var datacenterId:String
public var isIdentifier:Bool
public var isIndexed:Bool
public var dataVolumeRank:Int?
public var order:Double
public var name:String
public var columnName:String
public var tableName:String
public var state:ContactPropertyState
public var dataType:Int
public var aliases:IList<ContactPropertyAlias>
required public init(){}
}
public enum ContactPropertyState : Int, Codable
{
case Initialized = 1
case Processing = 2
case Active = 3
case Updated = 4
case Deleted = 5
case Error = 6
case HiddenInUI = 7
}
public class ContactPropertyAlias : Codable
{
public var id:String
public var propId:String
public var name:String
public var priority:Double
required public init(){}
}
Swift ContactPropertiesRequestDto DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /RestApi/sitefinity/data-intelligence/contact-properties 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"}