---
schema_version: "1"
id: 6035abb6dd3b6e2fb2ae90f705326ee6173be8cddc13c04b70c917dee7ecaaba
title: Retrieve the getAppointmentSlots API Payload for Troubleshooting
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/ls_retrieve_getappointmentslots_api_payload.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.ls_retrieve_getappointmentslots_api_payload.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 8c555e292a18e9b52af342b949757855b26aa217ee4b970506b0f38419d4ce95
description: To identify the reasons for unavailable time slots while scheduling an appointment, retrieve the value in the params parameter from the getAppointmentSlots request API payload.
products:
  - Scheduler
  - Salesforce Platform
release: "264"
---
# Retrieve the getAppointmentSlots API Payload for Troubleshooting

To identify the reasons for unavailable time slots while scheduling an appointment, retrieve the value in the params parameter from the getAppointmentSlots request API payload.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions</td></tr></tbody></table>

1. While scheduling an [outbound appointment](https://help.salesforce.com/s/articleView?id=platform.ls_create_appointments_ls.htm&release=264.0.0&type=5 "A regular appointment represents a meeting—in person, or by phone or video—with a customer and an assigned resource or resources. A group appointment represents a meeting where you can add multiple person account, lead, or contact records as attendees."), on the page previous to the Select Service Appointment Time page, in the browser context menu, click **Inspect**.
2. In the Schedule Appointment dialog box, click **Next**.
3. In the browser context, click **Network**, and the click **Payload**.
4. Copy the value in the params parameter.
    
    Use this value as the API request in the Salesforce Scheduler Troubleshooter to identify reasons for missing time slots. For more information, see [Identify Missing Time Slots](https://help.salesforce.com/s/articleView?id=platform.ls_troubleshoot_unavailable_time_slots.htm&release=264.0.0&type=5 "While scheduling an appointment when you can’t find a specific time slot, you can look into the reason, such as the service resource is already booked or doesn’t have the required skills.").
    
    ![Browser context Inspect element showing getappointmentslots API payload](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-scheduler-264-0-0-production-enus/0530be2f-891f-4263-a0d7-96ddca56a717/scheduler/images/ls_copy_getappointmentslots_api_payload.jpg)

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-scheduler-264-0-0-production-enus/0530be2f-891f-4263-a0d7-96ddca56a717/images/icon_example.png)

Example Sample payload for an API request.

```
{
  "parentRecordId":"001Z6000002G3srIAC",
  "workTypeGroupId":"0VSZ60000000001OAA",
  "workType":null,
  "requiredResourceIds":[
    "0HnZ60000000001KAA"
  ],
  "primaryResourceId":null,
  "territoryIds":[
    "0HhZ60000000001KAA"
  ],
  "startTime":"2023-11-08T10:49:11.986Z",
  "endTime":"2023-11-19T08:00:00.987Z",
  "allowConcurrentScheduling":true,
  "engagementChannelTypeIds":null
}
```