PUT api/FoodAdds/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
FoodAdd| Name | Description | Type | Additional information |
|---|---|---|---|
| F_Id | integer |
None. |
|
| MobileNumber | string |
None. |
|
| Heading | string |
None. |
|
| Contents | string |
None. |
|
| Path | string |
None. |
|
| Startdate | date |
None. |
|
| Enddate | date |
None. |
|
| Set_Goals | boolean |
None. |
|
| Status | boolean |
None. |
|
| PatientId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"F_Id": 1,
"MobileNumber": "sample string 2",
"Heading": "sample string 3",
"Contents": "sample string 4",
"Path": "sample string 5",
"Startdate": "2026-04-22T15:59:18.6597492+05:30",
"Enddate": "2026-04-22T15:59:18.6597492+05:30",
"Set_Goals": true,
"Status": true,
"PatientId": 1
}
application/xml, text/xml
Sample:
<FoodAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parihaar.Repositories.Core.Model"> <Contents>sample string 4</Contents> <Enddate>2026-04-22T15:59:18.6597492+05:30</Enddate> <F_Id>1</F_Id> <Heading>sample string 3</Heading> <MobileNumber>sample string 2</MobileNumber> <Path>sample string 5</Path> <PatientId>1</PatientId> <Set_Goals>true</Set_Goals> <Startdate>2026-04-22T15:59:18.6597492+05:30</Startdate> <Status>true</Status> </FoodAdd>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.