HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/ScheduledMenusReportRequest HTTP/1.1
Host: api.kidkare.com
Content-Type: application/xml
Content-Length: length
<ScheduledMenusReportRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KidKare.Api.Requests.Reports">
<DateFrom>0001-01-01T00:00:00</DateFrom>
<DateTo>0001-01-01T00:00:00</DateTo>
<IsInfant>false</IsInfant>
</ScheduledMenusReportRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ScheduledMenusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KidKare.Bll.Report.Models">
<ProviderName>String</ProviderName>
<Weeks>
<ScheduledMenusWeekTable>
<Heads xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:dateTime>0001-01-01T00:00:00</d4p1:dateTime>
</Heads>
<Rows>
<MealTypeMenus>
<Cols>
<DailyMenu>
<Date>0001-01-01T00:00:00</Date>
<DayOfWeek>Sunday</DayOfWeek>
<Menus>
<SingleMenu>
<AgeGroup>Unspecified</AgeGroup>
<Components>
<FoodReportMealComponent>
<ComponentId>0</ComponentId>
<ComponentType>Unknown</ComponentType>
<IsInfant>false</IsInfant>
<IsWholeGrain>false</IsWholeGrain>
<Name>String</Name>
</FoodReportMealComponent>
</Components>
<MenuName>String</MenuName>
</SingleMenu>
</Menus>
</DailyMenu>
</Cols>
<MealType>Unspecified</MealType>
</MealTypeMenus>
</Rows>
</ScheduledMenusWeekTable>
</Weeks>
</ScheduledMenusResponse>