POST PlanCare2Api/ClientplansV2/{clientplanId}/Careplans/{careplanId}/Domains/{domainId}/CareDemands/{careDemandId}/Goals/ChangeOfGoalV2

Updates an existing goal.

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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientplanId

The client plan V2 ID.

integer

Required

careplanId

The careplan ID.

integer

Required

domainId

The vision model domain ID.

integer

Required

careDemandId

The care demand ID.

integer

Required

Body Parameters

The goal to save

ChangeOfGoalV2
NameDescriptionTypeAdditional information
AggregateId

The aggregateId of the goal.

globally unique identifier

Required

Id

The id of the goal.

integer

Deprecated: Please use 'AggregateId' instead.

CareDemandName

The name of the CareDemand.

string

Required

CareDemandId

The id of the CareDemand.

integer

Required

CareDemandExplanation

The remarks of the CareDemand

string

None

TemplateGoalId

The id of the TemplateGoal.

integer

None

PreviousGoalId

The id of the previous Goal.

integer

None

QuestionnaireGoalId

The id of the QuestionnaireGoal.

integer

None

StartDate

The start date of the Goal.

date

None

EndDate

The end date of the Goal.

date

None

Name

The name of the Goal.

string

Required

Status

The state of the Goal.

string

None

StatusDescription

The description of the state of the Goal.

string

None

StatusDate

The status date of the Goal.

date

None

InitialSituation

The initial situation.

string

None

TargetSituation

The target situation.

string

None

DisciplineIds

The ids of the disciplines.

Collection of integer

None

DisciplineGroupIds

The ids of the discipline groups.

Collection of integer

None

LatestScore

The latest score of the Goal.

Score

None

MainGoalId

The id of the MainGoal

globally unique identifier

None

MainGoal

The name of the MainGoal

string

None

Request Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.

Response Information

Resource Description

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