PUT api/Village/{village}/Wellness

Provide a new wellness check for the village

Request Information

URI Parameters

NameDescriptionTypeAdditional information
village

string

None.

Body Parameters

WellnessUpdateModel
NameDescriptionTypeAdditional information
Wellness

The care recipient's Wellness indicator as of this update

Wellness

None.

Comment

A user-supplied comment, if any

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Wellness": 0,
  "Comment": "sample string 1"
}

application/xml, text/xml

Sample:
<WellnessUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models">
  <Comment>sample string 1</Comment>
  <Wellness>Good</Wellness>
</WellnessUpdateModel>

multipart/form-data

Sample:

Failed to generate the sample for media type 'multipart/form-data'. Cannot use formatter 'MultipartMediaTypeFormatter' to write type 'WellnessUpdateModel'.

Response Information

Resource Description

WellnessHistoryModel
NameDescriptionTypeAdditional information
WellnessId

The unique ID of this wellness record

globally unique identifier

None.

VillageId

The Village's ID

globally unique identifier

None.

PerformedById

The ID of the user who performed this update

globally unique identifier

None.

PerformedBy

The name of the user who performed this update

string

None.

Wellness

The care recipient's Wellness indicator as of this update

Wellness

None.

Comment

A user-supplied comment, if any

string

None.

DateTime

The date/time this wellness update was created

date

None.

Response Formats

application/json, text/json

Sample:
{
  "WellnessId": "32a9abe6-2890-42da-9082-9262c456f9f7",
  "VillageId": "ef332302-1094-42e6-8cab-37386923146b",
  "PerformedById": "246c5fd4-8e9a-4434-abbd-a9e1d2941f6a",
  "PerformedBy": "sample string 4",
  "Wellness": 0,
  "Comment": "sample string 5",
  "DateTime": "2025-06-03T04:59:37.918+00:00"
}

application/xml, text/xml

Sample:
<WellnessHistoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models">
  <Comment>sample string 5</Comment>
  <DateTime>2025-06-03T04:59:37.9183107+00:00</DateTime>
  <PerformedBy>sample string 4</PerformedBy>
  <PerformedById>246c5fd4-8e9a-4434-abbd-a9e1d2941f6a</PerformedById>
  <VillageId>ef332302-1094-42e6-8cab-37386923146b</VillageId>
  <Wellness>Good</Wellness>
  <WellnessId>32a9abe6-2890-42da-9082-9262c456f9f7</WellnessId>
</WellnessHistoryModel>