SiteDefinitionsLocalizationServicesSaveWorkstate Method
|
Saves the localization for a single Workstate
Namespace:
IngeniuxCMService
Assembly:
IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax public XHRServiceResponseGeneric<LocalizationSaveResult> SaveWorkstate(
SiteDefinitionItemLocalizationSaveInput data
)
Public Function SaveWorkstate (
data As SiteDefinitionItemLocalizationSaveInput
) As XHRServiceResponseGeneric(Of LocalizationSaveResult)
public:
virtual XHRServiceResponseGeneric<LocalizationSaveResult^>^ SaveWorkstate(
SiteDefinitionItemLocalizationSaveInput^ data
) sealed
abstract SaveWorkstate :
data : SiteDefinitionItemLocalizationSaveInput -> XHRServiceResponseGeneric<LocalizationSaveResult>
override SaveWorkstate :
data : SiteDefinitionItemLocalizationSaveInput -> XHRServiceResponseGeneric<LocalizationSaveResult>
Parameters
- data
- Type: SiteDefinitionItemLocalizationSaveInput
Localized name and description of the Workstate
Examples
Sample JSON input
{
"data": {
"id": "WorkStates/38",
"name": "Being Published",
"description": "Page on the state of being published",
"Members": []
}
}
Return Value
Type:
XHRServiceResponseGenericLocalizationSaveResultObject containing localized Workstate name
Examples
Sample JSON return
{
"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