GET api/menuItemsListBy?roleId={roleId}&accountId={accountId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
roleId | integer |
Required |
|
accountId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of MenuItemsModelName | Description | Type | Additional information |
---|---|---|---|
RoleId | integer |
None. |
|
ParentId | integer |
None. |
|
Text | string |
None. |
|
ViewPrivileges | string |
None. |
|
Link | string |
None. |
|
Icon | string |
None. |
|
Id | integer |
None. |
|
Status | string |
None. |
|
CreatedBy | string |
None. |
|
CreateTimestamp | date |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedTimestamp | date |
None. |
|
DataStateFlag | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "RoleId": 1, "ParentId": 2, "Text": "sample string 3", "ViewPrivileges": "sample string 4", "Link": "sample string 5", "Icon": "sample string 6", "Id": 7, "Status": "sample string 8", "CreatedBy": "sample string 9", "CreateTimestamp": "2024-11-21T08:41:58.5287395+00:00", "ModifiedBy": "sample string 11", "ModifiedTimestamp": "2024-11-21T08:41:58.5287395+00:00", "DataStateFlag": "sample string 12" }, { "RoleId": 1, "ParentId": 2, "Text": "sample string 3", "ViewPrivileges": "sample string 4", "Link": "sample string 5", "Icon": "sample string 6", "Id": 7, "Status": "sample string 8", "CreatedBy": "sample string 9", "CreateTimestamp": "2024-11-21T08:41:58.5287395+00:00", "ModifiedBy": "sample string 11", "ModifiedTimestamp": "2024-11-21T08:41:58.5287395+00:00", "DataStateFlag": "sample string 12" } ]
application/xml, text/xml
Sample:
<ArrayOfMenuItemsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.Menus"> <MenuItemsModel> <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models"> <d3p1:DateTime>2024-11-21T08:41:58.5287395Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </CreateTimestamp> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 9</CreatedBy> <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 12</DataStateFlag> <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">7</Id> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 11</ModifiedBy> <ModifiedTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models"> <d3p1:DateTime>2024-11-21T08:41:58.5287395Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </ModifiedTimestamp> <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 8</Status> <Icon>sample string 6</Icon> <Link>sample string 5</Link> <ParentId>2</ParentId> <RoleId>1</RoleId> <Text>sample string 3</Text> <ViewPrivileges>sample string 4</ViewPrivileges> </MenuItemsModel> <MenuItemsModel> <CreateTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models"> <d3p1:DateTime>2024-11-21T08:41:58.5287395Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </CreateTimestamp> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 9</CreatedBy> <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 12</DataStateFlag> <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">7</Id> <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 11</ModifiedBy> <ModifiedTimestamp xmlns:d3p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models"> <d3p1:DateTime>2024-11-21T08:41:58.5287395Z</d3p1:DateTime> <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes> </ModifiedTimestamp> <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 8</Status> <Icon>sample string 6</Icon> <Link>sample string 5</Link> <ParentId>2</ParentId> <RoleId>1</RoleId> <Text>sample string 3</Text> <ViewPrivileges>sample string 4</ViewPrivileges> </MenuItemsModel> </ArrayOfMenuItemsModel>