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

Name Description Type Additional information
relationId

Id of relation.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Notes.

Collection of RelationNoteSummary
Name Description Type Additional information
Id

The internal id of the note

integer

-

Type

Type of the note

RelationNoteType

-

RelationId

The internal id of the relation

integer

-

RelationById

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

integer

-

Date

The date of the note

date

-

Text

The text of the note

string

-

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "Id": 1,
    "Type": {
      "$id": "2",
      "Guid": "a9cf2dbe-a147-49d6-817c-f42e0f9d5f56",
      "Text": "sample string 2"
    },
    "RelationId": 2,
    "RelationById": 3,
    "Date": "2026-05-26T23:17:21.4193226+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:17:21.4193226+02:00</Date>
    <Id>1</Id>
    <RelationById>3</RelationById>
    <RelationId>2</RelationId>
    <Text>sample string 5</Text>
    <Type>
      <Guid>a9cf2dbe-a147-49d6-817c-f42e0f9d5f56</Guid>
      <Text>sample string 2</Text>
    </Type>
  </RelationNoteSummary>
  <RelationNoteSummary>
    <Date>2026-05-26T23:17:21.4193226+02:00</Date>
    <Id>1</Id>
    <RelationById>3</RelationById>
    <RelationId>2</RelationId>
    <Text>sample string 5</Text>
    <Type>
      <Guid>a9cf2dbe-a147-49d6-817c-f42e0f9d5f56</Guid>
      <Text>sample string 2</Text>
    </Type>
  </RelationNoteSummary>
</ArrayOfRelationNoteSummary>