GET | /RestApi/sitefinity/related-data/child-items |
---|
import java.math.*
import java.util.*
import net.servicestack.client.*
open class ParentItemMessage
{
var ParentItemId:String? = null
var ParentItemType:String? = null
var ParentProviderName:String? = null
var FieldName:String? = null
var Status:ContentLifecycleStatus? = null
var Filter:String? = null
var Order:String? = null
var Skip:Int? = null
var Take:Int? = null
var ChildItemType:String? = null
var ChildProviderName:String? = null
}
enum class ContentLifecycleStatus(val value:Int)
{
Master(0),
Temp(1),
Live(2),
Deleted(4),
PartialTemp(8),
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=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