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
)
Public Function GetWorkstates (
page As Integer,
pageSize As Integer
) As XHRServiceResponseGeneric(Of SiteDefinitionsLocalizationListItem())
public:
virtual XHRServiceResponseGeneric<array<SiteDefinitionsLocalizationListItem^>^>^ GetWorkstates(
int page,
int pageSize
) sealed
abstract GetWorkstates :
page : int *
pageSize : int -> XHRServiceResponseGeneric<SiteDefinitionsLocalizationListItem[]>
override GetWorkstates :
page : int *
pageSize : int -> XHRServiceResponseGeneric<SiteDefinitionsLocalizationListItem[]>
Parameters
- page
- Type: SystemInt32
Page number in the paginated collection - pageSize
- Type: SystemInt32
Number of items per page in pagination
Return Value
Type:
XHRServiceResponseGenericSiteDefinitionsLocalizationListItemCollection of localized or original basic information of Workstates
Examples
Sample JSON return
{
"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