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 |
None |
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 |
None |
| DisciplineId |
The id of the Discipline. |
integer |
None |
| Remarks |
Additional information about the Action. |
string |
None |
| IsCompleted |
The completed status of the Action. |
boolean |
None |
| ResultDate |
The planned result date. |
date |
None |
| ExecutiveIds |
List of ids of relations who are executor of the Action. |
Collection of Identity |
None |
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-26T22:08:32.3537481+02:00",
"ExecutiveIds": [
{
"$id": "2",
"Identifier": "sample string 1",
"Type": 0
},
{
"$ref": "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.datacontract.org/2004/07/DHS.PlanCare.Web.Common.Infrastructure">
<d2p1:Identity>
<d2p1:Identifier>sample string 1</d2p1:Identifier>
<d2p1:Type>ExternalId</d2p1:Type>
</d2p1:Identity>
<d2p1:Identity>
<d2p1:Identifier>sample string 1</d2p1:Identifier>
<d2p1:Type>ExternalId</d2p1:Type>
</d2p1:Identity>
</ExecutiveIds>
<IsCompleted>true</IsCompleted>
<Name>sample string 2</Name>
<Remarks>sample string 4</Remarks>
<ResultDate>2026-05-26T22:08:32.3537481+02:00</ResultDate>
<WorkTypeId>1</WorkTypeId>
</ChangeOfWorkplanActionV2>
Response Information
Resource Description
Metadata of the action.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None |
|
| Content | HttpContent |
None |
|
| StatusCode | HttpStatusCode |
None |
|
| ReasonPhrase | string |
None |
|
| Headers | Collection of Object |
None |
|
| RequestMessage | HttpRequestMessage |
None |
|
| IsSuccessStatusCode | boolean |
None |