Click or drag to resize

SiteDefinitionsLocalizationServicesGetWorkstates Method


Retrieves all Workstates on the site. The name of each entry is localized name if localization exists

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.6.308
Syntax
public XHRServiceResponseGeneric<SiteDefinitionsLocalizationListItem[]> GetWorkstates(
	int page,
	int pageSize
)

Parameters

page
Type: SystemInt32
Page number in the paginated collection
pageSize
Type: SystemInt32
Number of items per page in pagination

Return Value

Type: XHRServiceResponseGenericSiteDefinitionsLocalizationListItem

Collection of localized or original basic information of Workstates

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": [{
        "ID": "WorkStates\/36",
        "Name": "Approving",
        "isInComplete": true,
        "isOutDated": true,
        "isTranslated": false
    }, {
        "ID": "WorkStates\/35",
        "Name": "Authoring",
        "isInComplete": true,
        "isOutDated": true,
        "isTranslated": false
    }, {
        "ID": "WorkStates\/1",
        "Name": "Initial",
        "isInComplete": true,
        "isOutDated": false,
        "isTranslated": false
    }, {
        "ID": "WorkStates\/37",
        "Name": "検討する",
        "isInComplete": true,
        "isOutDated": true,
        "isTranslated": false
    }, {
        "ID": "WorkStates\/38",
        "Name": "Being Published",
        "isInComplete": false,
        "isOutDated": false,
        "isTranslated": true
    }]
}
See Also