POST PlanCare2Api/WorkplansV2/{actionId}/ChangeOfAction

Update an action.

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

Request Information

URI Parameters

Name Description Type Additional information
actionId

string

-

Body Parameters

ChangeOfWorkplanActionV2
Name Description Type Additional information
ActionId

The identifier of the Action.

integer

Required

Name

The name of the Action.

string

Required

WorkTypeId

The worktype id of the Action.

integer

Nullable

DisciplineId

The id of the Discipline.

integer

-

Remarks

Additional information about the Action.

string

-

IsCompleted

The completed status of the Action.

boolean

-

ResultDate

The planned result date.

date

Nullable

ExecutiveIds

List of ids of relations who are executor of the Action.

Collection of integer

-

Request Formats

application/json, text/json

Sample:
{
  "ActionId": 1,
  "Name": "sample string 2",
  "WorkTypeId": 1,
  "DisciplineId": 3,
  "Remarks": "sample string 4",
  "IsCompleted": true,
  "ResultDate": "2026-05-26T21:10:49.0314908+02:00",
  "ExecutiveIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<ChangeOfWorkplanActionV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DHS.PlanCare.Web.Api.Interface.Clientplan">
  <ActionId>1</ActionId>
  <DisciplineId>3</DisciplineId>
  <ExecutiveIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </ExecutiveIds>
  <IsCompleted>true</IsCompleted>
  <Name>sample string 2</Name>
  <Remarks>sample string 4</Remarks>
  <ResultDate>2026-05-26T21:10:49.0314908+02:00</ResultDate>
  <WorkTypeId>1</WorkTypeId>
</ChangeOfWorkplanActionV2>

Response Information

Resource Description

Metadata of the action.

HttpResponseMessage
Name Description Type Additional information
Version

Version

-

Content

HttpContent

-

StatusCode

HttpStatusCode

-

ReasonPhrase

string

-

Headers

Collection of Object

-

RequestMessage

HttpRequestMessage

-

IsSuccessStatusCode

boolean

-