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

NameDescriptionTypeAdditional information
clientplanId

The clientplan Id.

integer

Required

Body Parameters

The agreement to update

ChangeOfClientplanAgreement
NameDescriptionTypeAdditional 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

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Er is een uitzondering opgetreden van het type System.OutOfMemoryException.

Response Information

Resource Description

The updated Agreement

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