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

/connect/health/advanced-therapy-management/quotas-and-allocations

Resource Example

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

https://{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

{
          "contextId": "0Wwxx000000003FCAQ",
          "endDate": "2023-12-01T02:29:59.000Z",
          "leadTimeMap": {
            "08qxx0000004CSRAA2": 2,
            "08qxx0000004CSQAA2": 30,
            "08qxx0000004CSOAA2": 3,
            "08qxx0000004CSPAA2": 2
          },
          "siteId": "0Hhxx0000004CQmCAM",
          "startDate": "2023-11-15T02:30:00.000Z",
          "workProcedureId": "0uVxx00000000G9EAI",
          "workTypeId": "08qxx0000004CSPAA2"
   }

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