<back to all web services

ParentItemMessage

The following routes are available for this service:
GET/RestApi/sitefinity/related-data/child-items
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Telerik.Sitefinity.Services.RelatedData.Messages;
using Telerik.Sitefinity.GenericContent.Model;

namespace Telerik.Sitefinity.GenericContent.Model
{
    public enum ContentLifecycleStatus
    {
        Master = 0,
        Temp = 1,
        Live = 2,
        Deleted = 4,
        PartialTemp = 8,
    }

}

namespace Telerik.Sitefinity.Services.RelatedData.Messages
{
    public partial class ParentItemMessage
    {
        public virtual string ParentItemId { get; set; }
        public virtual string ParentItemType { get; set; }
        public virtual string ParentProviderName { get; set; }
        public virtual string FieldName { get; set; }
        public virtual ContentLifecycleStatus? Status { get; set; }
        public virtual string Filter { get; set; }
        public virtual string Order { get; set; }
        public virtual int Skip { get; set; }
        public virtual int Take { get; set; }
        public virtual string ChildItemType { get; set; }
        public virtual string ChildProviderName { get; set; }
    }

}

C# ParentItemMessage 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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /RestApi/sitefinity/related-data/child-items HTTP/1.1 
Host: www.asg.com.au 
Accept: application/json