Quotas and Allocations

Find available slots and manage quotas for therapies (Work Procedures) at various stages (Work Types) across multiple treatment centers.
See Advanced Therapy Management in
Salesforce Help
for details on quotas, allocations and slot management.
Resource
1/connect/health/advanced-therapy-management/quotas-and-allocations
Resource example
1https://yourInstance.salesforce.com/services/data/v66.0/connect/health/advanced-therapy-management/quotas-and-allocations
Available version
60.0
HTTP method
POST
Request body for POST
Root XML tag
<quotasAndAllocations>
JSON example
1{
2          "contextId": "0Wwxx000000003FCAQ",
3          "endDate": "2023-12-01T02:29:59.000Z",
4          "leadTimeMap": {
5            "08qxx0000004CSRAA2": 2,
6            "08qxx0000004CSQAA2": 30,
7            "08qxx0000004CSOAA2": 3,
8            "08qxx0000004CSPAA2": 2
9          },
10          "siteId": "0Hhxx0000004CQmCAM",
11          "startDate": "2023-11-15T02:30:00.000Z",
12          "workProcedureId": "0uVxx00000000G9EAI",
13          "workTypeId": "08qxx0000004CSPAA2"
14   }
Properties
Name Type Description Required or Optional Available Version
contextId String ID of the program enrollee, a case or an opportunity used for slot searching. Optional 60.0
endDate String End date and time of slot searching. Optional 60.0
leadTimeMap String Lead time map of work type to lead time. Optional 60.0
siteId String Work procedure organization used for slot searching. Optional 60.0
startDate String Start date and time of slot searching. Optional 60.0
workProcedureId String ID of the work procedure used for searching. Optional 60.0
workTypeId Map<String, Integer> ID of the work type used for slot searching. Optional 60.0
Response Body for POST
Quotas and Allocations