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 |
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": "6cfb07fb-1694-43b0-b096-07b99195df77",
"RoleName": "sample string 6",
"StartDate": "2026-05-26T21:11:05.9787837+02:00",
"EndDate": "2026-05-26T21:11:05.9787837+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:05.9787837+02:00</EndDate> <RelationId>3</RelationId> <RelationName>sample string 4</RelationName> <RoleId>6cfb07fb-1694-43b0-b096-07b99195df77</RoleId> <RoleName>sample string 6</RoleName> <StartDate>2026-05-26T21:11:05.9787837+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 |
None |
|
| Content | HttpContent |
None |
|
| StatusCode | HttpStatusCode |
None |
|
| ReasonPhrase | string |
None |
|
| Headers | Collection of Object |
None |
|
| RequestMessage | HttpRequestMessage |
None |
|
| IsSuccessStatusCode | boolean |
None |