POST Api/DailyClassAdministration/AddUpdateMealsServed
Request Information
URI Parameters
None.
Body Parameters
DailyMealsSubmitRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentId | integer |
None. |
|
| ClassRoom | string |
None. |
|
| MealDate | date |
None. |
|
| HaveBreakFast | integer |
None. |
|
| HaveLunch | integer |
None. |
|
| AdditionalBreakFastCost | decimal number |
None. |
|
| AdditionalLunchCost | decimal number |
None. |
|
| PercentAteLunch | decimal number |
None. |
|
| PercentDrankLunch | decimal number |
None. |
|
| PercentDrankBreakfast | decimal number |
None. |
|
| PercentAteBreakfast | decimal number |
None. |
|
| CampusName | string |
None. |
|
| UserID | string |
None. |
|
| DeviceID | string |
None. |
|
| DeviceOS | string |
None. |
|
| Version | string |
None. |
|
| accessToken | string |
Required Matching regular expression pattern: ^a4768b1a-b5c1-4561-86e7-324b8a368354$ |
Request Formats
application/json, text/json
Sample:
{
"StudentId": 1,
"ClassRoom": "sample string 2",
"MealDate": "2025-12-13T01:11:06.4731354-05:00",
"HaveBreakFast": 4,
"HaveLunch": 5,
"AdditionalBreakFastCost": 6.0,
"AdditionalLunchCost": 7.0,
"PercentAteLunch": 8.0,
"PercentDrankLunch": 9.0,
"PercentDrankBreakfast": 10.0,
"PercentAteBreakfast": 11.0,
"CampusName": "sample string 12",
"UserID": "sample string 13",
"DeviceID": "sample string 14",
"DeviceOS": "sample string 15",
"Version": "sample string 16",
"accessToken": "sample string 17"
}
text/html
Sample:
{"StudentId":1,"ClassRoom":"sample string 2","MealDate":"2025-12-13T01:11:06.4731354-05:00","HaveBreakFast":4,"HaveLunch":5,"AdditionalBreakFastCost":6.0,"AdditionalLunchCost":7.0,"PercentAteLunch":8.0,"PercentDrankLunch":9.0,"PercentDrankBreakfast":10.0,"PercentAteBreakfast":11.0,"CampusName":"sample string 12","UserID":"sample string 13","DeviceID":"sample string 14","DeviceOS":"sample string 15","Version":"sample string 16","accessToken":"sample string 17"}
application/xml, text/xml
Sample:
<DailyMealsSubmitRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model"> <CampusName>sample string 12</CampusName> <DeviceID>sample string 14</DeviceID> <DeviceOS>sample string 15</DeviceOS> <UserID>sample string 13</UserID> <Version>sample string 16</Version> <accessToken>sample string 17</accessToken> <AdditionalBreakFastCost>6</AdditionalBreakFastCost> <AdditionalLunchCost>7</AdditionalLunchCost> <ClassRoom>sample string 2</ClassRoom> <HaveBreakFast>4</HaveBreakFast> <HaveLunch>5</HaveLunch> <MealDate>2025-12-13T01:11:06.4731354-05:00</MealDate> <PercentAteBreakfast>11</PercentAteBreakfast> <PercentAteLunch>8</PercentAteLunch> <PercentDrankBreakfast>10</PercentDrankBreakfast> <PercentDrankLunch>9</PercentDrankLunch> <StudentId>1</StudentId> </DailyMealsSubmitRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ErrorMessage | Collection of string |
None. |
|
| SuccessMessage | string |
None. |
|
| Id | integer |
None. |
|
| PrimaryId | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ErrorMessage": [
"sample string 1",
"sample string 2"
],
"SuccessMessage": "sample string 2",
"Id": 3,
"PrimaryId": 4.0
}
text/html
Sample:
{"Success":true,"ErrorMessage":["sample string 1","sample string 2"],"SuccessMessage":"sample string 2","Id":3,"PrimaryId":4.0}
application/xml, text/xml
Sample:
<ReturnResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParadigmPioneer.Core.Model">
<ErrorMessage xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorMessage>
<Id>3</Id>
<PrimaryId>4</PrimaryId>
<Success>true</Success>
<SuccessMessage>sample string 2</SuccessMessage>
</ReturnResult>