POST api/MBProgress/AddUserDietAd
Request Information
URI Parameters
None.
Body Parameters
Collection of Progress_UserDietAdNew| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
Required |
|
| UserUUID | string |
Required Max length: -1 |
|
| DietDate | date |
None. |
|
| UploadedImagePath | string |
Max length: -1 |
|
| UploadedImageName | string |
Max length: -1 |
|
| food_id | integer |
None. |
|
| MeasurmentUnitId | integer |
None. |
|
| FoodCategoryId | integer |
None. |
|
| meal_id | integer |
None. |
|
| Calories | decimal number |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | string |
Required Max length: 50 |
|
| ModifiedOn | date |
None. |
|
| ModifiedBy | string |
Max length: 50 |
|
| quantity | integer |
None. |
|
| Total_Calories | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"UserId": 1,
"UserUUID": "sample string 2",
"DietDate": "2025-10-25T01:21:49.3818356+05:30",
"UploadedImagePath": "sample string 3",
"UploadedImageName": "sample string 4",
"food_id": 5,
"MeasurmentUnitId": 6,
"FoodCategoryId": 7,
"meal_id": 8,
"Calories": 9.1,
"IsActive": true,
"CreatedOn": "2025-10-25T01:21:49.3818356+05:30",
"CreatedBy": "sample string 10",
"ModifiedOn": "2025-10-25T01:21:49.3818356+05:30",
"ModifiedBy": "sample string 11",
"quantity": 12,
"Total_Calories": 13.1
},
{
"Id": 1,
"UserId": 1,
"UserUUID": "sample string 2",
"DietDate": "2025-10-25T01:21:49.3818356+05:30",
"UploadedImagePath": "sample string 3",
"UploadedImageName": "sample string 4",
"food_id": 5,
"MeasurmentUnitId": 6,
"FoodCategoryId": 7,
"meal_id": 8,
"Calories": 9.1,
"IsActive": true,
"CreatedOn": "2025-10-25T01:21:49.3818356+05:30",
"CreatedBy": "sample string 10",
"ModifiedOn": "2025-10-25T01:21:49.3818356+05:30",
"ModifiedBy": "sample string 11",
"quantity": 12,
"Total_Calories": 13.1
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.