GET api/enum?typeName={typeName}&systemName={systemName}&eventCategoryType={eventCategoryType}

Returns a list of possible values for an enum if you just specify . Returns a an enum if you specify and .

Request Information

URI Parameters

NameDescriptionTypeAdditional information
typeName

The type of enum to get. Pass null to be returned an empty data contract.

string

None.

systemName

The system name of the enum to get

string

None.

eventCategoryType

Where the enum has values which are categorised, this filters on that category

string

None.

Body Parameters

None.

Response Information

Resource Description

The enum or null if it does not exist

Collection of Dezrez.Core.DataContracts.External.Api.System.EnumDataContract
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

SystemName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "SystemName": "sample string 3"
  }
]