GET Enums/List

Returns Enums List No Parameter required.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

It returns all enums list used by mobile system.

EnumViewModel
NameDescriptionTypeAdditional information
EnumTypeID

integer

Required

EnumType

string

None.

EnumTypeList

Collection of Object

None.

EnumID

integer

None.

EnumValue

string

Required

String length: inclusive between 0 and 100

ParentTypeID

integer

Required

ParentType

string

None.

ParentTypeList

Collection of Object

None.

ParentID

integer

Required

Parent

string

None.

ParentList

Collection of Object

None.

IsActive

boolean

None.

Active

string

None.

IsEditable

boolean

None.

Editable

string

None.

IsDeleteable

boolean

None.

Deletable

string

None.

ModuleName

CommonMessagesViewModel

None.

ListEnum

Collection of EnumViewModel

None.

LastUpdatedOn

date

None.

Success

boolean

None.

Message

string

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'ThreeStar.Common.Models.EnumViewModel'. Path 'ListEnum'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'ThreeStar.Common.Models.EnumViewModel'. Path 'ListEnum'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[ThreeStar.Common.Models.EnumViewModel, ThreeStar.Common, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[ThreeStar.Common.Models.EnumViewModel, ThreeStar.Common, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.