PageCommandsServicesGetVersionHistory Method
|
Retrieve the list of version summary information the given Page has
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax public XHRServiceResponseGeneric<ContentItemVersionInfo[]> GetVersionHistory(
string pageId
)
Public Function GetVersionHistory (
pageId As String
) As XHRServiceResponseGeneric(Of ContentItemVersionInfo())
public:
virtual XHRServiceResponseGeneric<array<ContentItemVersionInfo^>^>^ GetVersionHistory(
String^ pageId
) sealed
abstract GetVersionHistory :
pageId : string -> XHRServiceResponseGeneric<ContentItemVersionInfo[]>
override GetVersionHistory :
pageId : string -> XHRServiceResponseGeneric<ContentItemVersionInfo[]>
Parameters
- pageId
- Type: SystemString
Id of the Page to retrieve version listing for
Return Value
Type:
XHRServiceResponseGenericContentItemVersionInfoArray of version summary entries
Examples
Sample JSON return
{
"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