<back to all web services

ContainerInfoMessage

The following routes are available for this service:
POST/RestApi/sitefinity/inlineediting/containersInfo
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class ContainerInfoMessage
    {
        public String PageId = null;
        public String PageTitle = null;
        public ArrayList<ContainerInfoModel> ContainersInfo = null;
        
        public String getPageId() { return PageId; }
        public ContainerInfoMessage setPageId(String value) { this.PageId = value; return this; }
        public String getPageTitle() { return PageTitle; }
        public ContainerInfoMessage setPageTitle(String value) { this.PageTitle = value; return this; }
        public ArrayList<ContainerInfoModel> getContainersInfo() { return ContainersInfo; }
        public ContainerInfoMessage setContainersInfo(ArrayList<ContainerInfoModel> value) { this.ContainersInfo = value; return this; }
    }

    public static class ContainerInfoModel
    {
        public String ItemId = null;
        public String ItemType = null;
        public String DisplayType = null;
        public String Provider = null;
        public LifecycleStatusModel ItemStatus = null;
        public Boolean IsPageControl = null;
        public String DetailsViewUrl = null;
        public ArrayList<FieldModel> Fields = null;
        
        public String getItemId() { return ItemId; }
        public ContainerInfoModel setItemId(String value) { this.ItemId = value; return this; }
        public String getItemType() { return ItemType; }
        public ContainerInfoModel setItemType(String value) { this.ItemType = value; return this; }
        public String getDisplayType() { return DisplayType; }
        public ContainerInfoModel setDisplayType(String value) { this.DisplayType = value; return this; }
        public String getProvider() { return Provider; }
        public ContainerInfoModel setProvider(String value) { this.Provider = value; return this; }
        public LifecycleStatusModel getItemStatus() { return ItemStatus; }
        public ContainerInfoModel setItemStatus(LifecycleStatusModel value) { this.ItemStatus = value; return this; }
        public Boolean getIsPageControl() { return IsPageControl; }
        public ContainerInfoModel setIsPageControl(Boolean value) { this.IsPageControl = value; return this; }
        public String getDetailsViewUrl() { return DetailsViewUrl; }
        public ContainerInfoModel setDetailsViewUrl(String value) { this.DetailsViewUrl = value; return this; }
        public ArrayList<FieldModel> getFields() { return Fields; }
        public ContainerInfoModel setFields(ArrayList<FieldModel> value) { this.Fields = value; return this; }
    }

    public static class LifecycleStatusModel
    {
        public String DisplayStatus = null;
        public Boolean IsAdmin = null;
        public Boolean IsEditable = null;
        public Boolean IsStatusEditable = null;
        public Boolean IsLocked = null;
        public Boolean IsPublished = null;
        public Boolean IsLockedByMe = null;
        public String LockedByUsername = null;
        public String WorkflowStatus = null;
        
        public String getDisplayStatus() { return DisplayStatus; }
        public LifecycleStatusModel setDisplayStatus(String value) { this.DisplayStatus = value; return this; }
        public Boolean getIsAdmin() { return IsAdmin; }
        public LifecycleStatusModel setIsAdmin(Boolean value) { this.IsAdmin = value; return this; }
        public Boolean getIsEditable() { return IsEditable; }
        public LifecycleStatusModel setIsEditable(Boolean value) { this.IsEditable = value; return this; }
        public Boolean getIsStatusEditable() { return IsStatusEditable; }
        public LifecycleStatusModel setIsStatusEditable(Boolean value) { this.IsStatusEditable = value; return this; }
        public Boolean getIsLocked() { return IsLocked; }
        public LifecycleStatusModel setIsLocked(Boolean value) { this.IsLocked = value; return this; }
        public Boolean getIsPublished() { return IsPublished; }
        public LifecycleStatusModel setIsPublished(Boolean value) { this.IsPublished = value; return this; }
        public Boolean getIsLockedByMe() { return IsLockedByMe; }
        public LifecycleStatusModel setIsLockedByMe(Boolean value) { this.IsLockedByMe = value; return this; }
        public String getLockedByUsername() { return LockedByUsername; }
        public LifecycleStatusModel setLockedByUsername(String value) { this.LockedByUsername = value; return this; }
        public String getWorkflowStatus() { return WorkflowStatus; }
        public LifecycleStatusModel setWorkflowStatus(String value) { this.WorkflowStatus = value; return this; }
    }

    public static class FieldModel
    {
        public String Name = null;
        public String Required = null;
        public String MinDate = null;
        public String MaxDate = null;
        public Integer MinLength = null;
        public Integer MaxLength = null;
        public String Pattern = null;
        public Object MinValue = null;
        public Object MaxValue = null;
        public String RequiredViolationMessage = null;
        public String MinLengthViolationMessage = null;
        public String MaxLengthViolationMessage = null;
        
        public String getName() { return Name; }
        public FieldModel setName(String value) { this.Name = value; return this; }
        public String getRequired() { return Required; }
        public FieldModel setRequired(String value) { this.Required = value; return this; }
        public String getMinDate() { return MinDate; }
        public FieldModel setMinDate(String value) { this.MinDate = value; return this; }
        public String getMaxDate() { return MaxDate; }
        public FieldModel setMaxDate(String value) { this.MaxDate = value; return this; }
        public Integer getMinLength() { return MinLength; }
        public FieldModel setMinLength(Integer value) { this.MinLength = value; return this; }
        public Integer getMaxLength() { return MaxLength; }
        public FieldModel setMaxLength(Integer value) { this.MaxLength = value; return this; }
        public String getPattern() { return Pattern; }
        public FieldModel setPattern(String value) { this.Pattern = value; return this; }
        public Object getMinValue() { return MinValue; }
        public FieldModel setMinValue(Object value) { this.MinValue = value; return this; }
        public Object getMaxValue() { return MaxValue; }
        public FieldModel setMaxValue(Object value) { this.MaxValue = value; return this; }
        public String getRequiredViolationMessage() { return RequiredViolationMessage; }
        public FieldModel setRequiredViolationMessage(String value) { this.RequiredViolationMessage = value; return this; }
        public String getMinLengthViolationMessage() { return MinLengthViolationMessage; }
        public FieldModel setMinLengthViolationMessage(String value) { this.MinLengthViolationMessage = value; return this; }
        public String getMaxLengthViolationMessage() { return MaxLengthViolationMessage; }
        public FieldModel setMaxLengthViolationMessage(String value) { this.MaxLengthViolationMessage = value; return this; }
    }

}

Java ContainerInfoMessage 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.

POST /RestApi/sitefinity/inlineediting/containersInfo HTTP/1.1 
Host: www.asg.com.au 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"PageId":"String","PageTitle":"String","ContainersInfo":[{"ItemId":"String","ItemType":"String","DisplayType":"String","Provider":"String","ItemStatus":{"DisplayStatus":"String","IsAdmin":false,"IsEditable":false,"IsStatusEditable":false,"IsLocked":false,"IsPublished":false,"IsLockedByMe":false,"LockedByUsername":"String","WorkflowStatus":"String"},"IsPageControl":false,"DetailsViewUrl":"String","Fields":[{"Name":"String","Required":"String","MinDate":"String","MaxDate":"String","MinLength":0,"MaxLength":0,"Pattern":"String","MinValue":{},"MaxValue":{},"RequiredViolationMessage":"String","MinLengthViolationMessage":"String","MaxLengthViolationMessage":"String"}]}]}