---
schema_version: "1"
id: 5dfa62d221fd17bc47de410119ef3b19e7fd35b61d902efe08599d596a1c44a8
title: CancelAppointmentResponse Class
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/health_cloud_object_reference/apex_class_healthcloudext_CancelAppointmentResponse.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_CancelAppointmentResponse.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 590ee917db0a7ef2f09f7a4fa6eaf70c7839f9a587b891efac76f9c8648b21c6
description: Represents the appointment cancellation details from the external scheduling system.Represents the appointment identifier from the external scheduling system.Represents the response from the external scheduling system encoded as JSON.Represents the ID of the service appointment that you want to update.Represents the status of the healthcare appointment.
---
# CancelAppointmentResponse Class

Represents the appointment cancellation details from the external scheduling system.

## Namespace

[healthcloudext](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_namespace_healthcloudext.htm "The HealthCloudExt namespace provides an interface and classes for Health Cloud to integrate with a source electronic health records (EHR) system.")

- **[CancelAppointmentResponse Properties](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_CancelAppointmentResponse.htm#apex_healthcloudext_CancelAppointmentResponse_properties)**

## CancelAppointmentResponse Properties

The following are properties for CancelAppointmentResponse.

- **[externalAppointmentId](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_CancelAppointmentResponse.htm#apex_healthcloudext_CancelAppointmentResponse_externalAppointmentId)**  
    Represents the appointment identifier from the external scheduling system.
- **[jsonResponse](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_CancelAppointmentResponse.htm#apex_healthcloudext_CancelAppointmentResponse_jsonResponse)**  
    Represents the response from the external scheduling system encoded as JSON.
- **[serviceAppointmentId](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_CancelAppointmentResponse.htm#apex_healthcloudext_CancelAppointmentResponse_serviceAppointmentId)**  
    Represents the ID of the service appointment that you want to update.
- **[status](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_class_healthcloudext_CancelAppointmentResponse.htm#apex_healthcloudext_CancelAppointmentResponse_status)**  
    Represents the status of the healthcare appointment.

### externalAppointmentId

Represents the appointment identifier from the external scheduling system.

#### Signature

public String externalAppointmentId {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

### jsonResponse

Represents the response from the external scheduling system encoded as JSON.

#### Signature

public String jsonResponse {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

### serviceAppointmentId

Represents the ID of the service appointment that you want to update.

#### Signature

public String serviceAppointmentId {get; set;}

#### Property Value

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

### status

Represents the status of the healthcare appointment.

#### Signature

public healthcloudext.BookingStatus status {get; set;}

#### Property Value

Type: [healthcloudext.BookingStatus](https://developer.salesforce.com/docs/atlas.en-us.health_cloud_object_reference.meta/health_cloud_object_reference/apex_enum_healthcloudext_BookingStatus.htm "Represents a possible status of a healthcare appointment.")