GET PlanCare2Api/Relations/{relationId}/Notes

Get notes by relation.

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

Id of relation.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Notes.

Collection of RelationNoteSummary
NameDescriptionTypeAdditional information
Id

The internal id of the note

integer

None

Type

Type of the note

RelationNoteType

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": "b8ec5f84-3af9-4c62-a99e-68c0e0b99a99",
      "Text": "sample string 2"
    },
    "RelationId": 2,
    "RelationById": 3,
    "Date": "2026-05-26T23:13:09.8062704+02:00",
    "Text": "sample string 5"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfRelationNoteSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Relation">
  <RelationNoteSummary>
    <Date>2026-05-26T23:13:09.8062704+02:00</Date>
    <Id>1</Id>
    <RelationById>3</RelationById>
    <RelationId>2</RelationId>
    <Text>sample string 5</Text>
    <Type>
      <Guid>b8ec5f84-3af9-4c62-a99e-68c0e0b99a99</Guid>
      <Text>sample string 2</Text>
    </Type>
  </RelationNoteSummary>
  <RelationNoteSummary>
    <Date>2026-05-26T23:13:09.8062704+02:00</Date>
    <Id>1</Id>
    <RelationById>3</RelationById>
    <RelationId>2</RelationId>
    <Text>sample string 5</Text>
    <Type>
      <Guid>b8ec5f84-3af9-4c62-a99e-68c0e0b99a99</Guid>
      <Text>sample string 2</Text>
    </Type>
  </RelationNoteSummary>
</ArrayOfRelationNoteSummary>