GET api/UserPackageMenu

Gets all the package and menu details for login user

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

List of WidgetDetails

PackageMenu
NameDescriptionTypeAdditional information
PackageName

string

None.

ParentMenuItems

Collection of ParentMenuItem

None.

Response Formats

application/json, text/json

Sample:
{
  "PackageName": "sample string 1",
  "ParentMenuItems": [
    {
      "SubMenuItems": [
        {
          "Code": "sample string 1",
          "Name": "sample string 2",
          "Url": "sample string 3",
          "IconClass": "sample string 4",
          "DisplayOrder": 5
        },
        {
          "Code": "sample string 1",
          "Name": "sample string 2",
          "Url": "sample string 3",
          "IconClass": "sample string 4",
          "DisplayOrder": 5
        }
      ],
      "Code": "sample string 1",
      "Name": "sample string 2",
      "Url": "sample string 3",
      "IconClass": "sample string 4",
      "DisplayOrder": 5
    },
    {
      "SubMenuItems": [
        {
          "Code": "sample string 1",
          "Name": "sample string 2",
          "Url": "sample string 3",
          "IconClass": "sample string 4",
          "DisplayOrder": 5
        },
        {
          "Code": "sample string 1",
          "Name": "sample string 2",
          "Url": "sample string 3",
          "IconClass": "sample string 4",
          "DisplayOrder": 5
        }
      ],
      "Code": "sample string 1",
      "Name": "sample string 2",
      "Url": "sample string 3",
      "IconClass": "sample string 4",
      "DisplayOrder": 5
    }
  ]
}

application/xml, text/xml

Sample:
<PackageMenu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sysmex.IT.NsGlobal.Models.Common">
  <PackageName>sample string 1</PackageName>
  <ParentMenuItems>
    <ParentMenuItem>
      <Code>sample string 1</Code>
      <DisplayOrder>5</DisplayOrder>
      <IconClass>sample string 4</IconClass>
      <Name>sample string 2</Name>
      <Url>sample string 3</Url>
      <SubMenuItems>
        <MenuItem>
          <Code>sample string 1</Code>
          <DisplayOrder>5</DisplayOrder>
          <IconClass>sample string 4</IconClass>
          <Name>sample string 2</Name>
          <Url>sample string 3</Url>
        </MenuItem>
        <MenuItem>
          <Code>sample string 1</Code>
          <DisplayOrder>5</DisplayOrder>
          <IconClass>sample string 4</IconClass>
          <Name>sample string 2</Name>
          <Url>sample string 3</Url>
        </MenuItem>
      </SubMenuItems>
    </ParentMenuItem>
    <ParentMenuItem>
      <Code>sample string 1</Code>
      <DisplayOrder>5</DisplayOrder>
      <IconClass>sample string 4</IconClass>
      <Name>sample string 2</Name>
      <Url>sample string 3</Url>
      <SubMenuItems>
        <MenuItem>
          <Code>sample string 1</Code>
          <DisplayOrder>5</DisplayOrder>
          <IconClass>sample string 4</IconClass>
          <Name>sample string 2</Name>
          <Url>sample string 3</Url>
        </MenuItem>
        <MenuItem>
          <Code>sample string 1</Code>
          <DisplayOrder>5</DisplayOrder>
          <IconClass>sample string 4</IconClass>
          <Name>sample string 2</Name>
          <Url>sample string 3</Url>
        </MenuItem>
      </SubMenuItems>
    </ParentMenuItem>
  </ParentMenuItems>
</PackageMenu>