GET api/Persons/{id}?year={year}&week={week}&fullResult={fullResult}&includeMenuGroupCourses={includeMenuGroupCourses}
Get Person by Id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Id (key) of Person |
integer |
Required |
| year |
Year for Person MenuGroups (default: Current year) |
integer |
Default value is 0 |
| week |
Week for Person MenuGroups (default: Current week) |
integer |
Default value is 0 |
| fullResult |
Full result of connected entities |
FullResultEnum |
Default value is Yes |
| includeMenuGroupCourses |
Include Courses/Prices to MenuGroups |
YesNoEnum |
Default value is No |
Body Parameters
None.
Response Information
Resource Description
Person object by id
PersonDto| Name | Description | Type | Additional information |
|---|---|---|---|
| PersonId |
Id (key) of Person |
integer |
Required |
| PcdWebId |
Ident - for PCD Internal use |
string |
None. |
| WmbWebId |
Ident - for WMB Internal use |
string |
None. |
| FirstName |
Person First Name |
string |
Required |
| MiddleName |
Person Middle Name |
string |
None. |
| LastName |
Person Last Name |
string |
Required |
| HomePhone |
Person Home Phone |
string |
None. |
| MobilePhone |
Person Mobile Phone |
string |
None. |
| WorkPhone |
Person Work Phone |
string |
None. |
|
Person Email |
string |
None. |
|
| Street |
Person Address Street |
string |
None. |
| StreetNumber |
Person Address Street Number |
string |
None. |
| PostalCode |
Person Address Postal Code |
string |
None. |
| City |
Person Address City |
string |
None. |
| DeliveryDayOfWeek |
Day of delivery - Monday=1 (Default), Tuesday=2, Wednesday=3, Thursday=4, Friday=5, Saturday=6, Sunday=7 |
integer |
Required |
| InfoAccess |
Information about access to Person home |
string |
None. |
| InfoDelivery |
Information about delivery |
string |
None. |
| InfoOther |
Information extra |
string |
None. |
| C5Id |
C5 ID - used for accounting |
integer |
None. |
| ActivationCode |
Activation Code for Web |
string |
None. |
| PersonTypeId |
Id (foreign key) for Person Type |
integer |
Required |
| PersonType |
Person Type Entity |
PersonTypeDto |
Required |
| CommuneId |
Id (foreign key) for Commune |
integer |
None. |
| Commune |
Commune Entity |
CommuneDto |
None. |
| StopDate |
Stop Date |
date |
None. |
| UpdatedPcd |
Date last updated from PCD |
date |
None. |
| UpdatedWmb |
Date last updated from WMB |
date |
None. |
| IsDeleted |
Mark for Person deleted |
boolean |
None. |
| Absences |
Collection of Person Absences |
Collection of PersonAbsenceDto |
None. |
| DietForms |
Collection of Person Diet Forms |
Collection of PersonDietFormDto |
None. |
| MenuGroupWeeks |
Collection of Person Menu Group Weeks |
Collection of PersonMenuGroupWeekDto |
None. |
| Routes |
Collection of Person Routes |
Collection of PersonRouteDto |
None. |
| Properties |
Collection of Person Properties |
Collection of PropertyDto |
None. |
Response Formats
application/json, text/json
{
"PersonId": 1,
"PcdWebId": "sample string 2",
"WmbWebId": "sample string 3",
"FirstName": "sample string 4",
"MiddleName": "sample string 5",
"LastName": "sample string 6",
"HomePhone": "sample string 7",
"MobilePhone": "sample string 8",
"WorkPhone": "sample string 9",
"Email": "sample string 10",
"Street": "sample string 11",
"StreetNumber": "sample string 12",
"PostalCode": "sample string 13",
"City": "sample string 14",
"DeliveryDayOfWeek": 15,
"InfoAccess": "sample string 16",
"InfoDelivery": "sample string 17",
"InfoOther": "sample string 18",
"C5Id": 1,
"ActivationCode": "sample string 19",
"PersonTypeId": 20,
"PersonType": {
"PersonTypeId": 1,
"Description": "sample string 2"
},
"CommuneId": 1,
"Commune": {
"CommuneId": 1,
"Name": "sample string 2",
"ItemNumber": "sample string 3",
"Rules": [
{
"RuleTypeId": 1,
"RuleType": {
"RuleTypeId": 1,
"Description": "sample string 2",
"Table": "sample string 3"
},
"Description": "sample string 2",
"ReferenceType": "sample string 3",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"PeriodId": 3,
"Period": {
"PeriodId": 1,
"Description": "sample string 2"
},
"Amount": 4
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"PeriodId": 3,
"Period": {
"PeriodId": 1,
"Description": "sample string 2"
},
"Amount": 4
}
]
},
{
"RuleTypeId": 1,
"RuleType": {
"RuleTypeId": 1,
"Description": "sample string 2",
"Table": "sample string 3"
},
"Description": "sample string 2",
"ReferenceType": "sample string 3",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"PeriodId": 3,
"Period": {
"PeriodId": 1,
"Description": "sample string 2"
},
"Amount": 4
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"PeriodId": 3,
"Period": {
"PeriodId": 1,
"Description": "sample string 2"
},
"Amount": 4
}
]
}
]
},
"StopDate": "2025-12-27T13:53:36.5839902+01:00",
"UpdatedPcd": "2025-12-27T13:53:36.5839902+01:00",
"UpdatedWmb": "2025-12-27T13:53:36.5839902+01:00",
"IsDeleted": true,
"Absences": [
{
"PersonAbsenceId": 1,
"PersonId": 2,
"AbsenceTypeId": 1,
"AbsenceType": {
"AbsenceTypeId": 1,
"Description": "sample string 2"
},
"DateStart": "2025-12-27",
"DateEnd": "2025-12-27",
"PcdWebId": "sample string 4",
"WmbWebId": "sample string 5",
"UpdatedPcd": "2025-12-27T13:53:36.5839902+01:00",
"UpdatedWmb": "2025-12-27T13:53:36.5839902+01:00"
},
{
"PersonAbsenceId": 1,
"PersonId": 2,
"AbsenceTypeId": 1,
"AbsenceType": {
"AbsenceTypeId": 1,
"Description": "sample string 2"
},
"DateStart": "2025-12-27",
"DateEnd": "2025-12-27",
"PcdWebId": "sample string 4",
"WmbWebId": "sample string 5",
"UpdatedPcd": "2025-12-27T13:53:36.5839902+01:00",
"UpdatedWmb": "2025-12-27T13:53:36.5839902+01:00"
}
],
"DietForms": [
{
"PersonDietFormId": 1,
"PersonId": 2,
"DietFormId": 3,
"DietForm": {
"DietFormId": 1,
"Name": "sample string 2"
},
"DateStart": "2025-12-27",
"DateEnd": "2025-12-27"
},
{
"PersonDietFormId": 1,
"PersonId": 2,
"DietFormId": 3,
"DietForm": {
"DietFormId": 1,
"Name": "sample string 2"
},
"DateStart": "2025-12-27",
"DateEnd": "2025-12-27"
}
],
"MenuGroupWeeks": [
{
"Year": 1,
"Week": 2,
"MenuplanId": 3,
"Menuplan": {
"MenuplanId": 1,
"Menuname": "sample string 2"
},
"MenuGroups": [
{
"MenuGroupId": 1,
"MenuGroup": {
"MenuGroupId": 1,
"Name": "sample string 2",
"MenuGroupTypeId": 3,
"MenuGroupType": {
"MenuGroupTypeId": 1,
"Description": "sample string 2"
},
"MenuplanId": 4,
"Menuplan": {
"MenuplanId": 1,
"Menuname": "sample string 2"
},
"MenuGroupRuleId": 5,
"MenuGroupRule": {
"MenuGroupRuleId": 1,
"Description": "sample string 2",
"Rules": [
{
"MenuGroupRuleId": 1,
"RuleTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}
]
},
{
"MenuGroupRuleId": 1,
"RuleTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}
]
}
]
},
"MenuGroupRelationId": 6,
"MenuGroupRelation": {
"MenuGroupRelationId": 1,
"Description": "sample string 2",
"Relations": [
{
"MenuGroupRelationId": 1,
"RelationTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
},
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
}
]
},
{
"MenuGroupRelationId": 1,
"RelationTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
},
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
}
]
}
]
},
"DietFormId": 1,
"DietForm": {
"DietFormId": 1,
"Name": "sample string 2"
}
},
"PriceGroupId": 2,
"PriceGroup": {
"PriceGroupId": 1,
"Name": "sample string 2",
"PriceGroupTypeId": 3,
"PriceGroupType": {
"PriceGroupTypeId": 1,
"Description": "sample string 2",
"Reference": "sample string 3"
},
"PointsSurcharge1": 1,
"PointsSurcharge2": 1,
"PointsSurcharge3": 1
},
"MenuplanId": 3,
"Menuplan": {
"MenuplanId": 1,
"Menuname": "sample string 2"
},
"Year": 1,
"Week": 1,
"Courses": [
{
"CourseType": 1,
"CourseNo": 2,
"CourseId": 3,
"Course": "sample string 4",
"CourseFormatted": "sample string 5",
"CourseCategoryId": 6,
"CourseCategory": "sample string 7",
"Price": 8.0,
"DietFormPriceSurcharges": [
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
},
{
"CourseType": 1,
"CourseNo": 2,
"CourseId": 3,
"Course": "sample string 4",
"CourseFormatted": "sample string 5",
"CourseCategoryId": 6,
"CourseCategory": "sample string 7",
"Price": 8.0,
"DietFormPriceSurcharges": [
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}
],
"Message": "sample string 4"
},
{
"MenuGroupId": 1,
"MenuGroup": {
"MenuGroupId": 1,
"Name": "sample string 2",
"MenuGroupTypeId": 3,
"MenuGroupType": {
"MenuGroupTypeId": 1,
"Description": "sample string 2"
},
"MenuplanId": 4,
"Menuplan": {
"MenuplanId": 1,
"Menuname": "sample string 2"
},
"MenuGroupRuleId": 5,
"MenuGroupRule": {
"MenuGroupRuleId": 1,
"Description": "sample string 2",
"Rules": [
{
"MenuGroupRuleId": 1,
"RuleTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}
]
},
{
"MenuGroupRuleId": 1,
"RuleTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}
]
}
]
},
"MenuGroupRelationId": 6,
"MenuGroupRelation": {
"MenuGroupRelationId": 1,
"Description": "sample string 2",
"Relations": [
{
"MenuGroupRelationId": 1,
"RelationTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
},
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
}
]
},
{
"MenuGroupRelationId": 1,
"RelationTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
},
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
}
]
}
]
},
"DietFormId": 1,
"DietForm": {
"DietFormId": 1,
"Name": "sample string 2"
}
},
"PriceGroupId": 2,
"PriceGroup": {
"PriceGroupId": 1,
"Name": "sample string 2",
"PriceGroupTypeId": 3,
"PriceGroupType": {
"PriceGroupTypeId": 1,
"Description": "sample string 2",
"Reference": "sample string 3"
},
"PointsSurcharge1": 1,
"PointsSurcharge2": 1,
"PointsSurcharge3": 1
},
"MenuplanId": 3,
"Menuplan": {
"MenuplanId": 1,
"Menuname": "sample string 2"
},
"Year": 1,
"Week": 1,
"Courses": [
{
"CourseType": 1,
"CourseNo": 2,
"CourseId": 3,
"Course": "sample string 4",
"CourseFormatted": "sample string 5",
"CourseCategoryId": 6,
"CourseCategory": "sample string 7",
"Price": 8.0,
"DietFormPriceSurcharges": [
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
},
{
"CourseType": 1,
"CourseNo": 2,
"CourseId": 3,
"Course": "sample string 4",
"CourseFormatted": "sample string 5",
"CourseCategoryId": 6,
"CourseCategory": "sample string 7",
"Price": 8.0,
"DietFormPriceSurcharges": [
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}
],
"Message": "sample string 4"
}
],
"Properties": [
{
"PropertyTypeId": 1,
"Description": "sample string 2",
"ReferenceType": "sample string 3",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"PropertyTypeId": 1,
"Description": "sample string 2",
"ReferenceType": "sample string 3",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
},
{
"Year": 1,
"Week": 2,
"MenuplanId": 3,
"Menuplan": {
"MenuplanId": 1,
"Menuname": "sample string 2"
},
"MenuGroups": [
{
"MenuGroupId": 1,
"MenuGroup": {
"MenuGroupId": 1,
"Name": "sample string 2",
"MenuGroupTypeId": 3,
"MenuGroupType": {
"MenuGroupTypeId": 1,
"Description": "sample string 2"
},
"MenuplanId": 4,
"Menuplan": {
"MenuplanId": 1,
"Menuname": "sample string 2"
},
"MenuGroupRuleId": 5,
"MenuGroupRule": {
"MenuGroupRuleId": 1,
"Description": "sample string 2",
"Rules": [
{
"MenuGroupRuleId": 1,
"RuleTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}
]
},
{
"MenuGroupRuleId": 1,
"RuleTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}
]
}
]
},
"MenuGroupRelationId": 6,
"MenuGroupRelation": {
"MenuGroupRelationId": 1,
"Description": "sample string 2",
"Relations": [
{
"MenuGroupRelationId": 1,
"RelationTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
},
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
}
]
},
{
"MenuGroupRelationId": 1,
"RelationTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
},
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
}
]
}
]
},
"DietFormId": 1,
"DietForm": {
"DietFormId": 1,
"Name": "sample string 2"
}
},
"PriceGroupId": 2,
"PriceGroup": {
"PriceGroupId": 1,
"Name": "sample string 2",
"PriceGroupTypeId": 3,
"PriceGroupType": {
"PriceGroupTypeId": 1,
"Description": "sample string 2",
"Reference": "sample string 3"
},
"PointsSurcharge1": 1,
"PointsSurcharge2": 1,
"PointsSurcharge3": 1
},
"MenuplanId": 3,
"Menuplan": {
"MenuplanId": 1,
"Menuname": "sample string 2"
},
"Year": 1,
"Week": 1,
"Courses": [
{
"CourseType": 1,
"CourseNo": 2,
"CourseId": 3,
"Course": "sample string 4",
"CourseFormatted": "sample string 5",
"CourseCategoryId": 6,
"CourseCategory": "sample string 7",
"Price": 8.0,
"DietFormPriceSurcharges": [
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
},
{
"CourseType": 1,
"CourseNo": 2,
"CourseId": 3,
"Course": "sample string 4",
"CourseFormatted": "sample string 5",
"CourseCategoryId": 6,
"CourseCategory": "sample string 7",
"Price": 8.0,
"DietFormPriceSurcharges": [
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}
],
"Message": "sample string 4"
},
{
"MenuGroupId": 1,
"MenuGroup": {
"MenuGroupId": 1,
"Name": "sample string 2",
"MenuGroupTypeId": 3,
"MenuGroupType": {
"MenuGroupTypeId": 1,
"Description": "sample string 2"
},
"MenuplanId": 4,
"Menuplan": {
"MenuplanId": 1,
"Menuname": "sample string 2"
},
"MenuGroupRuleId": 5,
"MenuGroupRule": {
"MenuGroupRuleId": 1,
"Description": "sample string 2",
"Rules": [
{
"MenuGroupRuleId": 1,
"RuleTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}
]
},
{
"MenuGroupRuleId": 1,
"RuleTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"Amount": 3,
"Conditions": [
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"MenuGroupRuleConditionId": 1,
"RuleConditionTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Operator": "sample string 5",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}
]
}
]
},
"MenuGroupRelationId": 6,
"MenuGroupRelation": {
"MenuGroupRelationId": 1,
"Description": "sample string 2",
"Relations": [
{
"MenuGroupRelationId": 1,
"RelationTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
},
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
}
]
},
{
"MenuGroupRelationId": 1,
"RelationTypeId": 2,
"Description": "sample string 3",
"ReferenceType": "sample string 4",
"Definitions": [
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
},
{
"MenuGroupId": 1,
"Href": "sample string 2",
"ReferenceId": 3,
"CourseNoRelation": true,
"Required": true
}
]
}
]
},
"DietFormId": 1,
"DietForm": {
"DietFormId": 1,
"Name": "sample string 2"
}
},
"PriceGroupId": 2,
"PriceGroup": {
"PriceGroupId": 1,
"Name": "sample string 2",
"PriceGroupTypeId": 3,
"PriceGroupType": {
"PriceGroupTypeId": 1,
"Description": "sample string 2",
"Reference": "sample string 3"
},
"PointsSurcharge1": 1,
"PointsSurcharge2": 1,
"PointsSurcharge3": 1
},
"MenuplanId": 3,
"Menuplan": {
"MenuplanId": 1,
"Menuname": "sample string 2"
},
"Year": 1,
"Week": 1,
"Courses": [
{
"CourseType": 1,
"CourseNo": 2,
"CourseId": 3,
"Course": "sample string 4",
"CourseFormatted": "sample string 5",
"CourseCategoryId": 6,
"CourseCategory": "sample string 7",
"Price": 8.0,
"DietFormPriceSurcharges": [
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
},
{
"CourseType": 1,
"CourseNo": 2,
"CourseId": 3,
"Course": "sample string 4",
"CourseFormatted": "sample string 5",
"CourseCategoryId": 6,
"CourseCategory": "sample string 7",
"Price": 8.0,
"DietFormPriceSurcharges": [
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"PriceSurchargeTypeId": 1,
"PriceSurchargeType": {
"PriceSurchargeTypeId": 1,
"Description": "sample string 2"
},
"PriceSurcharge": 2.0,
"PointsSurcharge": 1,
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}
],
"Message": "sample string 4"
}
],
"Properties": [
{
"PropertyTypeId": 1,
"Description": "sample string 2",
"ReferenceType": "sample string 3",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"PropertyTypeId": 1,
"Description": "sample string 2",
"ReferenceType": "sample string 3",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}
],
"Routes": [
{
"PersonRouteId": 1,
"PersonId": 2,
"RouteId": 3,
"Route": {
"RouteId": 1,
"Description": "sample string 2",
"DeliveryMonday": true,
"DeliveryTuesday": true,
"DeliveryWednesday": true,
"DeliveryThursday": true,
"DeliveryFriday": true,
"DeliverySaturday": true,
"DeliverySunday": true,
"RouteType": "sample string 10"
},
"DateStart": "2025-12-27",
"DateEnd": "2025-12-27",
"RouteDelivery": {
"RouteId": 1,
"Route": {
"RouteId": 1,
"Description": "sample string 2",
"DeliveryMonday": true,
"DeliveryTuesday": true,
"DeliveryWednesday": true,
"DeliveryThursday": true,
"DeliveryFriday": true,
"DeliverySaturday": true,
"DeliverySunday": true,
"RouteType": "sample string 10"
},
"Year": 2,
"Week": 3,
"PersonalSchema": true,
"DeliveryDates": [
{
"DeliveryDate": "2025-12-27",
"EatingDates": [
{
"EatingDate": "2025-12-27",
"DeliveryDate": "2025-12-27"
},
{
"EatingDate": "2025-12-27",
"DeliveryDate": "2025-12-27"
}
]
},
{
"DeliveryDate": "2025-12-27",
"EatingDates": [
{
"EatingDate": "2025-12-27",
"DeliveryDate": "2025-12-27"
},
{
"EatingDate": "2025-12-27",
"DeliveryDate": "2025-12-27"
}
]
}
]
},
"Rules": [
{
"RuleTypeId": 1,
"RuleType": {
"RuleTypeId": 1,
"Description": "sample string 2",
"Table": "sample string 3"
},
"Description": "sample string 2",
"ReferenceType": "sample string 3",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"PeriodId": 3,
"Period": {
"PeriodId": 1,
"Description": "sample string 2"
},
"Amount": 4
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"PeriodId": 3,
"Period": {
"PeriodId": 1,
"Description": "sample string 2"
},
"Amount": 4
}
]
},
{
"RuleTypeId": 1,
"RuleType": {
"RuleTypeId": 1,
"Description": "sample string 2",
"Table": "sample string 3"
},
"Description": "sample string 2",
"ReferenceType": "sample string 3",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"PeriodId": 3,
"Period": {
"PeriodId": 1,
"Description": "sample string 2"
},
"Amount": 4
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"PeriodId": 3,
"Period": {
"PeriodId": 1,
"Description": "sample string 2"
},
"Amount": 4
}
]
}
]
},
{
"PersonRouteId": 1,
"PersonId": 2,
"RouteId": 3,
"Route": {
"RouteId": 1,
"Description": "sample string 2",
"DeliveryMonday": true,
"DeliveryTuesday": true,
"DeliveryWednesday": true,
"DeliveryThursday": true,
"DeliveryFriday": true,
"DeliverySaturday": true,
"DeliverySunday": true,
"RouteType": "sample string 10"
},
"DateStart": "2025-12-27",
"DateEnd": "2025-12-27",
"RouteDelivery": {
"RouteId": 1,
"Route": {
"RouteId": 1,
"Description": "sample string 2",
"DeliveryMonday": true,
"DeliveryTuesday": true,
"DeliveryWednesday": true,
"DeliveryThursday": true,
"DeliveryFriday": true,
"DeliverySaturday": true,
"DeliverySunday": true,
"RouteType": "sample string 10"
},
"Year": 2,
"Week": 3,
"PersonalSchema": true,
"DeliveryDates": [
{
"DeliveryDate": "2025-12-27",
"EatingDates": [
{
"EatingDate": "2025-12-27",
"DeliveryDate": "2025-12-27"
},
{
"EatingDate": "2025-12-27",
"DeliveryDate": "2025-12-27"
}
]
},
{
"DeliveryDate": "2025-12-27",
"EatingDates": [
{
"EatingDate": "2025-12-27",
"DeliveryDate": "2025-12-27"
},
{
"EatingDate": "2025-12-27",
"DeliveryDate": "2025-12-27"
}
]
}
]
},
"Rules": [
{
"RuleTypeId": 1,
"RuleType": {
"RuleTypeId": 1,
"Description": "sample string 2",
"Table": "sample string 3"
},
"Description": "sample string 2",
"ReferenceType": "sample string 3",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"PeriodId": 3,
"Period": {
"PeriodId": 1,
"Description": "sample string 2"
},
"Amount": 4
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"PeriodId": 3,
"Period": {
"PeriodId": 1,
"Description": "sample string 2"
},
"Amount": 4
}
]
},
{
"RuleTypeId": 1,
"RuleType": {
"RuleTypeId": 1,
"Description": "sample string 2",
"Table": "sample string 3"
},
"Description": "sample string 2",
"ReferenceType": "sample string 3",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2,
"PeriodId": 3,
"Period": {
"PeriodId": 1,
"Description": "sample string 2"
},
"Amount": 4
},
{
"Href": "sample string 1",
"ReferenceId": 2,
"PeriodId": 3,
"Period": {
"PeriodId": 1,
"Description": "sample string 2"
},
"Amount": 4
}
]
}
]
}
],
"Properties": [
{
"PropertyTypeId": 1,
"Description": "sample string 2",
"ReferenceType": "sample string 3",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
},
{
"PropertyTypeId": 1,
"Description": "sample string 2",
"ReferenceType": "sample string 3",
"Definitions": [
{
"Href": "sample string 1",
"ReferenceId": 2
},
{
"Href": "sample string 1",
"ReferenceId": 2
}
]
}
]
}