GET api/Rol/Menu

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of MenuOrdenado
NameDescriptionTypeAdditional information
menu

ObtenerMenuPorRol_Result

None.

lista

Collection of ObtenerMenuPorRol_Result

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "menu": {
      "idMenu": 1,
      "menu": "sample string 2",
      "idSubMenu": 3,
      "subMenu": "sample string 4",
      "url": "sample string 5",
      "icon": "sample string 6",
      "idPath": 7
    },
    "lista": [
      {
        "idMenu": 1,
        "menu": "sample string 2",
        "idSubMenu": 3,
        "subMenu": "sample string 4",
        "url": "sample string 5",
        "icon": "sample string 6",
        "idPath": 7
      },
      {
        "idMenu": 1,
        "menu": "sample string 2",
        "idSubMenu": 3,
        "subMenu": "sample string 4",
        "url": "sample string 5",
        "icon": "sample string 6",
        "idPath": 7
      }
    ]
  },
  {
    "menu": {
      "idMenu": 1,
      "menu": "sample string 2",
      "idSubMenu": 3,
      "subMenu": "sample string 4",
      "url": "sample string 5",
      "icon": "sample string 6",
      "idPath": 7
    },
    "lista": [
      {
        "idMenu": 1,
        "menu": "sample string 2",
        "idSubMenu": 3,
        "subMenu": "sample string 4",
        "url": "sample string 5",
        "icon": "sample string 6",
        "idPath": 7
      },
      {
        "idMenu": 1,
        "menu": "sample string 2",
        "idSubMenu": 3,
        "subMenu": "sample string 4",
        "url": "sample string 5",
        "icon": "sample string 6",
        "idPath": 7
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfMenuOrdenado xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPIQCAZ.Models">
  <MenuOrdenado>
    <lista xmlns:d3p1="http://schemas.datacontract.org/2004/07/WebAPIQCAZ.Models.ModelsDB">
      <d3p1:ObtenerMenuPorRol_Result>
        <d3p1:icon>sample string 6</d3p1:icon>
        <d3p1:idMenu>1</d3p1:idMenu>
        <d3p1:idPath>7</d3p1:idPath>
        <d3p1:idSubMenu>3</d3p1:idSubMenu>
        <d3p1:menu>sample string 2</d3p1:menu>
        <d3p1:subMenu>sample string 4</d3p1:subMenu>
        <d3p1:url>sample string 5</d3p1:url>
      </d3p1:ObtenerMenuPorRol_Result>
      <d3p1:ObtenerMenuPorRol_Result>
        <d3p1:icon>sample string 6</d3p1:icon>
        <d3p1:idMenu>1</d3p1:idMenu>
        <d3p1:idPath>7</d3p1:idPath>
        <d3p1:idSubMenu>3</d3p1:idSubMenu>
        <d3p1:menu>sample string 2</d3p1:menu>
        <d3p1:subMenu>sample string 4</d3p1:subMenu>
        <d3p1:url>sample string 5</d3p1:url>
      </d3p1:ObtenerMenuPorRol_Result>
    </lista>
    <menu xmlns:d3p1="http://schemas.datacontract.org/2004/07/WebAPIQCAZ.Models.ModelsDB">
      <d3p1:icon>sample string 6</d3p1:icon>
      <d3p1:idMenu>1</d3p1:idMenu>
      <d3p1:idPath>7</d3p1:idPath>
      <d3p1:idSubMenu>3</d3p1:idSubMenu>
      <d3p1:menu>sample string 2</d3p1:menu>
      <d3p1:subMenu>sample string 4</d3p1:subMenu>
      <d3p1:url>sample string 5</d3p1:url>
    </menu>
  </MenuOrdenado>
  <MenuOrdenado>
    <lista xmlns:d3p1="http://schemas.datacontract.org/2004/07/WebAPIQCAZ.Models.ModelsDB">
      <d3p1:ObtenerMenuPorRol_Result>
        <d3p1:icon>sample string 6</d3p1:icon>
        <d3p1:idMenu>1</d3p1:idMenu>
        <d3p1:idPath>7</d3p1:idPath>
        <d3p1:idSubMenu>3</d3p1:idSubMenu>
        <d3p1:menu>sample string 2</d3p1:menu>
        <d3p1:subMenu>sample string 4</d3p1:subMenu>
        <d3p1:url>sample string 5</d3p1:url>
      </d3p1:ObtenerMenuPorRol_Result>
      <d3p1:ObtenerMenuPorRol_Result>
        <d3p1:icon>sample string 6</d3p1:icon>
        <d3p1:idMenu>1</d3p1:idMenu>
        <d3p1:idPath>7</d3p1:idPath>
        <d3p1:idSubMenu>3</d3p1:idSubMenu>
        <d3p1:menu>sample string 2</d3p1:menu>
        <d3p1:subMenu>sample string 4</d3p1:subMenu>
        <d3p1:url>sample string 5</d3p1:url>
      </d3p1:ObtenerMenuPorRol_Result>
    </lista>
    <menu xmlns:d3p1="http://schemas.datacontract.org/2004/07/WebAPIQCAZ.Models.ModelsDB">
      <d3p1:icon>sample string 6</d3p1:icon>
      <d3p1:idMenu>1</d3p1:idMenu>
      <d3p1:idPath>7</d3p1:idPath>
      <d3p1:idSubMenu>3</d3p1:idSubMenu>
      <d3p1:menu>sample string 2</d3p1:menu>
      <d3p1:subMenu>sample string 4</d3p1:subMenu>
      <d3p1:url>sample string 5</d3p1:url>
    </menu>
  </MenuOrdenado>
</ArrayOfMenuOrdenado>