GET api/Village/{village}/Wellness
Gets the latest wellness check
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
village | string |
None. |
Body Parameters
None.
Response Information
Resource Description
WellnessHistoryModelName | Description | Type | Additional 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": "b7458826-e2e2-44f3-bd80-61d73ad0f5b9", "VillageId": "82cda1b7-b8b8-41bc-af9d-b9fae3c4f4f0", "PerformedById": "318c2555-00e1-47fe-ac7b-67ef19c12f71", "PerformedBy": "sample string 4", "Wellness": 0, "Comment": "sample string 5", "DateTime": "2025-06-03T05:05:59.406+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-03T05:05:59.4060787+00:00</DateTime> <PerformedBy>sample string 4</PerformedBy> <PerformedById>318c2555-00e1-47fe-ac7b-67ef19c12f71</PerformedById> <VillageId>82cda1b7-b8b8-41bc-af9d-b9fae3c4f4f0</VillageId> <Wellness>Good</Wellness> <WellnessId>b7458826-e2e2-44f3-bd80-61d73ad0f5b9</WellnessId> </WellnessHistoryModel>