Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Schedule Group Visits Action
This action is available in API version 60.0 and later.
Special Access Rules
The Schedule Group Visits action is available in Enterprise and Unlimited Editions with Health Cloud enabled with the Home Health setting.
Supported REST HTTP Methods
- URI
- /services/data/v67.0/actions/standard/scheduleGroupVisits
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| schedulingPolicyId |
|
| appointmentBundlePolicyId |
|
| workTypeId |
|
| serviceTerritoryId |
|
| firstVisitStartDateTime |
|
| firstVisitEndDateTime |
|
| operatingHoursId |
|
| skillsIdsList |
|
| isRecurringVisit |
|
| recurrenceFrequencyType |
|
| recurringDaysList |
|
| visitsRequired |
|
| groupVisitAddress |
|
| clinicalServiceRequestIdsList |
|
Outputs
None.
Example
- POST
-
This sample request is for the Schedule Group Visits action.
1{ 2 "inputs" : [ 3 { 4 "schedulingPolicyId" : "001SG000005OtxxYA0", 5 "appointmentBundlePolicyId" : "0jyxx0000000001AAA", 6 ."workTypeId" : "0jyxx0000000001AAA", 7 "serviceTerritoryId" : "0HxxG00000015dZ0AQ", 8 "serviceTerritoryId" : "0HxxG00000015dZ0AQ", 9 "firstVisitStartDateTime" : "2024-03-16T07:00:00.000Z", 10 "isRecurringVisit" : "false", 11 "operatingHoursId" : "0OHxx0000004CKKGA2", 12 "recurrenceFrequencyType" : "WEEKLY", 13 "recurringDaysList" : "Monday, Thursday", 14 "clinicalServiceRequestIdsList" :["0jxxG0000000b1BYAQ","0jyxx0000000b1KYAQ"], 15 "groupVisitAddress" :{ "city" : "Hyderabad" } 16 } 17 ] 18}This sample response is for the Schedule Group Visits action.
1[ { 2 "actionName" : "scheduleGroupVisits", 3 "errors" : null, 4 "isSuccess" : true, 5 "outputValues" : { 6 "careServiceVisitPlanId": "null" 7 "bundleStatusMessage": "Group visit request has been submitted" 8 }, 9 "version" : 1 10} ]