Exposes the article category api to widgets,themes and automation.
Methods
Create
Create Overload 1
Velocity
JavaScript
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
articleId | Guid | Id of the article the category is assigned. | Required | ||
categoryId | Int32 | Id of the category assigned to the article. | Required |
Create Overload 2
Velocity
JavaScript
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
articleId | Guid | Id of the article the category is assigned. | Required | ||
categoryId | Int32 | Id of the category assigned to the article. | Required | ||
options | Options | Set of optional parameters including: | Required | ||
RemoveSortOrder | Int32 | Removes the SortOrder of the article within the category. | Optional | ||
SortOrder | Int32 | The order in which the article will appear in the article list within the category. | Optional |
Returns
Delete
Velocity
JavaScript
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
articleId | Guid | Id of the article the category is assigned. | Required | ||
categoryId | Int32 | Id of the category assigned to the article. | Required |
Returns
Get
Velocity
JavaScript
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
articleId | Guid | Id of the article the category is assigned. | Required | ||
categoryId | Int32 | Id of the category assigned to the article. | Required |
Returns
List
List Overload 1
Velocity
JavaScript
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
categoryId | Int32 | Id of the category assigned to the article. | Required |
List Overload 2
Velocity
JavaScript
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
categoryId | Int32 | Id of the category assigned to the article. | Required | ||
options | Options | Set of optional parameters including: | Required | ||
IncludeArticleTypeIds | String | A comma-separated list of article type ids to filter the articles by. | Optional | ||
IncludeUnpublished | Boolean | Option to include unpublished articles in the result set. | Optional | ||
PageIndex | Int32 | The page index to return based on page size. This value is 'zero' based and defaults to zero. | Optional | ||
PageSize | Int32 | The total amount of article categories to return per paged request. The default is 20, the maximum is 100. | Optional | ||
SortBy | String | The sort option for the articles categories. | Optional | SortOrder | |
SortOrder | String | The direction to sort the article categories by based on the current SortBy options. The options are 'Ascending' or 'Descending'. 'Ascending' is the default. | Optional |