POST api/FoodAdds?Status={Status}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Status

boolean

Required

Body Parameters

Collection of FoodAdd
NameDescriptionTypeAdditional 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:56:26.5351814+05:30",
    "Enddate": "2026-04-22T15:56:26.5351814+05:30",
    "Set_Goals": true,
    "Status": true,
    "PatientId": 1
  },
  {
    "F_Id": 1,
    "MobileNumber": "sample string 2",
    "Heading": "sample string 3",
    "Contents": "sample string 4",
    "Path": "sample string 5",
    "Startdate": "2026-04-22T15:56:26.5351814+05:30",
    "Enddate": "2026-04-22T15:56:26.5351814+05:30",
    "Set_Goals": true,
    "Status": true,
    "PatientId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfFoodAdd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Parihaar.Repositories.Core.Model">
  <FoodAdd>
    <Contents>sample string 4</Contents>
    <Enddate>2026-04-22T15:56:26.5351814+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:56:26.5351814+05:30</Startdate>
    <Status>true</Status>
  </FoodAdd>
  <FoodAdd>
    <Contents>sample string 4</Contents>
    <Enddate>2026-04-22T15:56:26.5351814+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:56:26.5351814+05:30</Startdate>
    <Status>true</Status>
  </FoodAdd>
</ArrayOfFoodAdd>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FoodAdd
NameDescriptionTypeAdditional 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.

Response 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:56:26.5351814+05:30",
  "Enddate": "2026-04-22T15:56:26.5351814+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:56:26.5351814+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:56:26.5351814+05:30</Startdate>
  <Status>true</Status>
</FoodAdd>