<back to all web services

ContactPropertiesRequestDto

The following routes are available for this service:
GET/RestApi/sitefinity/data-intelligence/contact-properties
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Telerik.Sitefinity.DataIntelligenceConnector.Personalization.Services;
using Telerik.Sitefinity.DataIntelligenceConnector.Personalization;
using Telerik.DigitalExperienceCloud.Client;

namespace Telerik.DigitalExperienceCloud.Client
{
    public partial class ContactProperty
    {
        public virtual Guid Id { get; set; }
        public virtual Guid DatacenterId { get; set; }
        public virtual bool IsIdentifier { get; set; }
        public virtual bool IsIndexed { get; set; }
        public virtual int? DataVolumeRank { get; set; }
        public virtual double Order { get; set; }
        public virtual string Name { get; set; }
        public virtual string ColumnName { get; set; }
        public virtual string TableName { get; set; }
        public virtual ContactPropertyState State { get; set; }
        public virtual int DataType { get; set; }
        public virtual IList<ContactPropertyAlias> Aliases { get; set; }
    }

    public partial class ContactPropertyAlias
    {
        public virtual Guid Id { get; set; }
        public virtual Guid PropId { get; set; }
        public virtual string Name { get; set; }
        public virtual double Priority { get; set; }
    }

    public enum ContactPropertyState
    {
        Initialized = 1,
        Processing = 2,
        Active = 3,
        Updated = 4,
        Deleted = 5,
        Error = 6,
        HiddenInUI = 7,
    }

}

namespace Telerik.Sitefinity.DataIntelligenceConnector.Personalization
{
    public partial class ContactPropertiesViewModel
    {
        public virtual IList<ContactProperty> ContactProperties { get; set; }
        public virtual string DecAppUrl { get; set; }
    }

}

namespace Telerik.Sitefinity.DataIntelligenceConnector.Personalization.Services
{
    public partial class ContactPropertiesRequestDto
    {
        public virtual string Filter { get; set; }
    }

}

C# ContactPropertiesRequestDto DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + 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"}