Click or drag to resize

PageCommandsServicesGetVersionHistory Method


Retrieve the list of version summary information the given Page has

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<ContentItemVersionInfo[]> GetVersionHistory(
	string pageId
)

Parameters

pageId
Type: SystemString
Id of the Page to retrieve version listing for

Return Value

Type: XHRServiceResponseGenericContentItemVersionInfo

Array of version summary entries

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": [{
        "CurrentVersion": true,
        "Date": "20140127T15:56:00",
        "MasterVersion": -1,
        "Name": "ContactUs",
        "PubTargets": "{\"version\":7,\"targets\":[]}",
        "User": "Turtle Master [INGENIUX\\awang]",
        "Version": 7
    }, {
        "CurrentVersion": false,
        "Date": "20140127T22:50:00",
        "MasterVersion": -1,
        "Name": "ContactUs",
        "PubTargets": "{\"version\":6,\"targets\":[]}",
        "User": "Turtle Master [INGENIUX\\awang]",
        "Version": 6
    }]
}
See Also