GET api/Dados/GetPortalMenu?_Credentials={_Credentials}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
_Credentials

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of cEntity_pro_menus
NameDescriptionTypeAdditional information
id

integer

None.

icon

string

None.

designacao

string

None.

link

string

None.

_Action

string

None.

hasError

boolean

None.

List_options

Collection of cEntity_pro_menus_sub

None.

hasErrorMessage

string

None.

_SendCredentials

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "icon": "sample string 2",
    "designacao": "sample string 3",
    "link": "sample string 4",
    "_Action": "sample string 5",
    "hasError": true,
    "List_options": [
      {
        "id": 1,
        "menu_id": 2,
        "designacao": "sample string 3",
        "page_link": "sample string 4",
        "_Action": "sample string 5",
        "menu_read": 6,
        "menu_write": 7,
        "menu_delete": 8,
        "icon": "sample string 9",
        "hasError": true,
        "hasErrorMessage": "sample string 11",
        "_SendCredentials": "sample string 12"
      },
      {
        "id": 1,
        "menu_id": 2,
        "designacao": "sample string 3",
        "page_link": "sample string 4",
        "_Action": "sample string 5",
        "menu_read": 6,
        "menu_write": 7,
        "menu_delete": 8,
        "icon": "sample string 9",
        "hasError": true,
        "hasErrorMessage": "sample string 11",
        "_SendCredentials": "sample string 12"
      }
    ],
    "hasErrorMessage": "sample string 7",
    "_SendCredentials": "sample string 8"
  },
  {
    "id": 1,
    "icon": "sample string 2",
    "designacao": "sample string 3",
    "link": "sample string 4",
    "_Action": "sample string 5",
    "hasError": true,
    "List_options": [
      {
        "id": 1,
        "menu_id": 2,
        "designacao": "sample string 3",
        "page_link": "sample string 4",
        "_Action": "sample string 5",
        "menu_read": 6,
        "menu_write": 7,
        "menu_delete": 8,
        "icon": "sample string 9",
        "hasError": true,
        "hasErrorMessage": "sample string 11",
        "_SendCredentials": "sample string 12"
      },
      {
        "id": 1,
        "menu_id": 2,
        "designacao": "sample string 3",
        "page_link": "sample string 4",
        "_Action": "sample string 5",
        "menu_read": 6,
        "menu_write": 7,
        "menu_delete": 8,
        "icon": "sample string 9",
        "hasError": true,
        "hasErrorMessage": "sample string 11",
        "_SendCredentials": "sample string 12"
      }
    ],
    "hasErrorMessage": "sample string 7",
    "_SendCredentials": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfcTables.cEntity_pro_menus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wsgest">
  <cTables.cEntity_pro_menus>
    <List_options>
      <cTables.cEntity_pro_menus_sub>
        <_Action>sample string 5</_Action>
        <_SendCredentials>sample string 12</_SendCredentials>
        <designacao>sample string 3</designacao>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 11</hasErrorMessage>
        <icon>sample string 9</icon>
        <id>1</id>
        <menu_delete>8</menu_delete>
        <menu_id>2</menu_id>
        <menu_read>6</menu_read>
        <menu_write>7</menu_write>
        <page_link>sample string 4</page_link>
      </cTables.cEntity_pro_menus_sub>
      <cTables.cEntity_pro_menus_sub>
        <_Action>sample string 5</_Action>
        <_SendCredentials>sample string 12</_SendCredentials>
        <designacao>sample string 3</designacao>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 11</hasErrorMessage>
        <icon>sample string 9</icon>
        <id>1</id>
        <menu_delete>8</menu_delete>
        <menu_id>2</menu_id>
        <menu_read>6</menu_read>
        <menu_write>7</menu_write>
        <page_link>sample string 4</page_link>
      </cTables.cEntity_pro_menus_sub>
    </List_options>
    <_Action>sample string 5</_Action>
    <_SendCredentials>sample string 8</_SendCredentials>
    <designacao>sample string 3</designacao>
    <hasError>true</hasError>
    <hasErrorMessage>sample string 7</hasErrorMessage>
    <icon>sample string 2</icon>
    <id>1</id>
    <link>sample string 4</link>
  </cTables.cEntity_pro_menus>
  <cTables.cEntity_pro_menus>
    <List_options>
      <cTables.cEntity_pro_menus_sub>
        <_Action>sample string 5</_Action>
        <_SendCredentials>sample string 12</_SendCredentials>
        <designacao>sample string 3</designacao>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 11</hasErrorMessage>
        <icon>sample string 9</icon>
        <id>1</id>
        <menu_delete>8</menu_delete>
        <menu_id>2</menu_id>
        <menu_read>6</menu_read>
        <menu_write>7</menu_write>
        <page_link>sample string 4</page_link>
      </cTables.cEntity_pro_menus_sub>
      <cTables.cEntity_pro_menus_sub>
        <_Action>sample string 5</_Action>
        <_SendCredentials>sample string 12</_SendCredentials>
        <designacao>sample string 3</designacao>
        <hasError>true</hasError>
        <hasErrorMessage>sample string 11</hasErrorMessage>
        <icon>sample string 9</icon>
        <id>1</id>
        <menu_delete>8</menu_delete>
        <menu_id>2</menu_id>
        <menu_read>6</menu_read>
        <menu_write>7</menu_write>
        <page_link>sample string 4</page_link>
      </cTables.cEntity_pro_menus_sub>
    </List_options>
    <_Action>sample string 5</_Action>
    <_SendCredentials>sample string 8</_SendCredentials>
    <designacao>sample string 3</designacao>
    <hasError>true</hasError>
    <hasErrorMessage>sample string 7</hasErrorMessage>
    <icon>sample string 2</icon>
    <id>1</id>
    <link>sample string 4</link>
  </cTables.cEntity_pro_menus>
</ArrayOfcTables.cEntity_pro_menus>