Newer Version Available

This content describes an older version of this product. View Latest

Update Care Plan Tasks

Resource for updating care plan task.
Resource
1/connect/careplan/care-plans/carePlanId/tasks
Resource example
1https://yourInstance.salesforce.com/services/data/v56.0/connect/careplan/care-plans/carePlanId/tasks
Available version
56.0
HTTP methods
PATCH
Request parameters for PATCH
Root XML tag
<CarePlanTasksInputRepresentation>
JSON example
1{
2  "tasks": {
3    "records": [
4      {
5        "subject": "Update CP Edit GOAL ASSIGNEMENT Task 990",
6        "dueDate": "2023-19-08T00:00:00.000Z",
7        "status": "Not Started",
8        "priority": "Low",
9        "comment": "Update CP Edit GOAL ASSIGNEMENT Task 990",
10        "assignedTo": "005xx000001YkA1AAK",
11        "id": "00Txx000003rMTcEAM"
12      }
13    ]
14  }
15}
Properties
Parameter Name Type Description Required or Optional Available Version
carePlanId String ID of the care plan or case for a given care team. Required 56.0
subject String Subject of the task assigned to the care plan. Optional 56.0
dueDate String Due date of the task assigned to the care plan. Optional 56.0
status String Status of the task assigned to the care plan, such as In Progress or Completed. Optional 56.0
priority String Priority of the task assigned to the care plan. Optional 56.0
comment String Comments made on the care plan task. Optional 56.0
assignedTo String ID of the user who is assigned the task. Optional 56.0
id String ID of the task record assigned to the care plan. Optional 56.0
Response body for PATCH
Update Care Plan Task Output