---
schema_version: "1"
id: c268af5edbda53c11384462416705a5ea5976e54addd17bad32954003f85a5ef
title: Quotas and Allocation Input
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/connect_requests_quotas_allocation_input.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/connect_requests_quotas_allocation_input.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5422f18b23fd79f1cd64887ab6b67b6f5357bc854f86bad26fe8518da8245955
description: Input representation of available slots for quotas and allocation.
---
# Quotas and Allocation Input

Input representation of available slots for quotas and allocation.

## 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 |