GET api/Menu/MenuComponents

GET api/Menu/MenuComponents

returns a list of all menu components

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

returns a list of all menu components

Collection of MenuComponent
NameDescriptionTypeAdditional information
GNr

Id of the menu component

integer

None.

lstPos

sorting field of the menu component

string

None.

Name

Name of the menu component

string

None.

NameKarte

Name of the menu component for the card

string

None.

Code

Code of the menu component

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "GNr": 1,
    "lstPos": "sample string 2",
    "Name": "sample string 3",
    "NameKarte": "sample string 4",
    "Code": "sample string 5"
  },
  {
    "GNr": 1,
    "lstPos": "sample string 2",
    "Name": "sample string 3",
    "NameKarte": "sample string 4",
    "Code": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMenuComponent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <MenuComponent>
    <Code>sample string 5</Code>
    <GNr>1</GNr>
    <Name>sample string 3</Name>
    <NameKarte>sample string 4</NameKarte>
    <lstPos>sample string 2</lstPos>
  </MenuComponent>
  <MenuComponent>
    <Code>sample string 5</Code>
    <GNr>1</GNr>
    <Name>sample string 3</Name>
    <NameKarte>sample string 4</NameKarte>
    <lstPos>sample string 2</lstPos>
  </MenuComponent>
</ArrayOfMenuComponent>