<back to all web services

ContainerInfoMessage

The following routes are available for this service:
POST/RestApi/sitefinity/inlineediting/containersInfo
ContainerInfoMessage Parameters:
NameParameterData TypeRequiredDescription
PageIdbodystringNo
PageTitlebodystringNo
ContainersInfobodyList<ContainerInfoModel>No
ContainerInfoModel Parameters:
NameParameterData TypeRequiredDescription
ItemIdformstringNo
ItemTypeformstringNo
DisplayTypeformstringNo
ProviderformstringNo
ItemStatusformLifecycleStatusModelNo
IsPageControlformboolNo
DetailsViewUrlformstringNo
FieldsformList<FieldModel>No
LifecycleStatusModel Parameters:
NameParameterData TypeRequiredDescription
DisplayStatusformstringNo
IsAdminformboolNo
IsEditableformboolNo
IsStatusEditableformboolNo
IsLockedformboolNo
IsPublishedformboolNo
IsLockedByMeformboolNo
LockedByUsernameformstringNo
WorkflowStatusformstringNo
FieldModel Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
RequiredformstringNo
MinDateformstringNo
MaxDateformstringNo
MinLengthformintNo
MaxLengthformintNo
PatternformstringNo
MinValueformObjectNo
MaxValueformObjectNo
RequiredViolationMessageformstringNo
MinLengthViolationMessageformstringNo
MaxLengthViolationMessageformstringNo

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.

POST /RestApi/sitefinity/inlineediting/containersInfo HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsv
Content-Type: text/jsv
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
				}
			]
		}
	]
}