GET api/Menu/MenuLines

GET api/Menu/MenuLines

returns a list of all menu lines

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

returns a list of all menu lines

Collection of MenueLine
NameDescriptionTypeAdditional information
MBNr

ID of the menu line

integer

None.

lstPos

sorting field of the menu line

string

None.

Name

Name of the menu line

string

None.

NameKarte

Name of the menu line for the card

string

None.

Code

Code of the menu line

string

None.

NWMenue

The nutritional value is for the whole menu

boolean

None.

NWKomp

The nutritional value is for the component

boolean

None.

NW100G

The nutritional value is for 100g

boolean

None.

AIMenue

The AI is for the menu

boolean

None.

AIKomp

The AI is for the component

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "MBNr": 1,
    "lstPos": "sample string 2",
    "Name": "sample string 3",
    "NameKarte": "sample string 4",
    "Code": "sample string 5",
    "NWMenue": true,
    "NWKomp": true,
    "NW100G": true,
    "AIMenue": true,
    "AIKomp": true
  },
  {
    "MBNr": 1,
    "lstPos": "sample string 2",
    "Name": "sample string 3",
    "NameKarte": "sample string 4",
    "Code": "sample string 5",
    "NWMenue": true,
    "NWKomp": true,
    "NW100G": true,
    "AIMenue": true,
    "AIKomp": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfMenueLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <MenueLine>
    <AIKomp>true</AIKomp>
    <AIMenue>true</AIMenue>
    <Code>sample string 5</Code>
    <MBNr>1</MBNr>
    <NW100G>true</NW100G>
    <NWKomp>true</NWKomp>
    <NWMenue>true</NWMenue>
    <Name>sample string 3</Name>
    <NameKarte>sample string 4</NameKarte>
    <lstPos>sample string 2</lstPos>
  </MenueLine>
  <MenueLine>
    <AIKomp>true</AIKomp>
    <AIMenue>true</AIMenue>
    <Code>sample string 5</Code>
    <MBNr>1</MBNr>
    <NW100G>true</NW100G>
    <NWKomp>true</NWKomp>
    <NWMenue>true</NWMenue>
    <Name>sample string 3</Name>
    <NameKarte>sample string 4</NameKarte>
    <lstPos>sample string 2</lstPos>
  </MenueLine>
</ArrayOfMenueLine>