GET api/CateringAssistant/GetSuggestion

Request Information

URI Parameters

None.

Body Parameters

CateringAssistantGetSuggestedRequest
NameDescriptionTypeAdditional information
TotalCount

integer

None.

Meal

string

None.

IsBoxes

boolean

None.

SandwichCount

integer

None.

VegetarianCount

integer

None.

VeganCount

integer

None.

GlutenFreeCount

integer

None.

IncludeDrinks

boolean

None.

IncludeCookies

boolean

None.

IncludeChips

boolean

None.

CellId

string

None.

LastUpdated

integer

None.

VariantId

integer

None.

Variants

Collection of CateringAssistantVariant

None.

Request Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "Meal": "sample string 2",
  "IsBoxes": true,
  "SandwichCount": 4,
  "VegetarianCount": 5,
  "VeganCount": 6,
  "GlutenFreeCount": 7,
  "IncludeDrinks": true,
  "IncludeCookies": true,
  "IncludeChips": true,
  "CellId": "sample string 11",
  "LastUpdated": 12,
  "VariantId": 13,
  "Variants": [
    {
      "VariantId": 1,
      "Name": "sample string 2"
    },
    {
      "VariantId": 1,
      "Name": "sample string 2"
    }
  ]
}

text/html

Sample:
{"TotalCount":1,"Meal":"sample string 2","IsBoxes":true,"SandwichCount":4,"VegetarianCount":5,"VeganCount":6,"GlutenFreeCount":7,"IncludeDrinks":true,"IncludeCookies":true,"IncludeChips":true,"CellId":"sample string 11","LastUpdated":12,"VariantId":13,"Variants":[{"VariantId":1,"Name":"sample string 2"},{"VariantId":1,"Name":"sample string 2"}]}

application/xml, text/xml

Sample:
<CateringAssistantGetSuggestedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO.Request">
  <CellId>sample string 11</CellId>
  <GlutenFreeCount>7</GlutenFreeCount>
  <IncludeChips>true</IncludeChips>
  <IncludeCookies>true</IncludeCookies>
  <IncludeDrinks>true</IncludeDrinks>
  <IsBoxes>true</IsBoxes>
  <LastUpdated>12</LastUpdated>
  <Meal>sample string 2</Meal>
  <SandwichCount>4</SandwichCount>
  <TotalCount>1</TotalCount>
  <VariantId>13</VariantId>
  <Variants>
    <CateringAssistantVariant>
      <Name>sample string 2</Name>
      <VariantId>1</VariantId>
    </CateringAssistantVariant>
    <CateringAssistantVariant>
      <Name>sample string 2</Name>
      <VariantId>1</VariantId>
    </CateringAssistantVariant>
  </Variants>
  <VeganCount>6</VeganCount>
  <VegetarianCount>5</VegetarianCount>
</CateringAssistantGetSuggestedRequest>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.