POST api/CanteenMenuClass/saveOrUpdateCanteenMenuComment
Request Information
URI Parameters
None.
Body Parameters
CreateMenuCommentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CanteenMenuClassId | integer |
None. |
|
| ArrMenuComment | Collection of TypeMenuCommentModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"CanteenMenuClassId": 1,
"ArrMenuComment": [
{
"TypeMenuId": 1,
"TypeMenuName": "sample string 2",
"Comment": "sample string 3",
"AttachFile": "sample string 4",
"StudentId": 5
},
{
"TypeMenuId": 1,
"TypeMenuName": "sample string 2",
"Comment": "sample string 3",
"AttachFile": "sample string 4",
"StudentId": 5
}
]
}
application/xml, text/xml
Sample:
<CreateMenuCommentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Bus.Model">
<ArrMenuComment>
<TypeMenuCommentModel>
<AttachFile>sample string 4</AttachFile>
<Comment>sample string 3</Comment>
<StudentId>5</StudentId>
<TypeMenuId>1</TypeMenuId>
<TypeMenuName>sample string 2</TypeMenuName>
</TypeMenuCommentModel>
<TypeMenuCommentModel>
<AttachFile>sample string 4</AttachFile>
<Comment>sample string 3</Comment>
<StudentId>5</StudentId>
<TypeMenuId>1</TypeMenuId>
<TypeMenuName>sample string 2</TypeMenuName>
</TypeMenuCommentModel>
</ArrMenuComment>
<CanteenMenuClassId>1</CanteenMenuClassId>
</CreateMenuCommentModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />