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
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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/csv