SiteDefinitionsLocalizationServicesGetWorkstates Method Ingeniux CMS Web Services API

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: 9.0.565.0 (9.0.565)
Syntax

public XHRServiceResponseGeneric<SiteDefinitionsLocalizationListItem[]> GetWorkstates()

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

Reference