Care Plan Templates (POST)

Create care plan template records. Associate the benefits and goals with the care plan template.
Resource
/connect/careplan/careplan-templates/${carePlanTemplateId}/actions/${actionType}
Resource example
https://yourInstance.salesforce.com/services/data/vXX.X
/connect/careplan/careplan-templates/${carePlanTemplateId}/actions/${actionType}
Available version
55.0
Requires Chatter
No
HTTP methods
POST
Request body for POST
Root XML tag
<CarePlanTemplateAssociationsInput>
JSON example
{
  "carePlanTemplateGoals": {
    "records": [
      {
        "goalDefinitionId": "1gdRN0000000006YAA",
        "priority": "High"
      },
      {
        "goalDefinitionId": "1gdRN0000000001YAA",
        "priority": "Medium"
      },
      {
        "goalDefinitionId": "1gdRN000000000GYAQ",
        "priority": "Low"
      }
    ]
  },
  "carePlanTemplateBenefits": {
    "records": [
      {
        "benefitId": "0jiRN000000000kYAA",
        "priority": "High"
      },
      {
        "benefitId": "0jiRN000000000fYAA",
        "priority": "Low"
      }
    ]
  }
}
Properties
Name Type Description Required or Optional Available Version
carePlanTemplate​Benefits Care Plan Template Benefit Input[] Represents a junction between a care plan template and a benefit. This object stores the benefit details of a care plan template. Optional 55.0
carePlanTemplate​Goals Care Plan Template Goal Input[] Represents a junction between a care plan template and a goal definition. This object stores the goal details of a care plan template. Optional 55.0
Response body for POST
Generic Output