<back to all web services

ParentItemMessage

The following routes are available for this service:
GET/RestApi/sitefinity/related-data/child-items
Imports System
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports Telerik.Sitefinity.Services.RelatedData.Messages
Imports Telerik.Sitefinity.GenericContent.Model

Namespace Global

    Namespace Telerik.Sitefinity.GenericContent.Model

        Public Enum ContentLifecycleStatus
            Master = 0
            Temp = 1
            Live = 2
            Deleted = 4
            PartialTemp = 8
        End Enum
    End Namespace

    Namespace Telerik.Sitefinity.Services.RelatedData.Messages

        Public Partial Class ParentItemMessage
            Public Overridable Property ParentItemId As String
            Public Overridable Property ParentItemType As String
            Public Overridable Property ParentProviderName As String
            Public Overridable Property FieldName As String
            Public Overridable Property Status As Nullable(Of ContentLifecycleStatus)
            Public Overridable Property Filter As String
            Public Overridable Property Order As String
            Public Overridable Property Skip As Integer
            Public Overridable Property Take As Integer
            Public Overridable Property ChildItemType As String
            Public Overridable Property ChildProviderName As String
        End Class
    End Namespace
End Namespace

VB.NET ParentItemMessage 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.

GET /RestApi/sitefinity/related-data/child-items HTTP/1.1 
Host: www.asg.com.au 
Accept: text/jsonl