This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.ICategories>()
and is defined in Telligent.Evolution.Articles.dll
Events
Events.AfterCreate
Handler
void CategoryAfterCreateEventHandler(CategoryAfterCreateEventArgs e);
Events.AfterDelete
Handler
void CategoryAfterDeleteEventHandler(CategoryAfterDeleteEventArgs e);
Events.AfterUpdate
Handler
void CategoryAfterUpdateEventHandler(CategoryAfterUpdateEventArgs e);
Events.BeforeCreate
Handler
void CategoryBeforeCreateEventHandler(CategoryBeforeCreateEventArgs e);
Events.BeforeDelete
Handler
void CategoryBeforeDeleteEventHandler(CategoryBeforeDeleteEventArgs e);
Events.BeforeUpdate
Handler
void CategoryBeforeUpdateEventHandler(CategoryBeforeUpdateEventArgs e);
Methods
Category Create(Guid collectionId, string name, CategoryCreateOptions options = null);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
collectionId | Guid | Collection Id | Required | ||
name | string | Name | Required | ||
options | CategoryCreateOptions | Options | Optional |
Return Type
AdditionalInfo Delete(int Id, CategoryDeleteOptions options = null);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
Id | int | Id | Required | ||
options | CategoryDeleteOptions | Options | Optional |
Return Type
Category Get(CategoryGetOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | CategoryGetOptions | Options | Required |
Return Type
ApiList<Category> List(Guid collectionId, CategoryListOptions options = null);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
collectionId | Guid | Collection Id | Required | ||
options | CategoryListOptions | Options | Optional |
Return Type
ApiList<Category> Lookup(string queryText, CategoryLookupOptions options = null);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
queryText | string | Query Text | Required | ||
options | CategoryLookupOptions | Options | Optional |
Return Type
Category Undelete(int Id);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
Id | int | Id | Required |
Return Type
Category Update(int Id, CategoryUpdateOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
Id | int | Id | Required | ||
options | CategoryUpdateOptions | Options | Required |