GET api/User/GetMenuItemsByuserId?userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

integer

Required

Body Parameters

None.

Response Information

Resource Description

MenuItemDTO
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

String length: inclusive between 0 and 50

NameOther

string

Required

String length: inclusive between 0 and 50

IsActive

boolean

Required

ActionName

string

String length: inclusive between 0 and 50

ControllerName

string

String length: inclusive between 0 and 50

URL

string

String length: inclusive between 0 and 1000

ApplicationId

integer

None.

Icon

string

None.

ItemOrder

integer

Required

Matching regular expression pattern: ^[0-9]+$

ParentId

integer

None.

Parent

MenuItemDTO

None.

allowAnonymous

boolean

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 for property 'Parent' with type 'Components.UserManagement.DTO.MenuItemDTO'. Path ''.

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 for property 'Parent' with type 'Components.UserManagement.DTO.MenuItemDTO'. Path ''.

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 'Components.UserManagement.DTO.MenuItemDTO' 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 'Components.UserManagement.DTO.MenuItemDTO' contains cycles and cannot be serialized if reference tracking is disabled.