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

NameDescriptionTypeAdditional information
clientplanId

The clientplan Id.

integer

Required

Body Parameters

The Responsible Person to save in the client plan.

ResponsiblePerson
NameDescriptionTypeAdditional information
CorrelationId

The correlation id.

integer

None

ClientplanId

The clientplan id.

integer

None

RelationId

The relation id.

integer

None

RelationName

The relation name.

string

None

RoleId

The role id.

globally unique identifier

None

RoleName

The role name.

string

None

StartDate

The start date.

date

None

EndDate

The end date.

date

None

Request Formats

application/json, text/json

Sample:
{
  "CorrelationId": 1,
  "ClientplanId": 2,
  "RelationId": 3,
  "RelationName": "sample string 4",
  "RoleId": "d8c3a39c-c5df-4549-8d2f-ba0d13debd52",
  "RoleName": "sample string 6",
  "StartDate": "2026-05-26T23:13:56.2129654+02:00",
  "EndDate": "2026-05-26T23:13:56.2129654+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-26T23:13:56.2129654+02:00</EndDate>
  <RelationId>3</RelationId>
  <RelationName>sample string 4</RelationName>
  <RoleId>d8c3a39c-c5df-4549-8d2f-ba0d13debd52</RoleId>
  <RoleName>sample string 6</RoleName>
  <StartDate>2026-05-26T23:13:56.2129654+02:00</StartDate>
</ResponsiblePerson>

Response Information

Resource Description

Returns the HttpResponseMessage which contains the saved Responsible Person 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