PageCommandsServicesGetVersionHistory Method Ingeniux CMS Web Services API

Retrieve the list of version summary information the given Page has

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public XHRServiceResponseGeneric<PageVersionInfo[]> GetVersionHistory(
	string pageId
)

Parameters

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

Return Value

Type: XHRServiceResponseGenericPageVersionInfo

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

Reference