TaxonomyTreeServicesUpdateAssociationsToPage Method

Ingeniux CMS Web Services API

Updates categorization to specific page

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

public XHRServiceResponseGeneric<PageCategorizationSetInfo> UpdateAssociationsToPage(
	UpdatePageCategorizationInput data
)

Parameters

data
Type: UpdatePageCategorizationInput

Page id, and the adds and removes of categories for the page

Examples

Sample JSON input

JavaScript
{
    "add": [
        "CategoryNodes/101",
        "CategoryNodes/97",
        "CategoryNodes/98"
    ],
    "remove": [
        "CategoryNodes/107"
    ],
    "pageId": "x3"
}

Return Value

Type: XHRServiceResponseGenericPageCategorizationSetInfo

Information of the associated category ids

Examples

Sample JSON return

JavaScript
{
    "ContentFreezeEndTime": "",
    "ContentFreezeStartTime": "",
    "code": 0,
    "error": null,
    "message": {
        "associatedCategories": [
            "CategoryNodes\/101",
            "CategoryNodes\/97",
            "CategoryNodes\/98"
        ]
    }
}
See Also

Reference