<back to all web services

ParentItemMessage

The following routes are available for this service:
GET/RestApi/sitefinity/related-data/child-items
"use strict";
/** @typedef {number} */
export var ContentLifecycleStatus;
(function (ContentLifecycleStatus) {
    ContentLifecycleStatus[ContentLifecycleStatus["Master"] = 0] = "Master"
    ContentLifecycleStatus[ContentLifecycleStatus["Temp"] = 1] = "Temp"
    ContentLifecycleStatus[ContentLifecycleStatus["Live"] = 2] = "Live"
    ContentLifecycleStatus[ContentLifecycleStatus["Deleted"] = 4] = "Deleted"
    ContentLifecycleStatus[ContentLifecycleStatus["PartialTemp"] = 8] = "PartialTemp"
})(ContentLifecycleStatus || (ContentLifecycleStatus = {}));
export class ParentItemMessage {
    /** @param {{ParentItemId?:string,ParentItemType?:string,ParentProviderName?:string,FieldName?:string,Status?:ContentLifecycleStatus,Filter?:string,Order?:string,Skip?:number,Take?:number,ChildItemType?:string,ChildProviderName?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    ParentItemId;
    /** @type {string} */
    ParentItemType;
    /** @type {string} */
    ParentProviderName;
    /** @type {string} */
    FieldName;
    /** @type {?ContentLifecycleStatus} */
    Status;
    /** @type {string} */
    Filter;
    /** @type {string} */
    Order;
    /** @type {number} */
    Skip;
    /** @type {number} */
    Take;
    /** @type {string} */
    ChildItemType;
    /** @type {string} */
    ChildProviderName;
}

JavaScript ParentItemMessage DTOs

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

HTTP + XML

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/xml