GET api/Menu/MenuPlans

GET api/Menu/MenuPlans

returns a list of all menu plans

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

returns a list of all menu plans

Collection of MenuePlan
NameDescriptionTypeAdditional information
MPGNr

ID of the menu group

integer

None.

Code

the code for the menu group

string

None.

MPGName

the name of the menu group

string

None.

Feiertage

this menu group is available on Feiertagen

boolean

None.

Mo

this menu group is available on Montag

boolean

None.

Di

this menu group is available on Dienstag

boolean

None.

Mi

this menu group is available on Mittwoch

boolean

None.

Do

this menu group is available on Donnerstag

boolean

None.

Fr

this menu group is available on Freitag

boolean

None.

Sa

this menu group is available on Samstag

boolean

None.

So

this menu group is available on Sonntag

boolean

None.

KSCode

the code of the cost center

string

None.

KstName

the name of the cost center

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "MPGNr": 1,
    "Code": "sample string 2",
    "MPGName": "sample string 3",
    "Feiertage": true,
    "Mo": true,
    "Di": true,
    "Mi": true,
    "Do": true,
    "Fr": true,
    "Sa": true,
    "So": true,
    "KSCode": "sample string 12",
    "KstName": "sample string 13"
  },
  {
    "MPGNr": 1,
    "Code": "sample string 2",
    "MPGName": "sample string 3",
    "Feiertage": true,
    "Mo": true,
    "Di": true,
    "Mi": true,
    "Do": true,
    "Fr": true,
    "Sa": true,
    "So": true,
    "KSCode": "sample string 12",
    "KstName": "sample string 13"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMenuePlan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KOSTIFC">
  <MenuePlan>
    <Code>sample string 2</Code>
    <Di>true</Di>
    <Do>true</Do>
    <Feiertage>true</Feiertage>
    <Fr>true</Fr>
    <KSCode>sample string 12</KSCode>
    <KstName>sample string 13</KstName>
    <MPGName>sample string 3</MPGName>
    <MPGNr>1</MPGNr>
    <Mi>true</Mi>
    <Mo>true</Mo>
    <Sa>true</Sa>
    <So>true</So>
  </MenuePlan>
  <MenuePlan>
    <Code>sample string 2</Code>
    <Di>true</Di>
    <Do>true</Do>
    <Feiertage>true</Feiertage>
    <Fr>true</Fr>
    <KSCode>sample string 12</KSCode>
    <KstName>sample string 13</KstName>
    <MPGName>sample string 3</MPGName>
    <MPGNr>1</MPGNr>
    <Mi>true</Mi>
    <Mo>true</Mo>
    <Sa>true</Sa>
    <So>true</So>
  </MenuePlan>
</ArrayOfMenuePlan>