GET PlanCare2Api/ClientAttentions?clientId={clientId}
Retrieve all attentions for the selected client.
Requires 'Start' permission for function ClientCard {79A91D2E-1D0D-4B25-B5DF-0D420DFA4876}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId |
The client for whom to fetch the attentions. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of attentions.
Collection of ClientAttention| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientAttentionId |
The Id of the attention |
integer |
- |
| ClientId |
The Id of the client |
integer |
- |
| Description |
The description of the attention |
string |
- |
| StartDate |
The start date |
date |
- |
| EndDate |
The end date |
date |
Nullable |
| CreatedByUsername |
The name of the relation that created the attention |
string |
- |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"ClientAttentionId": 1,
"ClientId": 2,
"Description": "sample string 3",
"StartDate": "2026-05-26T21:09:41.1415356+02:00",
"EndDate": "2026-05-26T21:09:41.1415356+02:00",
"CreatedByUsername": "sample string 5"
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfClientAttention xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface">
<ClientAttention>
<ClientAttentionId>1</ClientAttentionId>
<ClientId>2</ClientId>
<CreatedByUsername>sample string 5</CreatedByUsername>
<Description>sample string 3</Description>
<EndDate>2026-05-26T21:09:41.1415356+02:00</EndDate>
<StartDate>2026-05-26T21:09:41.1415356+02:00</StartDate>
</ClientAttention>
<ClientAttention>
<ClientAttentionId>1</ClientAttentionId>
<ClientId>2</ClientId>
<CreatedByUsername>sample string 5</CreatedByUsername>
<Description>sample string 3</Description>
<EndDate>2026-05-26T21:09:41.1415356+02:00</EndDate>
<StartDate>2026-05-26T21:09:41.1415356+02:00</StartDate>
</ClientAttention>
</ArrayOfClientAttention>