Create Care Plan Tasks
Create tasks for the benefits, goals and also at a care plan level.
- Resource
-
/connect/careplan/care-plans/${carePlanId}/tasks
- Resource example
-
https://yourInstance.salesforce.com/services/data/v56.0/connect/careplan/care-plans/carePlanId/tasks
- Available version
- 56.0
- HTTP methods
- POST
- Request parameters for POST
-
- Root XML tag
- <CarePlanTasksInputRepresentation>
- JSON example
-
{ "tasks": { "records": [ { "subject": "Update CP Edit GOAL ASSIGNEMENT Task 990", "dueDate": "2023-19-08T00:00:00.000Z", "status": "Not Started", "priority": "Low", "comment": "Update CP Edit GOAL ASSIGNEMENT Task 990", "assignedTo": "005xx000001YkA1AAK", "id": "00Txx000003rMTcEAM" } ] } }
- 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 POST
- Create Care Plan Task Output