GET api/UserRoles/getMenuItemsByUserRole?userRoleId={userRoleId}&MenuTabId={MenuTabId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userRoleId

globally unique identifier

Required

MenuTabId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of MenuModel
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

UserRoleId

globally unique identifier

None.

RoleName

string

None.

Action

string

None.

Controller

string

None.

ParentId

integer

None.

SortOrder

integer

None.

glyphicon

string

None.

CreatedOn

date

None.

CreatedById

globally unique identifier

None.

CreatedBy

string

None.

ModifiedOn

date

None.

ModifiedById

globally unique identifier

None.

ModifiedBy

string

None.

SelectedMenuItemToLink

integer

None.

MenuItemId

integer

None.

MenuItemsToLink

Collection of MenuModel

None.

LinkedMenuItems

Collection of MenuModel

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 'QuoteEngineDta.Models.Security.MenuModel'. Path '[0].MenuItemsToLink'.

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 'QuoteEngineDta.Models.Security.MenuModel'. Path '[0].MenuItemsToLink'.

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 'QuoteEngineDta.Models.Security.MenuModel' 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 'QuoteEngineDta.Models.Security.MenuModel' contains cycles and cannot be serialized if reference tracking is disabled.