List Event Types

Returns the list of event types registered in the Administration module.

 

URL

{WSUrl}/api/events/types[?$filter=<FilterCriteria>]

 

REQUEST METHOD

GET

 

URL PARAMETERS

filter: Query based on the OData protocol syntax for configuring filters. The fields supported are listed below. See the examples to view the operations allowed.

 

FIELDS SUPPORTED BY FILTER

string Name;

string Description;

byte Origin;

boolean IsAvailableforContinuity;

 

The Origin field may contain the following values: 0 for "Custom" (custom event types) and 1 for "Modulo" (event types provided by Modulo).

 

REQUEST EXAMPLES

List all event types:

{WSUrl}/api/events/types

 

Filter event types by "Risk" in the "Name" field:

{WSUrl}/api/events/types?$filter=substringof('Risk',Name)

 

Filter event types with "Modulo" in the Origin field:

{WSUrl}/api/events/types?$filter=Origin eq 1