POST api/DepartmentWeekOrders

Request Information

URI Parameters

None.

Body Parameters

DepartmentWeekOrderDto
NameDescriptionTypeAdditional information
WeekOrderId

integer

Required

PcdWebId

string

None.

WmbWebId

string

None.

DepartmentId

integer

Required

Department

DepartmentDto

None.

Year

integer

Required

Week

integer

Required

Courses

Collection of DepartmentWeekOrderCourseDto

Required

UpdatedPcd

date

None.

UpdatedWmb

date

None.

Request Formats

application/json, text/json

Sample:
{
  "WeekOrderId": 1,
  "PcdWebId": "sample string 2",
  "WmbWebId": "sample string 3",
  "DepartmentId": 4,
  "Department": {
    "Id": 1,
    "DepartmentName": "sample string 2",
    "DepartmentNo": 3,
    "Contact": "sample string 4",
    "Phone": "sample string 5",
    "Email": "sample string 6",
    "Pricing": {
      "PriceGroupId": 1,
      "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
      },
      "ShowPrices": true,
      "PriceMenuGroups": [
        {
          "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"
          }
        },
        {
          "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"
          }
        }
      ],
      "ShowTotals": true
    },
    "MenuGroups": [
      {
        "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"
        }
      },
      {
        "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"
        }
      }
    ]
  },
  "Year": 5,
  "Week": 6,
  "Courses": [
    {
      "WeekOrderCourseId": 1,
      "WeekOrderId": 2,
      "PcdWebId": "sample string 3",
      "WmbWebId": "sample string 4",
      "MenuplanId": 5,
      "Menuplan": {
        "MenuplanId": 1,
        "Menuname": "sample string 2"
      },
      "CourseType": 6,
      "CourseNo": 7,
      "CourseId": 8,
      "Amount": 9.0,
      "EatingDate": "2025-12-27",
      "DeliveryTypeId": 11,
      "DeliveryType": {
        "DeliveryTypeId": 1,
        "Description": "sample string 2"
      },
      "DeliveryTypeEnforced": true,
      "PortionTypeId": 13,
      "PortionType": {
        "PortionTypeId": 1,
        "Description": "sample string 2"
      },
      "DietForms": [
        {
          "WeekOrderCourseDietFormId": 1,
          "WeekOrderCourseId": 2,
          "DietFormId": 3,
          "DietForm": {
            "DietFormId": 1,
            "Name": "sample string 2"
          }
        },
        {
          "WeekOrderCourseDietFormId": 1,
          "WeekOrderCourseId": 2,
          "DietFormId": 3,
          "DietForm": {
            "DietFormId": 1,
            "Name": "sample string 2"
          }
        }
      ],
      "Preferences": [
        {
          "WeekOrderCoursePreferenceId": 1,
          "WeekOrderCourseId": 2,
          "PreferenceTypeId": 3,
          "PreferenceType": {
            "PreferenceTypeId": 1,
            "Description": "sample string 2"
          }
        },
        {
          "WeekOrderCoursePreferenceId": 1,
          "WeekOrderCourseId": 2,
          "PreferenceTypeId": 3,
          "PreferenceType": {
            "PreferenceTypeId": 1,
            "Description": "sample string 2"
          }
        }
      ],
      "UpdatedPcd": "2025-12-27T13:56:53",
      "UpdatedWmb": "2025-12-27T13:56:53"
    },
    {
      "WeekOrderCourseId": 1,
      "WeekOrderId": 2,
      "PcdWebId": "sample string 3",
      "WmbWebId": "sample string 4",
      "MenuplanId": 5,
      "Menuplan": {
        "MenuplanId": 1,
        "Menuname": "sample string 2"
      },
      "CourseType": 6,
      "CourseNo": 7,
      "CourseId": 8,
      "Amount": 9.0,
      "EatingDate": "2025-12-27",
      "DeliveryTypeId": 11,
      "DeliveryType": {
        "DeliveryTypeId": 1,
        "Description": "sample string 2"
      },
      "DeliveryTypeEnforced": true,
      "PortionTypeId": 13,
      "PortionType": {
        "PortionTypeId": 1,
        "Description": "sample string 2"
      },
      "DietForms": [
        {
          "WeekOrderCourseDietFormId": 1,
          "WeekOrderCourseId": 2,
          "DietFormId": 3,
          "DietForm": {
            "DietFormId": 1,
            "Name": "sample string 2"
          }
        },
        {
          "WeekOrderCourseDietFormId": 1,
          "WeekOrderCourseId": 2,
          "DietFormId": 3,
          "DietForm": {
            "DietFormId": 1,
            "Name": "sample string 2"
          }
        }
      ],
      "Preferences": [
        {
          "WeekOrderCoursePreferenceId": 1,
          "WeekOrderCourseId": 2,
          "PreferenceTypeId": 3,
          "PreferenceType": {
            "PreferenceTypeId": 1,
            "Description": "sample string 2"
          }
        },
        {
          "WeekOrderCoursePreferenceId": 1,
          "WeekOrderCourseId": 2,
          "PreferenceTypeId": 3,
          "PreferenceType": {
            "PreferenceTypeId": 1,
            "Description": "sample string 2"
          }
        }
      ],
      "UpdatedPcd": "2025-12-27T13:56:53",
      "UpdatedWmb": "2025-12-27T13:56:53"
    }
  ],
  "UpdatedPcd": "2025-12-27T13:56:53",
  "UpdatedWmb": "2025-12-27T13:56:53"
}

application/x-www-form-urlencoded

Sample:
WeekOrderId=value&PcdWebId=value&WmbWebId=value&DepartmentId=value&Department=value&Year=value&Week=value&Courses=value&UpdatedPcd=value&UpdatedWmb=value

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.