SiteTreeServicesGetChildPagesSimple Method

Ingeniux CMS Web Services API

Retrieve collection of summary information of children of given Page

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.70
Syntax

public XHRServiceResponseGeneric<NgGridData<PageFolderViewGridRow>> GetChildPagesSimple(
	string parentId,
	string pubTgt,
	int page,
	int pageSize,
	string searchString,
	string sortField,
	bool sortDsc
)

Parameters

parentId
Type: SystemString
The ID of parent page
pubTgt
Type: SystemString
The ID of current publishing target
page
Type: SystemInt32
Page number in the paginated collection
pageSize
Type: SystemInt32
Number of items per page in pagination
searchString
Type: SystemString
The string to filter pages by its name
sortField
Type: SystemString
The field to sort
sortDsc
Type: SystemBoolean
Whether sort descending

Return Value

Type: XHRServiceResponseGenericNgGridDataPageFolderViewGridRow

Collection of summaries to specific page in the paginated collection of child pages

Examples

Sample JSON return

JavaScript
{
    "page": 0,
    "pageSize": 50,
    "rows": [
      {
        "name": "search_wc",
        "id": "x1884",
        "checkedOut": true,
        "icon": 9,
        "isFolder": false,
        "marked": false
      },
      {
        "name": "asset fields",
        "id": "x1883",
        "checkedOut": true,
        "icon": 11,
        "isFolder": false,
        "marked": false
      },
      {
        "name": "search",
        "id": "x1509",
        "checkedOut": true,
        "icon": 9,
        "isFolder": false,
        "marked": false
      },
      {
        "name": "test",
        "id": "x59",
        "checkedOut": true,
        "icon": 1,
        "isFolder": false,
        "marked": false
      },
      {
        "name": "Site Control",
        "id": "x7",
        "checkedOut": false,
        "icon": 11,
        "isFolder": false,
        "marked": true
      },
      {
        "name": "Festival Extra",
        "id": "x14",
        "checkedOut": false,
        "icon": 11,
        "isFolder": false,
        "marked": true
      },
      {
        "name": "Sponsors",
        "id": "x15",
        "checkedOut": false,
        "icon": 1,
        "isFolder": false,
        "marked": true
      },
      {
        "name": "dita",
        "id": "x1516",
        "checkedOut": true,
        "icon": 1,
        "isFolder": false,
        "marked": false
      }
    ],
    "totalCount": 8
}
See Also

Reference