POST PlanCare2Api/ClientAttentions/ClientAttention
Create a new client attention.
Request Information
URI Parameters
None.
Body Parameters
The client attention to create.
ClientAttention| Name | Description | Type | Additional information |
|---|---|---|---|
| ClientAttentionId |
The Id of the attention |
integer |
None |
| ClientId |
The Id of the client |
integer |
None |
| Description |
The description of the attention |
string |
None |
| StartDate |
The start date |
date |
None |
| EndDate |
The end date |
date |
None |
| CreatedByUsername |
The name of the relation that created the attention |
string |
None |
Request Formats
application/json, text/json
Sample:
{
"ClientAttentionId": 1,
"ClientId": 2,
"Description": "sample string 3",
"StartDate": "2026-05-26T23:13:59.0255197+02:00",
"EndDate": "2026-05-26T23:13:59.0255197+02:00",
"CreatedByUsername": "sample string 5"
}
application/xml, text/xml
Sample:
<ClientAttention xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface"> <ClientAttentionId>1</ClientAttentionId> <ClientId>2</ClientId> <CreatedByUsername>sample string 5</CreatedByUsername> <Description>sample string 3</Description> <EndDate>2026-05-26T23:13:59.0255197+02:00</EndDate> <StartDate>2026-05-26T23:13:59.0255197+02:00</StartDate> </ClientAttention>
Response Information
Resource Description
Returns the HttpResponseMessage which contains the saved client attention instance.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None |
|
| Content | HttpContent |
None |
|
| StatusCode | HttpStatusCode |
None |
|
| ReasonPhrase | string |
None |
|
| Headers | Collection of Object |
None |
|
| RequestMessage | HttpRequestMessage |
None |
|
| IsSuccessStatusCode | boolean |
None |