POST PlanCare2Api/ClientplansV2/ChangeOfClientplanV2

Updates an existing clientplanV2

Requires 'Edit' permission for function ClientPlanOverview {7757BB23-A132-438A-9601-28E6BF9E4CA7}

Request Information

URI Parameters

None.

Body Parameters

The clientplan to update

ChangeOfClientplanV2
Name Description Type Additional information
Id

The id of the clientplan to change.

integer

Required

Name

The name of the clientplan.

string

-

StartDate

The date on which the clientplan takes effect.

date

-

ResponsibleEmployeeId

The responsible employee of the clientplan.

Identity

-

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "StartDate": "2026-05-26T21:09:30.8280952+02:00",
  "ResponsibleEmployeeId": {
    "$id": "2",
    "Identifier": "sample string 1",
    "Type": 0
  }
}

application/xml, text/xml

Sample:
<ChangeOfClientplanV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Clientplan">
  <Id>1</Id>
  <Name>sample string 2</Name>
  <ResponsibleEmployeeId xmlns:d2p1="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Common.Infrastructure">
    <d2p1:Identifier>sample string 1</d2p1:Identifier>
    <d2p1:Type>ExternalId</d2p1:Type>
  </ResponsibleEmployeeId>
  <StartDate>2026-05-26T21:09:30.8280952+02:00</StartDate>
</ChangeOfClientplanV2>

Response Information

Resource Description

Returns the HttpResponseMessage which contains the updated clientplan instance

HttpResponseMessage
Name Description Type Additional information
Version

Version

-

Content

HttpContent

-

StatusCode

HttpStatusCode

-

ReasonPhrase

string

-

Headers

Collection of Object

-

RequestMessage

HttpRequestMessage

-

IsSuccessStatusCode

boolean

-