POST PlanCare2Api/MedicalDonorPolicy

Insert MedicalDonorPolicy.

Relation(s) can be of the following types: Client, Prospect

Requires 'Insert' permission for function MedicalDonorPolicy {64C8B2BC-1858-4821-BCEE-2707E7FE44EE}

Request Information

URI Parameters

None.

Body Parameters

MedicalDonorPolicy.

MedicalDonorPolicy
Name Description Type Additional information
MedicalCodeDonorPolicyId

Id of MedicalCodeDonorPolicy (MedicalCodeListType.DonorPolicy).

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:
{
  "MedicalCodeDonorPolicyId": "377e0284-c7b7-463a-ac30-febf9f5719eb",
  "Remarks": "sample string 2",
  "Id": 3,
  "RelationId": 4,
  "RegistrationDateTime": "2026-05-26T22:09:08.1691326+02:00",
  "Source": "sample string 6"
}

application/xml, text/xml

Sample:
<MedicalDonorPolicy 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:09:08.1691326+02:00</RegistrationDateTime>
  <RelationId>4</RelationId>
  <Source>sample string 6</Source>
  <MedicalCodeDonorPolicyId>377e0284-c7b7-463a-ac30-febf9f5719eb</MedicalCodeDonorPolicyId>
  <Remarks>sample string 2</Remarks>
</MedicalDonorPolicy>

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

-