This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Ideation.Api.IVotes>()
and is defined in Telligent.Evolution.Ideation.dll
Events
Events.AfterCreate
Handler
void VoteAfterCreateEventHandler(VoteAfterCreateEventArgs e);
Events.AfterDelete
Handler
void VoteAfterDeleteEventHandler(VoteAfterDeleteEventArgs e);
Events.AfterUpdate
Handler
void VoteAfterUpdateEventHandler(VoteAfterUpdateEventArgs e);
Events.BeforeCreate
Handler
void VoteBeforeCreateEventHandler(VoteBeforeCreateEventArgs e);
Events.BeforeDelete
Handler
void VoteBeforeDeleteEventHandler(VoteBeforeDeleteEventArgs e);
Events.BeforeUpdate
Handler
void VoteBeforeUpdateEventHandler(VoteBeforeUpdateEventArgs e);
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
DataTypeId Obsolete | Guid | Migrate usage to scripted email or scripted plugins. |
Methods
Vote Create(Guid ideaId, bool value);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
ideaId | Guid | Idea Id | Required | ||
value | bool | Value | Required |
Return Type
Vote Create(Guid ideaId, int value);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
ideaId | Guid | Idea Id | Required | ||
value | int | Value | Required |
Return Type
AdditionalInfo Delete(Guid ideaId, int userId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
ideaId | Guid | Idea Id | Required | ||
userId | int | User Id | Required |
Return Type
Vote Get(Guid ideaId, int userId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
ideaId | Guid | Idea Id | Required | ||
userId | int | User Id | Required |
Return Type
PagedList<Vote> List(VotesListOptions options);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
options | VotesListOptions | Options | Required |
Return Type
Vote Update(Guid ideaId, bool value);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
ideaId | Guid | Idea Id | Required | ||
value | bool | Value | Required |
Return Type
Vote Update(Guid ideaId, int value);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
ideaId | Guid | Idea Id | Required | ||
value | int | Value | Required |