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 

Replace {yourInstance} with the My Domain name of your Salesforce org.

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/health/advanced-therapy-management/quotas-and-allocations

Available Version 

60.0

HTTP Method 

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 

NameTypeDescriptionRequired or OptionalAvailable Version
contextIdStringID of the program enrollee, a case or an opportunity used for slot searching.Optional60.0
endDateStringEnd date and time of slot searching.Optional60.0
leadTimeMapStringLead time map of work type to lead time.Optional60.0
siteIdStringWork procedure organization used for slot searching.Optional60.0
startDateStringStart date and time of slot searching.Optional60.0
workProcedureIdStringID of the work procedure used for searching.Optional60.0
workTypeIdMap<String, Integer>ID of the work type used for slot searching.Optional60.0

Response Body for POST 

Quotas and Allocations