<back to all web services

ParentItemMessage

The following routes are available for this service:
GET/RestApi/sitefinity/related-data/child-items
import Foundation
import ServiceStack

public class ParentItemMessage : Codable
{
    public var parentItemId:String
    public var parentItemType:String
    public var parentProviderName:String
    public var fieldName:String
    public var status:ContentLifecycleStatus?
    public var filter:String
    public var order:String
    public var skip:Int
    public var take:Int
    public var childItemType:String
    public var childProviderName:String

    required public init(){}
}

public enum ContentLifecycleStatus : Int, Codable
{
    case Master = 0
    case Temp = 1
    case Live = 2
    case Deleted = 4
    case PartialTemp = 8
}


Swift ParentItemMessage DTOs

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json