POST api/FoodCalorie/GetFoodCalorie
Request Information
URI Parameters
None.
Body Parameters
ClsFoodCalorie| Name | Description | Type | Additional information |
|---|---|---|---|
| food_calorie_id | integer |
None. |
|
| food_name | string |
None. |
|
| quantity | string |
None. |
|
| measurement | string |
None. |
|
| energy | decimal number |
None. |
|
| protein | decimal number |
None. |
|
| fat | decimal number |
None. |
|
| cholesterol | decimal number |
None. |
|
| calcium | decimal number |
None. |
|
| iron | decimal number |
None. |
|
| sodium | decimal number |
None. |
|
| potasium | decimal number |
None. |
|
| vitaminA | decimal number |
None. |
|
| vitaminC | decimal number |
None. |
|
| thiamin | decimal number |
None. |
|
| status | string |
None. |
|
| Dml_Indicator | string |
None. |
|
| StringResult | string |
None. |
|
| StringMsg | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"food_calorie_id": 1,
"food_name": "sample string 2",
"quantity": "sample string 3",
"measurement": "sample string 4",
"energy": 5.0,
"protein": 6.0,
"fat": 7.0,
"cholesterol": 8.0,
"calcium": 9.0,
"iron": 10.0,
"sodium": 11.0,
"potasium": 12.0,
"vitaminA": 13.0,
"vitaminC": 14.0,
"thiamin": 15.0,
"status": "sample string 16",
"Dml_Indicator": "sample string 17",
"StringResult": "sample string 18",
"StringMsg": "sample string 19"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |