POST api/HealthMonitoring/setFoodInTake

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
foodIntake
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "FoodInTakeType": 1,
  "collection": [
    {
      "$id": "2",
      "FoodName": "sample string 1",
      "count": 2,
      "calories": 3,
      "TotalCalories": 4,
      "Type": 5,
      "isFavourite": true,
      "FoodId": "sample string 7",
      "FoodInTakeDate": "sample string 8"
    },
    {
      "$ref": "2"
    },
    {
      "$ref": "2"
    }
  ],
  "FoodIntakeDate": "sample string 2",
  "product_code": "sample string 3",
  "msg": "sample string 4",
  "status": true,
  "C1": "sample string 6"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FoodIntakeCollection'.