DELETE api/Village/{village}/Medication/{id}/Taken
Unlog 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": "c8c29edc-cae0-4f84-8c24-2f424556b6f1", "Taken": "2025-06-03T05:57:11.146+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>c8c29edc-cae0-4f84-8c24-2f424556b6f1</Id> <Taken>2025-06-03T05:57:11.1468482+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>