<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

export enum ContentLifecycleStatus
{
    Master = 0,
    Temp = 1,
    Live = 2,
    Deleted = 4,
    PartialTemp = 8,
}

export class DataItemMessage
{
    public ItemId: string;
    public ItemType: string;
    public ItemProvider: string;
    public RelatedItemId: string;
    public RelatedItemType: string;
    public RelatedItemProvider: string;
    public RelationStatus?: ContentLifecycleStatus;
    public FieldName: string;
    public Filter: string;
    public Order: string;
    public Skip: number;
    public Take: number;

    public constructor(init?: Partial<DataItemMessage>) { (Object as any).assign(this, init); }
}

TypeScript 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