POST PlanCare2Api/ClientplansV2/{clientplanId}/ResponsiblePersons

Create a new Responsible Person and add it to the clientplan.

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

Request Information

URI Parameters

Name Description Type Additional information
clientplanId

The clientplan Id.

integer

Required

Body Parameters

The Responsible Person to save in the client plan.

ResponsiblePerson
Name Description Type Additional information
CorrelationId

The correlation id.

integer

-

ClientplanId

The clientplan id.

integer

-

RelationId

The relation id.

integer

-

RelationName

The relation name.

string

-

RoleId

The role id.

globally unique identifier

-

RoleName

The role name.

string

-

StartDate

The start date.

date

Nullable

EndDate

The end date.

date

Nullable

Request Formats

application/json, text/json

Sample:
{
  "CorrelationId": 1,
  "ClientplanId": 2,
  "RelationId": 3,
  "RelationName": "sample string 4",
  "RoleId": "90696cb5-b879-420a-92d4-7dd5b5c49fb7",
  "RoleName": "sample string 6",
  "StartDate": "2026-05-26T21:11:52.0174477+02:00",
  "EndDate": "2026-05-26T21:11:52.0174477+02:00"
}

application/xml, text/xml

Sample:
<ResponsiblePerson xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Clientplan">
  <ClientplanId>2</ClientplanId>
  <CorrelationId>1</CorrelationId>
  <EndDate>2026-05-26T21:11:52.0174477+02:00</EndDate>
  <RelationId>3</RelationId>
  <RelationName>sample string 4</RelationName>
  <RoleId>90696cb5-b879-420a-92d4-7dd5b5c49fb7</RoleId>
  <RoleName>sample string 6</RoleName>
  <StartDate>2026-05-26T21:11:52.0174477+02:00</StartDate>
</ResponsiblePerson>

Response Information

Resource Description

Returns the HttpResponseMessage which contains the saved Responsible Person instance.

HttpResponseMessage
Name Description Type Additional information
Version

Version

-

Content

HttpContent

-

StatusCode

HttpStatusCode

-

ReasonPhrase

string

-

Headers

Collection of Object

-

RequestMessage

HttpRequestMessage

-

IsSuccessStatusCode

boolean

-