POST PlanCare2Api/ClientplansV2/{clientplanId}/ClientplanAgreements/ChangeOfClientplanAgreement
Updates a Clientplan V2 Agreement.
Requires 'Edit' 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 agreement to update
ChangeOfClientplanAgreement| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The internal id of the agreement |
integer |
Required |
| Name |
The name of the agreement |
string |
Required |
| Description |
The description of the agreement |
string |
None |
| ClientId |
The internal id of the client |
integer |
None |
| ClientName |
The name of the client |
string |
None |
| DomainId |
The domain id related to the agreement |
integer |
None |
| DomainName |
The domainname related to the agreement. For readonly purposes. |
string |
None |
| IsVisibleToAllDisciplines |
Defines to whom the agreement is available True: The agreement is available for all disciplines False: The agreement is only available for defined disciplines |
boolean |
Required |
| AvailableForDisciplines |
The Disciplines for whom the agreement is available |
Collection of Discipline |
None |
| StartDate |
Startdate of the agreement |
date |
None |
| EndDate |
Enddate of the agreement |
date |
None |
| StatusDate |
The Statusdate when the state was set of the agreement |
date |
None |
| StatusDescription |
The state of the agreement. For readonly purposes. |
string |
None |
Request Formats
application/json
text/json
application/xml
text/xml
Response Information
Resource Description
The updated Agreement
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 |