AppointmentInsightsResult Class

Represents the response returned by the getAppointmentInsights method. AppointmentInsightsResult includes details about why a service appointment can’t be added to the Gantt, including resource availability, blocked slots, and applicable blocking rules.

Namespace 

FSL

Example 

This code block represents the output of the getAppointmentInsights method from the Appointment Insights API. It provides a detailed result of an appointment insight operation. The result indicates there are no slots blocked.

1AppointmentInsightsResult:[
2blockedSlots=0, 
3blockingRules=(BlockingRule:[
4    ruleName=Due Date, 
5    slotsBlockedByMultipleRules=0, 
6    slotsBlockedByRule=0
7]), 
8horizonEndDate=2024-06-06 14:00:00, 
9horizonStartDate=2024-05-27 14:00:00, 
10operationTimeStamp=2024-06-16 14:00:53, 
11policyId=a0c8B00000638CMQAY, 
12resourcesEvaluated=0, 
13serviceAppointmentId=08p8B000000jCjBQAU, 
14serviceTerritoryId=0Hh8B000000HrctSAC
15]