<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
namespace Telerik.Sitefinity.GenericContent.Model

open System
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    type ContentLifecycleStatus =
        | Master = 0
        | Temp = 1
        | Live = 2
        | Deleted = 4
        | PartialTemp = 8

    [<AllowNullLiteral>]
    type DataItemMessage() = 
        member val ItemId:String = null with get,set
        member val ItemType:String = null with get,set
        member val ItemProvider:String = null with get,set
        member val RelatedItemId:String = null with get,set
        member val RelatedItemType:String = null with get,set
        member val RelatedItemProvider:String = null with get,set
        member val RelationStatus:Nullable<ContentLifecycleStatus> = new Nullable<ContentLifecycleStatus>() with get,set
        member val FieldName:String = null with get,set
        member val Filter:String = null with get,set
        member val Order:String = null with get,set
        member val Skip:Int32 = new Int32() with get,set
        member val Take:Int32 = new Int32() with get,set

F# DataItemMessage 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/generic-data/data-items HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsv