GET PlanCare2Api/MedicalDonorPolicy?relationId={relationId}&registrationDateTimeFrom={registrationDateTimeFrom}&registrationDateTimeUntil={registrationDateTimeUntil}

Gets list of MedicalDonorPolicySummary of the specified relation.

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

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

Request Information

URI Parameters

Name Description Type Additional information
relationId

The id of the relation.

integer

Required

registrationDateTimeFrom

RegistrationDateTime filter from.

date

Nullable

registrationDateTimeUntil

RegistrationDateTime filter until.

date

Nullable

Body Parameters

None.

Response Information

Resource Description

List of MedicalDonorPolicySummary.

Collection of MedicalDonorPolicySummary
Name Description Type Additional information
MedicalCodeDonorPolicyDescription

Description of MedicalCodeDonorPolicy.

string

-

Remarks

Remarks.

string

-

Id

Id of the registration.

integer

-

RegistrationDateTime

DateTime of measurement.

date

-

Source

Source of registration (example: name of the questionnaire).

string

-

ChangedOn

DateTime when registration is last changed (read-only).

date

-

ChangedByRelationLookupName

LookupName of the relation who made the change (read-only).

string

-

TextValue

The compound value of the registration (read-only).

string

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "MedicalCodeDonorPolicyDescription": "sample string 1",
    "Remarks": "sample string 2",
    "Id": 3,
    "RegistrationDateTime": "2026-05-26T23:18:45.3643834+02:00",
    "Source": "sample string 5",
    "ChangedOn": "2026-05-26T23:18:45.3643834+02:00",
    "ChangedByRelationLookupName": "sample string 7",
    "TextValue": "sample string 8"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfMedicalDonorPolicySummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Medical">
  <MedicalDonorPolicySummary>
    <ChangedByRelationLookupName>sample string 7</ChangedByRelationLookupName>
    <ChangedOn>2026-05-26T23:18:45.3643834+02:00</ChangedOn>
    <Id>3</Id>
    <RegistrationDateTime>2026-05-26T23:18:45.3643834+02:00</RegistrationDateTime>
    <Source>sample string 5</Source>
    <TextValue>sample string 8</TextValue>
    <MedicalCodeDonorPolicyDescription>sample string 1</MedicalCodeDonorPolicyDescription>
    <Remarks>sample string 2</Remarks>
  </MedicalDonorPolicySummary>
  <MedicalDonorPolicySummary>
    <ChangedByRelationLookupName>sample string 7</ChangedByRelationLookupName>
    <ChangedOn>2026-05-26T23:18:45.3643834+02:00</ChangedOn>
    <Id>3</Id>
    <RegistrationDateTime>2026-05-26T23:18:45.3643834+02:00</RegistrationDateTime>
    <Source>sample string 5</Source>
    <TextValue>sample string 8</TextValue>
    <MedicalCodeDonorPolicyDescription>sample string 1</MedicalCodeDonorPolicyDescription>
    <Remarks>sample string 2</Remarks>
  </MedicalDonorPolicySummary>
</ArrayOfMedicalDonorPolicySummary>