GET | /RestApi/sitefinity/data-intelligence/contact-properties |
---|
export class ContactPropertiesRequestDto
{
public Filter: string;
public constructor(init?: Partial<ContactPropertiesRequestDto>) { (Object as any).assign(this, init); }
}
export enum ContactPropertyState
{
Initialized = 1,
Processing = 2,
Active = 3,
Updated = 4,
Deleted = 5,
Error = 6,
HiddenInUI = 7,
}
export class ContactPropertyAlias
{
public Id: string;
public PropId: string;
public Name: string;
public Priority: number;
public constructor(init?: Partial<ContactPropertyAlias>) { (Object as any).assign(this, init); }
}
export class ContactProperty
{
public Id: string;
public DatacenterId: string;
public IsIdentifier: boolean;
public IsIndexed: boolean;
public DataVolumeRank?: number;
public Order: number;
public Name: string;
public ColumnName: string;
public TableName: string;
public State: ContactPropertyState;
public DataType: number;
public Aliases: IList<ContactPropertyAlias>;
public constructor(init?: Partial<ContactProperty>) { (Object as any).assign(this, init); }
}
export class ContactPropertiesViewModel
{
public ContactProperties: IList<ContactProperty>;
public DecAppUrl: string;
public constructor(init?: Partial<ContactPropertiesViewModel>) { (Object as any).assign(this, init); }
}
TypeScript ContactPropertiesRequestDto DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"DecAppUrl":"String"}