POST PlanCare2Api/WorkplansV2/{subGoalId}/ChangeOfSubGoal

Update a subgoal.

Requires 'Start' permission for function WorkplanOverview {E5355268-B1D3-4447-B43B-B5DE20B8ADD8}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subGoalId

string

None

Body Parameters

ChangeOfWorkplanSubGoalV2
NameDescriptionTypeAdditional information
SubGoalId

The identifier of the SubGoal.

integer

Required

Name

The name of the SubGoal.

string

Required

WorkTypeId

The worktype id of the SubGoal.

integer

None

WorkplanId

The id of the Workplan.

integer

Required

Remarks

Additional information about the SubGoal.

string

None

Request Formats

application/json, text/json

Sample:
{
  "SubGoalId": 1,
  "Name": "sample string 2",
  "WorkTypeId": 1,
  "WorkplanId": 3,
  "Remarks": "sample string 4"
}

application/xml, text/xml

Sample:
<ChangeOfWorkplanSubGoalV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Clientplan">
  <Name>sample string 2</Name>
  <Remarks>sample string 4</Remarks>
  <SubGoalId>1</SubGoalId>
  <WorkTypeId>1</WorkTypeId>
  <WorkplanId>3</WorkplanId>
</ChangeOfWorkplanSubGoalV2>

Response Information

Resource Description

Metadata of subgoal.

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