DELETE api/Viewing/{id}
Cancel a viewing appointment by id if it exists.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
the viewing appointment id |
integer |
Required |
Body Parameters
The cancellation details, including reason of cancellation
DeleteAppointmentCommandDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| ReasonForDeletion | string |
None. |
|
| Id | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
{
"ReasonForDeletion": "sample string 1",
"Id": 2
}
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |