IAbuseAppeals is defined in the Telligent.Evolution.Extensibility.Api.Version1 namespace of Telligent.Evolution.Platform.dll
Definition
interface IAbuseAppeals
{
Guid DataTypeId { get; }
IAbuseAppealEvents Events { get; }
AbuseAppeal AcceptAppeal(Guid appealId, string boardResponse);
AbuseAppeal Create(Guid contentId, Guid contentTypeId);
AbuseAppeal Get(Guid id);
PagedList<AbuseAppeal> List(AbuseAppealListOptions options);
AbuseAppeal RejectAppeal(Guid appealId, string boardResponse);
AbuseAppeal RespondToAppeal(Guid appealId, string authorResponse);
}
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| DataTypeId Obsolete | Guid | Migrate usage to scripted email or scripted plugins. | ||
| Events | IAbuseAppealEvents | AbuseAppeals events |
Methods
AbuseAppeal AcceptAppeal(Guid appealId, string boardResponse);
Board accepts an appeal
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| appealId | Guid | Id of the appeal | Required | ||
| boardResponse | string | Response of the Board | Required |
Return Type
AbuseAppeal Create(Guid contentId, Guid contentTypeId);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| contentId | Guid | Content Id | Required | ||
| contentTypeId | Guid | Content Type Id | Required |
Return Type
AbuseAppeal Get(Guid id);
Get abuse appeal
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| id | Guid | Id of the appeal | Required |
Return Type
PagedList<AbuseAppeal> List(AbuseAppealListOptions options);
Lists abuse appeals
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| options | AbuseAppealListOptions | Options include: AppealId, AbuseId, ContentId, ContentTypeId, ContainerId, ApplicationId, ContentAuthorId, AppealState(Default, Initiated, Accepted, Rejected, Expired, AuthorResponded), SortBy(AppealId, AuthorUserId, AuthorUsername), SortOrder (Asc, Desc), PageSize and PageIndex | Required |
Return Type
AbuseAppeal RejectAppeal(Guid appealId, string boardResponse);
Board rejects an appeal
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| appealId | Guid | Id of the appeal | Required | ||
| boardResponse | string | Response of the Board | Required |
Return Type
AbuseAppeal RespondToAppeal(Guid appealId, string authorResponse);
Author responds to an appeal
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| appealId | Guid | Id of the appeal | Required | ||
| authorResponse | string | Response of the Author | Required |