PUT api/Village/{village}/Medication/{id}/Taken
Log a medication as taken
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
village | string |
None. |
|
id | string |
None. |
Body Parameters
MedicationTakenModelName | Description | Type | Additional information |
---|---|---|---|
Id |
ID of the Medication |
globally unique identifier |
None. |
Taken |
DateTime (UTC) the medication was taken |
date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "0f6cbaf4-a5ab-49ed-a951-94904dcd2fc1", "Taken": "2025-06-03T05:53:22.708+00:00" }
application/xml, text/xml
Sample:
<MedicationTakenModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.Shared.Implementation.Models"> <Id>0f6cbaf4-a5ab-49ed-a951-94904dcd2fc1</Id> <Taken>2025-06-03T05:53:22.7086824+00:00</Taken> </MedicationTakenModel>
multipart/form-data
Sample:
Response Information
Resource Description
PrimitiveOfBooleanName | Description | Type | Additional information |
---|---|---|---|
value | boolean |
Required |
Response Formats
application/json, text/json
Sample:
{ "value": true }
application/xml, text/xml
Sample:
<PrimitiveOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaringVillage.API.Models"> <value>true</value> </PrimitiveOfboolean>