GET PlanCare2Api/Relations/{relationId}/Notes

Get the notes by relation Id

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

Requires 'Start' permission for function Notes {29EDAA20-4561-4B98-846B-4AF0F7E3FA93}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
relationId

relation identifier

integer

Required

Body Parameters

None.

Response Information

Resource Description

The list of Notes by relation

Collection of Note
NameDescriptionTypeAdditional information
Id

The internal id of the note

integer

None.

Type

Type of the note

NoteType

None.

RelationId

The internal id of the relation

integer

None.

RelationById

The internal id of the relation whom added/mutated the note

integer

None.

Date

The date of the note

date

None.

Text

The text of the note

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "Type": {
      "$id": "2",
      "Guid": "0792058c-d85a-4a22-97fb-fb961e831724",
      "Text": "sample string 2"
    },
    "RelationId": 2,
    "RelationById": 3,
    "Date": "2026-05-26T22:07:31.9096483+02:00",
    "Text": "sample string 5"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNote xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Relation">
  <Note>
    <Date>2026-05-26T22:07:31.9096483+02:00</Date>
    <Id>1</Id>
    <RelationById>3</RelationById>
    <RelationId>2</RelationId>
    <Text>sample string 5</Text>
    <Type>
      <Guid>0792058c-d85a-4a22-97fb-fb961e831724</Guid>
      <Text>sample string 2</Text>
    </Type>
  </Note>
  <Note>
    <Date>2026-05-26T22:07:31.9096483+02:00</Date>
    <Id>1</Id>
    <RelationById>3</RelationById>
    <RelationId>2</RelationId>
    <Text>sample string 5</Text>
    <Type>
      <Guid>0792058c-d85a-4a22-97fb-fb961e831724</Guid>
      <Text>sample string 2</Text>
    </Type>
  </Note>
</ArrayOfNote>