POST api/Teacher/SaveOrUpdateBMI
Request Information
URI Parameters
None.
Body Parameters
RequestSaveOrUpdateBMI| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentId | integer |
None. |
|
| Id | integer |
None. |
|
| Height | decimal number |
None. |
|
| Weight | decimal number |
None. |
|
| BMI | decimal number |
None. |
|
| Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StudentId": 1,
"Id": 2,
"Height": 3.1,
"Weight": 4.1,
"BMI": 5.1,
"Notes": "sample string 6"
}
application/xml, text/xml
Sample:
<TeacherModels.RequestSaveOrUpdateBMI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EBM.Portal.Api.Models"> <BMI>5.1</BMI> <Height>3.1</Height> <Id>2</Id> <Notes>sample string 6</Notes> <StudentId>1</StudentId> <Weight>4.1</Weight> </TeacherModels.RequestSaveOrUpdateBMI>
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/" />