PUT api/appointment/cancel/{id}
Cancel an appointment by id if it exists.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
the appointment id |
integer |
Required |
Body Parameters
The cancellation details, including reason of cancellation
Dezrez.Core.DataContracts.External.Api.Events.Appointments.Command.CancelAppointmentCommandDataContractName | Description | Type | Additional information |
---|---|---|---|
ReasonForCancellation | string |
None. |
|
CancelSeries | boolean |
None. |
|
Id | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{ "ReasonForCancellation": "sample string 1", "CancelSeries": true, "Id": 3 }
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |