POST PlanCare2Api/MedicalLivingWillPolicy/Update
Update MedicalLivingWillPolicy.
Relation(s) must be of the following type: Client
Requires 'Edit' permission for function MedicalLivingWillPolicy {2CC5682E-9A1F-4324-B6B6-62E537A55C93}
Request Information
URI Parameters
None.
Body Parameters
MedicalLivingWillPolicy.
MedicalLivingWillPolicy| Name | Description | Type | Additional information |
|---|---|---|---|
| MedicalCodeLivingWillPolicyId |
Id of MedicalCodeLivingWillPolicy (MedicalCodeListType.LivingWillPolicy). |
globally unique identifier |
None |
| Remarks |
Remarks. |
string |
None |
| Id |
Id of the registration. |
integer |
None |
| RelationId |
Id of the relation which the registration belongs to. |
integer |
Required |
| RegistrationDateTime |
DateTime of measurement. |
date |
Required |
| Source |
Source of registration (example: name of the questionnaire). |
string |
None |
Request Formats
application/json, text/json
Sample:
{
"MedicalCodeLivingWillPolicyId": "fd5028c7-0033-4a09-830a-919341322e1e",
"Remarks": "sample string 2",
"Id": 3,
"RelationId": 4,
"RegistrationDateTime": "2026-05-26T22:07:59.8006902+02:00",
"Source": "sample string 6"
}
application/xml, text/xml
Sample:
<MedicalLivingWillPolicy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical"> <Id>3</Id> <RegistrationDateTime>2026-05-26T22:07:59.8006902+02:00</RegistrationDateTime> <RelationId>4</RelationId> <Source>sample string 6</Source> <MedicalCodeLivingWillPolicyId>fd5028c7-0033-4a09-830a-919341322e1e</MedicalCodeLivingWillPolicyId> <Remarks>sample string 2</Remarks> </MedicalLivingWillPolicy>
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None |
|
| Content | HttpContent |
None |
|
| StatusCode | HttpStatusCode |
None |
|
| ReasonPhrase | string |
None |
|
| Headers | Collection of Object |
None |
|
| RequestMessage | HttpRequestMessage |
None |
|
| IsSuccessStatusCode | boolean |
None |