POST api/GetMealTypesForFulfillment
Request Information
URI Parameters
None.
Body Parameters
MealTypeRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SchoolId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"SchoolId": "7d60fcfc-d21e-414f-886b-38b28150710e"
}
application/xml, text/xml
Sample:
<MealTypeRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.Menu"> <SchoolId>7d60fcfc-d21e-414f-886b-38b28150710e</SchoolId> </MealTypeRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of MealTypeResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| MealTypeId | integer |
None. |
|
| MealTypeDescription | string |
None. |
|
| StartTime | string |
None. |
|
| EndTime | string |
None. |
|
| SchoolId | globally unique identifier |
None. |
|
| CutOffTime | time interval |
None. |
|
| IsOrderable | boolean |
None. |
|
| DayCheck | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"MealTypeId": 1,
"MealTypeDescription": "sample string 2",
"StartTime": "sample string 3",
"EndTime": "sample string 4",
"SchoolId": "70532fd2-3f61-4603-a0f1-e4e49c16ca71",
"CutOffTime": "00:00:00.1234567",
"IsOrderable": true,
"DayCheck": true
},
{
"MealTypeId": 1,
"MealTypeDescription": "sample string 2",
"StartTime": "sample string 3",
"EndTime": "sample string 4",
"SchoolId": "70532fd2-3f61-4603-a0f1-e4e49c16ca71",
"CutOffTime": "00:00:00.1234567",
"IsOrderable": true,
"DayCheck": true
}
]
application/xml, text/xml
Sample:
<ArrayOfMealTypeResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cybersoft.Primero.OnlineFRE.APIs.Models.Menu">
<MealTypeResponseModel>
<CutOffTime>PT0.1234567S</CutOffTime>
<DayCheck>true</DayCheck>
<EndTime>sample string 4</EndTime>
<IsOrderable>true</IsOrderable>
<MealTypeDescription>sample string 2</MealTypeDescription>
<MealTypeId>1</MealTypeId>
<SchoolId>70532fd2-3f61-4603-a0f1-e4e49c16ca71</SchoolId>
<StartTime>sample string 3</StartTime>
</MealTypeResponseModel>
<MealTypeResponseModel>
<CutOffTime>PT0.1234567S</CutOffTime>
<DayCheck>true</DayCheck>
<EndTime>sample string 4</EndTime>
<IsOrderable>true</IsOrderable>
<MealTypeDescription>sample string 2</MealTypeDescription>
<MealTypeId>1</MealTypeId>
<SchoolId>70532fd2-3f61-4603-a0f1-e4e49c16ca71</SchoolId>
<StartTime>sample string 3</StartTime>
</MealTypeResponseModel>
</ArrayOfMealTypeResponseModel>