<back to all web services

ParentItemMessage

The following routes are available for this service:
GET/RestApi/sitefinity/related-data/child-items
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class ParentItemMessage
    {
        public String ParentItemId = null;
        public String ParentItemType = null;
        public String ParentProviderName = null;
        public String FieldName = null;
        public ContentLifecycleStatus Status = null;
        public String Filter = null;
        public String Order = null;
        public Integer Skip = null;
        public Integer Take = null;
        public String ChildItemType = null;
        public String ChildProviderName = null;
        
        public String getParentItemId() { return ParentItemId; }
        public ParentItemMessage setParentItemId(String value) { this.ParentItemId = value; return this; }
        public String getParentItemType() { return ParentItemType; }
        public ParentItemMessage setParentItemType(String value) { this.ParentItemType = value; return this; }
        public String getParentProviderName() { return ParentProviderName; }
        public ParentItemMessage setParentProviderName(String value) { this.ParentProviderName = value; return this; }
        public String getFieldName() { return FieldName; }
        public ParentItemMessage setFieldName(String value) { this.FieldName = value; return this; }
        public ContentLifecycleStatus getStatus() { return Status; }
        public ParentItemMessage setStatus(ContentLifecycleStatus value) { this.Status = value; return this; }
        public String getFilter() { return Filter; }
        public ParentItemMessage setFilter(String value) { this.Filter = value; return this; }
        public String getOrder() { return Order; }
        public ParentItemMessage setOrder(String value) { this.Order = value; return this; }
        public Integer getSkip() { return Skip; }
        public ParentItemMessage setSkip(Integer value) { this.Skip = value; return this; }
        public Integer getTake() { return Take; }
        public ParentItemMessage setTake(Integer value) { this.Take = value; return this; }
        public String getChildItemType() { return ChildItemType; }
        public ParentItemMessage setChildItemType(String value) { this.ChildItemType = value; return this; }
        public String getChildProviderName() { return ChildProviderName; }
        public ParentItemMessage setChildProviderName(String value) { this.ChildProviderName = value; return this; }
    }

    public static enum ContentLifecycleStatus
    {
        Master(0),
        Temp(1),
        Live(2),
        Deleted(4),
        PartialTemp(8);

        private final int value;
        ContentLifecycleStatus(final int intValue) { value = intValue; }
        public int getValue() { return value; }
    }

}

Java ParentItemMessage DTOs

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

HTTP + JSV

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: text/jsv