<back to all web services

DataItemMessage

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


open class DataItemMessage
{
    var ItemId:String? = null
    var ItemType:String? = null
    var ItemProvider:String? = null
    var RelatedItemId:String? = null
    var RelatedItemType:String? = null
    var RelatedItemProvider:String? = null
    var RelationStatus:ContentLifecycleStatus? = null
    var FieldName:String? = null
    var Filter:String? = null
    var Order:String? = null
    var Skip:Int? = null
    var Take:Int? = null
}

enum class ContentLifecycleStatus(val value:Int)
{
    Master(0),
    Temp(1),
    Live(2),
    Deleted(4),
    PartialTemp(8),
}

Kotlin DataItemMessage DTOs

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

HTTP + XML

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

GET /RestApi/sitefinity/generic-data/data-items HTTP/1.1 
Host: www.asg.com.au 
Accept: application/xml