SiteDefinitionsLocalizationServicesSaveWorkstate Method Ingeniux CMS Web Services API

Saves the localization for a single Workstate

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

public XHRServiceResponseGeneric<LocalizationSaveResult> SaveWorkstate(
	SiteDefinitionItemLocalizationSaveInput data
)

Parameters

data
Type: SiteDefinitionItemLocalizationSaveInput

Localized name and description of the Workstate

Examples

Sample JSON input
JavaScript
{
    "data": {
        "id": "WorkStates/38",
        "name": "Being Published",
        "description": "Page on the state of being published",
        "Members": []
    }
}

Return Value

Type: XHRServiceResponseGenericLocalizationSaveResult

Object containing localized Workstate name

Examples

Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "newName": "Being Published",
        "save": true
    }
}
Remarks

English or English translation is allowed. This allows to change descriptive text only without touching original Workstate

See Also

Reference