<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.*


open class ContainerInfoMessage
{
    var PageId:String? = null
    var PageTitle:String? = null
    var ContainersInfo:ArrayList<ContainerInfoModel> = ArrayList<ContainerInfoModel>()
}

open class ContainerInfoModel
{
    var ItemId:String? = null
    var ItemType:String? = null
    var DisplayType:String? = null
    var Provider:String? = null
    var ItemStatus:LifecycleStatusModel? = null
    var IsPageControl:Boolean? = null
    var DetailsViewUrl:String? = null
    var Fields:ArrayList<FieldModel> = ArrayList<FieldModel>()
}

open class LifecycleStatusModel
{
    var DisplayStatus:String? = null
    var IsAdmin:Boolean? = null
    var IsEditable:Boolean? = null
    var IsStatusEditable:Boolean? = null
    var IsLocked:Boolean? = null
    var IsPublished:Boolean? = null
    var IsLockedByMe:Boolean? = null
    var LockedByUsername:String? = null
    var WorkflowStatus:String? = null
}

open class FieldModel
{
    var Name:String? = null
    var Required:String? = null
    var MinDate:String? = null
    var MaxDate:String? = null
    var MinLength:Int? = null
    var MaxLength:Int? = null
    var Pattern:String? = null
    var MinValue:Object? = null
    var MaxValue:Object? = null
    var RequiredViolationMessage:String? = null
    var MinLengthViolationMessage:String? = null
    var MaxLengthViolationMessage:String? = null
}

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

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