POST api/Foods
Request Information
URI Parameters
None.
Body Parameters
Food| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Item | string |
None. |
|
| UnitId | integer |
None. |
|
| Calories | integer |
None. |
|
| MealId | integer |
None. |
|
| Serving | decimal number |
None. |
|
| DayFoods | Collection of DayFood |
None. |
|
| Meal | Meal |
None. |
|
| Unit | Unit |
None. |
Request Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
text/html
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.