POST PlanCare2Api/ClientplansV2

Saves a new clientplan

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

Request Information

URI Parameters

None.

Body Parameters

The clientplan to save

ClientplanV2
NameDescriptionTypeAdditional information
BasicInformationInfo

The basic information part of the clientplan. For read-only purposes only.

ClientplanPartInfo

None

QuestionnaireInfo

The questionnaire information part of the clientplan. For read-only purposes only.

ClientplanPartInfo

None

CareplanInfo

The careplan information part of the clientplan. For read-only purposes only.

ClientplanPartInfo

None

OmahaSystemInfo

The Omaha System information part of the clientplan. For read-only purposes only.

ClientplanPartInfo

None

AgreementsInfo

The agreements information part of the clientplan. For read-only purposes only.

ClientplanPartInfo

None

PrimaryCareInfo

The primary care part of the clientplan. For read-only purposes only.

ClientplanPartInfo

None

InvoluntaryCareInfo

The involuntary care part of the clientplan. For read-only purposes only.

ClientplanPartInfo

None

WorkplanInfo

The workplan information part of the clientplan. For read-only purposes only.

ClientplanPartInfo

None

Id

The internal id of the clientplan.

integer

None

ClientId

The internal id of the client.

Identity

Required

StartDate

The date on which the clientplan takes effect.

date

Required

EndDate

The date on which the clientplan will end or was ended.

date

None

CareDemandsRequired

Determines if CareDemands must be used when creating goals.

boolean

None

SectorName

The name of the sector. For read-only purposes only.

string

None

Name

The name of the clientplan.

string

Required

TypeId

The id of the type of the clientplan.

integer

Required

VisionModelName

The name of the vision model. For read-only purposes only.

string

None

ResponsibleEmployeeName

The name of the responsible employee. For read-only purposes only.

string

None

SectorId

The id of the sector of the clientplan.

integer

Required

VisionModelId

The id of the vision model of the clientplan.

integer

Required

ResponsibleEmployeeId

The responsible employee of the clientplan.

Identity

Required

Request Formats

application/json, text/json

Sample:
{
  "BasicInformationInfo": {
    "$id": "2",
    "TypeId": 1,
    "Name": "sample string 2",
    "IsVisible": true
  },
  "QuestionnaireInfo": {
    "$ref": "2"
  },
  "CareplanInfo": {
    "$ref": "2"
  },
  "OmahaSystemInfo": {
    "$ref": "2"
  },
  "AgreementsInfo": {
    "$ref": "2"
  },
  "PrimaryCareInfo": {
    "$ref": "2"
  },
  "InvoluntaryCareInfo": {
    "$ref": "2"
  },
  "WorkplanInfo": {
    "$ref": "2"
  },
  "Id": 1,
  "ClientId": {
    "$id": "3",
    "Identifier": "sample string 1",
    "Type": 0
  },
  "StartDate": "2026-05-26T21:09:13.837969+02:00",
  "EndDate": "2026-05-26T21:09:13.837969+02:00",
  "CareDemandsRequired": true,
  "SectorName": "sample string 4",
  "Name": "sample string 5",
  "TypeId": 6,
  "VisionModelName": "sample string 7",
  "ResponsibleEmployeeName": "sample string 8",
  "SectorId": 9,
  "VisionModelId": 10,
  "ResponsibleEmployeeId": {
    "$ref": "3"
  }
}

application/xml, text/xml

Sample:
<ClientplanV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Clientplan">
  <CareDemandsRequired>true</CareDemandsRequired>
  <ClientId 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>
  </ClientId>
  <EndDate>2026-05-26T21:09:13.837969+02:00</EndDate>
  <Id>1</Id>
  <Name>sample string 5</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>
  <ResponsibleEmployeeName>sample string 8</ResponsibleEmployeeName>
  <SectorId>9</SectorId>
  <SectorName>sample string 4</SectorName>
  <StartDate>2026-05-26T21:09:13.837969+02:00</StartDate>
  <TypeId>6</TypeId>
  <VisionModelId>10</VisionModelId>
  <VisionModelName>sample string 7</VisionModelName>
  <AgreementsInfo>
    <IsVisible>true</IsVisible>
    <Name>sample string 2</Name>
    <TypeId>1</TypeId>
  </AgreementsInfo>
  <BasicInformationInfo>
    <IsVisible>true</IsVisible>
    <Name>sample string 2</Name>
    <TypeId>1</TypeId>
  </BasicInformationInfo>
  <CareplanInfo>
    <IsVisible>true</IsVisible>
    <Name>sample string 2</Name>
    <TypeId>1</TypeId>
  </CareplanInfo>
  <InvoluntaryCareInfo>
    <IsVisible>true</IsVisible>
    <Name>sample string 2</Name>
    <TypeId>1</TypeId>
  </InvoluntaryCareInfo>
  <OmahaSystemInfo>
    <IsVisible>true</IsVisible>
    <Name>sample string 2</Name>
    <TypeId>1</TypeId>
  </OmahaSystemInfo>
  <PrimaryCareInfo>
    <IsVisible>true</IsVisible>
    <Name>sample string 2</Name>
    <TypeId>1</TypeId>
  </PrimaryCareInfo>
  <QuestionnaireInfo>
    <IsVisible>true</IsVisible>
    <Name>sample string 2</Name>
    <TypeId>1</TypeId>
  </QuestionnaireInfo>
  <WorkplanInfo>
    <IsVisible>true</IsVisible>
    <Name>sample string 2</Name>
    <TypeId>1</TypeId>
  </WorkplanInfo>
</ClientplanV2>

Response Information

Resource Description

Returns the HttpResponseMessage which contains the saved clientplan instance

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None

Content

HttpContent

None

StatusCode

HttpStatusCode

None

ReasonPhrase

string

None

Headers

Collection of Object

None

RequestMessage

HttpRequestMessage

None

IsSuccessStatusCode

boolean

None