GET | /RestApi/sitefinity/related-data/child-items |
---|
export enum ContentLifecycleStatus
{
Master = 0,
Temp = 1,
Live = 2,
Deleted = 4,
PartialTemp = 8,
}
export class ParentItemMessage
{
public ParentItemId: string;
public ParentItemType: string;
public ParentProviderName: string;
public FieldName: string;
public Status?: ContentLifecycleStatus;
public Filter: string;
public Order: string;
public Skip: number;
public Take: number;
public ChildItemType: string;
public ChildProviderName: string;
public constructor(init?: Partial<ParentItemMessage>) { (Object as any).assign(this, init); }
}
TypeScript ParentItemMessage DTOs
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