POST PlanCare2Api/MedicalEuthanasiaPolicy
Insert MedicalEuthanasiaPolicy.
Relation(s) can be of the following types: Client, Prospect
Requires 'Insert' permission for function MedicalEuthanasiaPolicy {73FF2474-38B8-441D-B20A-27C77F351338}
Request Information
URI Parameters
None.
Body Parameters
MedicalEuthanasiaPolicy.
MedicalEuthanasiaPolicy| Name | Description | Type | Additional information |
|---|---|---|---|
| MedicalCodeEuthanasiaPolicyId |
Id of MedicalCodeEuthanasiaPolicy (MedicalCodeListType.EuthanasiaPolicy). |
globally unique identifier |
- |
| Remarks |
Remarks. |
string |
- |
| Id |
Id of the registration. |
integer |
- |
| 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 |
- |
Request Formats
application/json, text/json
Sample:
{
"MedicalCodeEuthanasiaPolicyId": "9c52aabb-03a9-4d48-aef9-972cdc731f29",
"Remarks": "sample string 2",
"Id": 3,
"RelationId": 4,
"RegistrationDateTime": "2026-05-26T21:11:38.442378+02:00",
"Source": "sample string 6"
}
application/xml, text/xml
Sample:
<MedicalEuthanasiaPolicy 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-26T21:11:38.442378+02:00</RegistrationDateTime> <RelationId>4</RelationId> <Source>sample string 6</Source> <MedicalCodeEuthanasiaPolicyId>9c52aabb-03a9-4d48-aef9-972cdc731f29</MedicalCodeEuthanasiaPolicyId> <Remarks>sample string 2</Remarks> </MedicalEuthanasiaPolicy>
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
- |
|
| Content | HttpContent |
- |
|
| StatusCode | HttpStatusCode |
- |
|
| ReasonPhrase | string |
- |
|
| Headers | Collection of Object |
- |
|
| RequestMessage | HttpRequestMessage |
- |
|
| IsSuccessStatusCode | boolean |
- |