POST PlanCare2Api/WorkplansV2/{subGoalId}/ChangeOfSubGoal

Update a subgoal.

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

Request Information

URI Parameters

Name Description Type Additional information
subGoalId

string

-

Body Parameters

ChangeOfWorkplanSubGoalV2
Name Description Type Additional 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

Nullable

WorkplanId

The id of the Workplan.

integer

Required

Remarks

Additional information about the SubGoal.

string

-

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
Name Description Type Additional information
Version

Version

-

Content

HttpContent

-

StatusCode

HttpStatusCode

-

ReasonPhrase

string

-

Headers

Collection of Object

-

RequestMessage

HttpRequestMessage

-

IsSuccessStatusCode

boolean

-